summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/KKSG/RewardChanged.cs
blob: ff37b5d789991803ebd5068ac2d548977cab16e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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);
		}
	}
}