blob: 505e6a7bb1405f3468a8dcf709d6e339a55187c0 (
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
|
using System;
using UnityEngine;
namespace XMainClient
{
internal class XFashionDrawer : XItemDrawer
{
protected override string RightDownCornerName
{
get
{
return "sp_1";
}
}
public void DrawItem(GameObject go, int fashionID)
{
this._GetUI(go);
base._GetItemData(fashionID);
bool flag = this.itemdata == null;
if (flag)
{
this.DrawEmpty();
this._ClearVariables();
}
else
{
this._SetupIcon();
this._SetupName(null);
this._SetupNum(0);
this._SetupNumTop(null);
this._SetupAttrIcon(null);
base._SetupLeftDownCorner(base._GetBindingState(null));
base._SetupLeftUpCorner(false, "");
base._SetupRightDownCorner(false);
base._SetupRightUpCorner(false);
base._SetUpProf(false);
base._SetupMask();
this._ClearVariables();
}
}
public void DrawItem(GameObject go, ClientFashionData fashion)
{
this.DrawItem(go, (int)fashion.itemID);
this._SetupTime();
}
protected void _SetupNum(int level)
{
bool flag = level > 0;
if (flag)
{
base._SetNumUI("+" + level);
}
else
{
base._SetNumUI(null);
}
}
protected void _SetupTime()
{
}
}
}
|