summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/Guild/XGuildLogAppoint.cs
blob: 7d57a7ecfbbc168aea34d29b66fb0c94f4513da8 (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
using System;
using KKSG;

namespace XMainClient
{
	internal class XGuildLogAppoint : XGuildLogBase
	{
		private GuildPosition position;

		public XGuildLogAppoint()
		{
			this.eType = GuildLogType.GLT_APPOINT;
		}

		public override string GetContent()
		{
			return XLabelSymbolHelper.FormatName(this.name, this.uid, "00ffff") + XStringDefineProxy.GetString("GUILD_LOG_APPOINT") + XGuildDocument.GuildPP.GetPositionName(this.position, true);
		}

		public override void Recycle()
		{
			base.Recycle();
			XDataPool<XGuildLogAppoint>.Recycle(this);
		}

		public override void SetData(GHisRecord data)
		{
			base.SetData(data);
			this.position = (GuildPosition)data.position;
		}
	}
}