blob: 37b52a9a030004f465a205a7feb1d5b155a8b9be (
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;
using KKSG;
namespace XMainClient
{
internal class XGuildCheckInBonusBrief
{
public uint needMemberCount
{
get
{
return this.bonueMemberCount - this.frontBonusMemberCount;
}
}
public uint bonusID = 0u;
public uint bonueMemberCount = 0u;
public BonusState bonusState = BonusState.Bonus_UnActive;
public XGuildRedPacketBrief brief = new XGuildRedPacketBrief();
public uint frontBonusMemberCount = 0u;
public uint bonusType = 0u;
public void SetBrief(GuildBonusAppear appear)
{
bool flag = appear == null;
if (!flag)
{
this.brief.SetData(appear);
this.bonusID = appear.bonusID;
this.bonusType = appear.bonusContentType;
this.bonueMemberCount = appear.needCheckInNum;
}
}
}
}
|