blob: 19c477532914dcd6c8f9ede525c4d03d9744efbd (
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
|
using System;
namespace XMainClient
{
internal class EnhanceAttr
{
public string Name
{
get
{
return this.m_name;
}
}
public uint BeforeAttrNum
{
get
{
return this.m_beforeAttrNum;
}
}
public uint AfterAttrNum
{
get
{
return this.m_afterAttrNum;
}
}
public int D_value
{
get
{
return (int)(this.m_afterAttrNum - this.m_beforeAttrNum);
}
}
private string m_name = "";
private uint m_beforeAttrNum = 0u;
private uint m_afterAttrNum = 0u;
public EnhanceAttr(uint attrID, uint attrValue, uint afterValue)
{
this.m_name = XStringDefineProxy.GetString((XAttributeDefine)attrID);
this.m_beforeAttrNum = attrValue;
this.m_afterAttrNum = afterValue;
}
public EnhanceAttr(string name, uint beforeValue, uint afterValue)
{
this.m_name = name;
this.m_beforeAttrNum = beforeValue;
this.m_afterAttrNum = afterValue;
}
}
}
|