summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/KKSG/AllSynCardAttr.cs
blob: 680447b7acc572d46b1065ccd7f7db6f24bb171a (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
using System;
using System.Collections.Generic;
using ProtoBuf;

namespace KKSG
{
	[ProtoContract(Name = "AllSynCardAttr")]
	[Serializable]
	public class AllSynCardAttr : IExtensible
	{
		[ProtoMember(1, Name = "allAttrs", DataFormat = DataFormat.Default)]
		public List<SynCardAttr> allAttrs
		{
			get
			{
				return this._allAttrs;
			}
		}

		private readonly List<SynCardAttr> _allAttrs = new List<SynCardAttr>();

		private IExtension extensionObject;

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