blob: eeaef81f0bec40897b99d44b4fb5e1ed05a54d62 (
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
|
using System;
namespace XMainClient
{
internal class SmeltAttr
{
public bool IsForge
{
get
{
return this.isForge;
}
}
public uint Min
{
get
{
return this.min;
}
}
public uint Max
{
get
{
return this.max;
}
}
public uint AttrID
{
get
{
return this.attrID;
}
}
public uint Index
{
get
{
return this.index;
}
}
public uint Slot
{
get
{
return this.slot;
}
}
public uint D_value
{
get
{
return this.max - this.min;
}
}
public bool IsFull
{
get
{
return this.RealValue >= this.max;
}
}
private bool isForge;
private uint min;
private uint max;
private uint attrID;
private uint index;
private uint slot;
public bool IsReplace;
public uint RealValue;
public string ColorStr;
public int LastValue = -1;
public uint SmeltResult = 0u;
public bool IsCanSmelt = true;
public SmeltAttr(uint id, uint min, uint max, uint index, uint slot, bool isForge)
{
this.attrID = id;
this.min = min;
this.max = max;
this.index = index;
this.slot = slot;
this.isForge = isForge;
}
}
}
|