blob: 950c21751b7dd595d3415a0c443e91fad4d00b5b (
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
|
using System;
using KKSG;
namespace XMainClient
{
internal struct XUnitAppearanceTeam
{
public bool bHasTeam
{
get
{
return this.teamID > 0u;
}
}
public uint teamID;
public bool bPwd;
public void SetData(UnitAppearanceTeam data)
{
bool flag = data == null;
if (flag)
{
this.teamID = 0u;
this.bPwd = false;
}
else
{
this.teamID = data.teamid;
this.bPwd = data.haspassword;
}
}
}
}
|