summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/KKSG/RewardChanged.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/KKSG/RewardChanged.cs')
-rw-r--r--Client/Assets/Scripts/XMainClient/KKSG/RewardChanged.cs40
1 files changed, 40 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/KKSG/RewardChanged.cs b/Client/Assets/Scripts/XMainClient/KKSG/RewardChanged.cs
new file mode 100644
index 00000000..ff37b5d7
--- /dev/null
+++ b/Client/Assets/Scripts/XMainClient/KKSG/RewardChanged.cs
@@ -0,0 +1,40 @@
+using System;
+using System.Collections.Generic;
+using ProtoBuf;
+
+namespace KKSG
+{
+ [ProtoContract(Name = "RewardChanged")]
+ [Serializable]
+ public class RewardChanged : IExtensible
+ {
+ [ProtoMember(1, Name = "AddedRewardInfo", DataFormat = DataFormat.Default)]
+ public List<RewardInfo> AddedRewardInfo
+ {
+ get
+ {
+ return this._AddedRewardInfo;
+ }
+ }
+
+ [ProtoMember(2, Name = "RemovedRewardUniqueId", DataFormat = DataFormat.TwosComplement)]
+ public List<ulong> RemovedRewardUniqueId
+ {
+ get
+ {
+ return this._RemovedRewardUniqueId;
+ }
+ }
+
+ private readonly List<RewardInfo> _AddedRewardInfo = new List<RewardInfo>();
+
+ private readonly List<ulong> _RemovedRewardUniqueId = new List<ulong>();
+
+ private IExtension extensionObject;
+
+ IExtension IExtensible.GetExtensionObject(bool createIfMissing)
+ {
+ return Extensible.GetExtensionObject(ref this.extensionObject, createIfMissing);
+ }
+ }
+}