summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/FirstPassInfoData.cs
blob: 2a96f00f89c01dd5c143f85bdf67d8953c7935b1 (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
using System;

namespace XMainClient
{
	internal class FirstPassInfoData
	{
		public ulong Id
		{
			get
			{
				return this.m_id;
			}
		}

		public string Name
		{
			get
			{
				return this.m_name;
			}
		}

		private ulong m_id = 0UL;

		private string m_name = "";

		public FirstPassInfoData(ulong id, string name, uint titleId, bool isFirstPassRank)
		{
			this.m_id = id;
			if (isFirstPassRank)
			{
				this.m_name = XTitleDocument.GetTitleWithFormat(titleId, name);
			}
			else
			{
				this.m_name = name;
			}
		}
	}
}