blob: 18c34b3fa6fac4e020df447171bd5129f8108ec1 (
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
using System;
using KKSG;
namespace XMainClient
{
public class GVGCombatInfo
{
public string DamageString
{
get
{
return ((int)this.Damage).ToString();
}
}
public string KillCountString
{
get
{
return this.KillCount.ToString();
}
}
public uint KillCount = 0u;
public double Damage = 0.0;
public string GuildName = string.Empty;
public ulong GuildID = 0UL;
public uint GuildIcon = 0u;
public int Score = 0;
public void Set(GmfGuildCombat combat)
{
this.Score = (int)combat.score;
bool flag = combat.gmfguild != null;
if (flag)
{
this.GuildID = combat.gmfguild.guildid;
this.GuildIcon = combat.gmfguild.guildicon;
this.GuildName = combat.gmfguild.guildname;
}
bool flag2 = combat.combat != null;
if (flag2)
{
this.KillCount = combat.combat.killcount;
this.Damage = combat.combat.damage;
}
}
public void Clear()
{
this.KillCount = 0u;
this.Damage = 0.0;
this.GuildName = string.Empty;
this.GuildIcon = 0u;
this.GuildID = 0UL;
}
}
}
|