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

		private readonly List<HeroBattleTeamData> _teamdata = new List<HeroBattleTeamData>();

		private IExtension extensionObject;

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