From 6eb915c129fc90c6f4c82ae097dd6ffad5239efc Mon Sep 17 00:00:00 2001 From: chai Date: Mon, 25 Jan 2021 14:28:30 +0800 Subject: +scripts --- .../XMainClient/KKSG/BattleStatisticsNtf.cs | 84 ++++++++++++++++++++++ 1 file changed, 84 insertions(+) create mode 100644 Client/Assets/Scripts/XMainClient/KKSG/BattleStatisticsNtf.cs (limited to 'Client/Assets/Scripts/XMainClient/KKSG/BattleStatisticsNtf.cs') diff --git a/Client/Assets/Scripts/XMainClient/KKSG/BattleStatisticsNtf.cs b/Client/Assets/Scripts/XMainClient/KKSG/BattleStatisticsNtf.cs new file mode 100644 index 00000000..de957bee --- /dev/null +++ b/Client/Assets/Scripts/XMainClient/KKSG/BattleStatisticsNtf.cs @@ -0,0 +1,84 @@ +using System; +using System.Collections.Generic; +using ProtoBuf; + +namespace KKSG +{ + [ProtoContract(Name = "BattleStatisticsNtf")] + [Serializable] + public class BattleStatisticsNtf : IExtensible + { + [ProtoMember(1, Name = "skillID", DataFormat = DataFormat.TwosComplement)] + public List skillID + { + get + { + return this._skillID; + } + } + + [ProtoMember(2, Name = "skillCount", DataFormat = DataFormat.TwosComplement)] + public List skillCount + { + get + { + return this._skillCount; + } + } + + [ProtoMember(3, Name = "skillValue", DataFormat = DataFormat.TwosComplement)] + public List skillValue + { + get + { + return this._skillValue; + } + } + + [ProtoMember(4, Name = "mobID", DataFormat = DataFormat.TwosComplement)] + public List mobID + { + get + { + return this._mobID; + } + } + + [ProtoMember(5, Name = "mobCount", DataFormat = DataFormat.TwosComplement)] + public List mobCount + { + get + { + return this._mobCount; + } + } + + [ProtoMember(6, Name = "mobValue", DataFormat = DataFormat.TwosComplement)] + public List mobValue + { + get + { + return this._mobValue; + } + } + + private readonly List _skillID = new List(); + + private readonly List _skillCount = new List(); + + private readonly List _skillValue = new List(); + + private readonly List _mobID = new List(); + + private readonly List _mobCount = new List(); + + private readonly List _mobValue = new List(); + + private IExtension extensionObject; + + IExtension IExtensible.GetExtensionObject(bool createIfMissing) + { + return Extensible.GetExtensionObject(ref this.extensionObject, createIfMissing); + } + } +} -- cgit v1.1-26-g67d0