diff options
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/MobaMemberData.cs')
-rw-r--r-- | Client/Assets/Scripts/XMainClient/MobaMemberData.cs | 45 |
1 files changed, 45 insertions, 0 deletions
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<XAttributeMgr>.singleton.XPlayerData != null && XSingleton<XAttributeMgr>.singleton.XPlayerData.RoleID == roleID);
+ }
+ }
+}
|