From 6eb915c129fc90c6f4c82ae097dd6ffad5239efc Mon Sep 17 00:00:00 2001 From: chai Date: Mon, 25 Jan 2021 14:28:30 +0800 Subject: +scripts --- .../Assets/Scripts/XMainClient/MobaMemberData.cs | 45 ++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 Client/Assets/Scripts/XMainClient/MobaMemberData.cs (limited to 'Client/Assets/Scripts/XMainClient/MobaMemberData.cs') diff --git a/Client/Assets/Scripts/XMainClient/MobaMemberData.cs b/Client/Assets/Scripts/XMainClient/MobaMemberData.cs new file mode 100644 index 00000000..246b8220 --- /dev/null +++ b/Client/Assets/Scripts/XMainClient/MobaMemberData.cs @@ -0,0 +1,45 @@ +using System; +using XUtliPoolLib; + +namespace XMainClient +{ + internal class MobaMemberData + { + public bool isMy = false; + + public ulong uid; + + public string name = ""; + + public uint heroID; + + public uint attackLevel; + + public uint defenseLevel; + + public uint kill; + + public uint dead; + + public uint assist; + + public int exp; + + public uint level; + + public int levelUpExp; + + public uint additionPoint; + + public uint teamID; + + public float reviveTime; + + public MobaMemberData(ulong roleID, uint teamid) + { + this.uid = roleID; + this.teamID = teamid; + this.isMy = (XSingleton.singleton.XPlayerData != null && XSingleton.singleton.XPlayerData.RoleID == roleID); + } + } +} -- cgit v1.1-26-g67d0