From 6eb915c129fc90c6f4c82ae097dd6ffad5239efc Mon Sep 17 00:00:00 2001 From: chai Date: Mon, 25 Jan 2021 14:28:30 +0800 Subject: +scripts --- .../Scripts/XMainClient/KKSG/RoleGuildBonusData.cs | 51 ++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 Client/Assets/Scripts/XMainClient/KKSG/RoleGuildBonusData.cs (limited to 'Client/Assets/Scripts/XMainClient/KKSG/RoleGuildBonusData.cs') diff --git a/Client/Assets/Scripts/XMainClient/KKSG/RoleGuildBonusData.cs b/Client/Assets/Scripts/XMainClient/KKSG/RoleGuildBonusData.cs new file mode 100644 index 00000000..e810ce96 --- /dev/null +++ b/Client/Assets/Scripts/XMainClient/KKSG/RoleGuildBonusData.cs @@ -0,0 +1,51 @@ +using System; +using System.Collections.Generic; +using ProtoBuf; + +namespace KKSG +{ + [ProtoContract(Name = "RoleGuildBonusData")] + [Serializable] + public class RoleGuildBonusData : IExtensible + { + [ProtoMember(1, Name = "sentGuildBonus", DataFormat = DataFormat.Default)] + public List sentGuildBonus + { + get + { + return this._sentGuildBonus; + } + } + + [ProtoMember(2, Name = "gotGuildBonusDayNum", DataFormat = DataFormat.Default)] + public List gotGuildBonusDayNum + { + get + { + return this._gotGuildBonusDayNum; + } + } + + [ProtoMember(3, Name = "gotGuildBonusTotalNum", DataFormat = DataFormat.Default)] + public List gotGuildBonusTotalNum + { + get + { + return this._gotGuildBonusTotalNum; + } + } + + private readonly List _sentGuildBonus = new List(); + + private readonly List _gotGuildBonusDayNum = new List(); + + private readonly List _gotGuildBonusTotalNum = new List(); + + private IExtension extensionObject; + + IExtension IExtensible.GetExtensionObject(bool createIfMissing) + { + return Extensible.GetExtensionObject(ref this.extensionObject, createIfMissing); + } + } +} -- cgit v1.1-26-g67d0