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

namespace KKSG
{
	[ProtoContract(Name = "WorldBossEndRes")]
	[Serializable]
	public class WorldBossEndRes : IExtensible
	{
		[ProtoMember(1, Name = "damages", DataFormat = DataFormat.Default)]
		public List<WorldBossDamageInfo> damages
		{
			get
			{
				return this._damages;
			}
		}

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

		private readonly List<WorldBossDamageInfo> _damages = new List<WorldBossDamageInfo>();

		private WorldBossDamageInfo _selfdamage = null;

		private IExtension extensionObject;

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