summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/KKSG/AchieveDbInfo.cs
blob: 8cc2bdc069e725075ba2a70c0aa8985cd87efbe3 (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
41
42
43
44
45
46
47
48
49
50
51
using System;
using System.Collections.Generic;
using ProtoBuf;

namespace KKSG
{
	[ProtoContract(Name = "AchieveDbInfo")]
	[Serializable]
	public class AchieveDbInfo : IExtensible
	{
		[ProtoMember(1, Name = "achieveData", DataFormat = DataFormat.Default)]
		public List<StcAchieveInfo> achieveData
		{
			get
			{
				return this._achieveData;
			}
		}

		[ProtoMember(2, Name = "achieveAward", DataFormat = DataFormat.Default)]
		public List<STC_ACHIEVE_POINT_REWARD> achieveAward
		{
			get
			{
				return this._achieveAward;
			}
		}

		[ProtoMember(3, Name = "oldachievement", DataFormat = DataFormat.Default)]
		public List<StcAchieveInfo> oldachievement
		{
			get
			{
				return this._oldachievement;
			}
		}

		private readonly List<StcAchieveInfo> _achieveData = new List<StcAchieveInfo>();

		private readonly List<STC_ACHIEVE_POINT_REWARD> _achieveAward = new List<STC_ACHIEVE_POINT_REWARD>();

		private readonly List<StcAchieveInfo> _oldachievement = new List<StcAchieveInfo>();

		private IExtension extensionObject;

		IExtension IExtensible.GetExtensionObject(bool createIfMissing)
		{
			return Extensible.GetExtensionObject(ref this.extensionObject, createIfMissing);
		}
	}
}