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

namespace XMainClient
{
	internal class XGuildListData : XGuildBasicData
	{
		public bool bIsApplying;

		public bool bNeedApprove;

		public uint requiredPPT;

		public static int[] DefaultSortDirection = new int[]
		{
			1,
			1,
			-1,
			-1,
			-1,
			1,
			1
		};

		public override void Init(GuildInfo info)
		{
			base.Init(info);
			this.bIsApplying = info.isSendApplication;
			this.requiredPPT = (uint)info.ppt;
			this.bNeedApprove = (info.needapproval == 1);
		}
	}
}