forked from ExileLord/Open-GHTCP
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathzzUnkNode260.cs
55 lines (48 loc) · 1.46 KB
/
zzUnkNode260.cs
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
using System.Drawing;
using GHNamespace9;
using GHNamespaceE;
namespace GHNamespaceB
{
public abstract class ZzUnkNode260 : AbstractTreeNode1
{
public int Int0;
public int Int1;
public override string GetText()
{
string text = (Nodes.Count > 0) ? method_2(0).GetText() : "NULL";
if (QbSongClass1.ContainsKey(Int0))
{
return QbSongClass1.GetDictString(Int0) + " = " + text;
}
return "0x" + KeyGenerator.ValToHex32Bit(Int0) + " (Tag) = " + text;
}
public virtual Color vmethod_15()
{
return GetColor2IfPrevNodeIsColor1(Color.Beige, Color.Lavender);
}
public override Color GetColor()
{
return vmethod_15();
}
public override int CompareTo(object target)
{
if (!target.GetType().Equals(GetType()) || (((ZzUnkNode260) target).Nodes.Count != 0 &&
!((ZzUnkNode260) target).Nodes[0].Equals(Nodes[0])))
{
return -1;
}
if (((ZzUnkNode260) target).Int0 == Int0)
{
return 0;
}
return 1;
}
public override object Clone()
{
ZzUnkNode260 @class = (ZzUnkNode260) base.Clone();
@class.Int0 = Int0;
@class.Int1 = Int1;
return @class;
}
}
}