summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/KKSG/CustomBattleDataRole.cs
blob: 0c4c6877ced894bcf69075b1fbef15c25740fd5e (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
using System;
using System.ComponentModel;
using ProtoBuf;

namespace KKSG
{
	[ProtoContract(Name = "CustomBattleDataRole")]
	[Serializable]
	public class CustomBattleDataRole : IExtensible
	{
		[ProtoMember(1, IsRequired = false, Name = "data", DataFormat = DataFormat.Default)]
		[DefaultValue(null)]
		public CustomBattleData data
		{
			get
			{
				return this._data;
			}
			set
			{
				this._data = value;
			}
		}

		[ProtoMember(2, IsRequired = false, Name = "role", DataFormat = DataFormat.Default)]
		[DefaultValue(null)]
		public CustomBattleRole role
		{
			get
			{
				return this._role;
			}
			set
			{
				this._role = value;
			}
		}

		private CustomBattleData _data = null;

		private CustomBattleRole _role = null;

		private IExtension extensionObject;

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