blob: d6c59c52553aa57f9d13c6c970de64be837b4e7c (
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
|
using System;
using System.Collections.Generic;
namespace XMainClient
{
internal struct XEnchantInfo
{
public bool bHasEnchant
{
get
{
return this.AttrList != null && this.AttrList.Count != 0;
}
}
public List<XItemChangeAttr> AttrList;
public int EnchantItemID;
public uint ChooseAttr;
public List<uint> EnchantIDList;
public void Init()
{
bool flag = this.AttrList == null;
if (flag)
{
this.AttrList = new List<XItemChangeAttr>();
}
else
{
this.AttrList.Clear();
}
bool flag2 = this.EnchantIDList == null;
if (flag2)
{
this.EnchantIDList = new List<uint>();
}
else
{
this.EnchantIDList.Clear();
}
this.EnchantItemID = 0;
}
}
}
|