using System; using System.Collections.Generic; using KKSG; namespace XMainClient { public class PkInfo { public uint percent { get { bool flag = this.win + this.lose == 0u; uint result; if (flag) { result = 100u; } else { bool flag2 = this.win == 0u; if (flag2) { result = 0u; } else { result = Math.Max(1u, 100u * this.win / (this.win + this.lose)); } } return result; } } public RoleSmallInfo brief; public uint win; public uint lose; public uint point; public List records; } }