summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/KKSG/UnitAppearList.cs
blob: af1cf0e4373d76540fd6832a7f81ef5988dc92d3 (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 = "UnitAppearList")]
	[Serializable]
	public class UnitAppearList : IExtensible
	{
		[ProtoMember(1, Name = "units", DataFormat = DataFormat.Default)]
		public List<UnitAppearance> units
		{
			get
			{
				return this._units;
			}
		}

		private readonly List<UnitAppearance> _units = new List<UnitAppearance>();

		private IExtension extensionObject;

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