forked from ExileLord/Open-GHTCP
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathzzUnkNode294.cs
56 lines (50 loc) · 1.53 KB
/
zzUnkNode294.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
56
using System.Drawing;
using GHNamespace9;
using GHNamespaceE;
namespace GHNamespaceB
{
public abstract class ZzUnkNode294 : AbstractTreeNode1
{
public int Int0;
public override int CompareTo(object target)
{
if (!target.GetType().Equals(GetType()) || (((ZzUnkNode294) target).Nodes.Count != 0 &&
!((ZzUnkNode294) target).Nodes[0].Equals(Nodes[0])))
{
return -1;
}
if (((ZzUnkNode294) target).Int0 == Int0)
{
return 0;
}
return 1;
}
public override string GetText()
{
string str = (Nodes.Count > 0) ? method_2(0).GetText() : "NULL";
if (QbSongClass1.ContainsKey(Int0))
{
return QbSongClass1.GetDictString(Int0) + " = " + str;
}
return KeyGenerator.ValToHex32Bit(Int0) + " (Tag) = " + str;
}
public override Color GetColor()
{
if (Parent != null && method_7() != null && method_7().GetColor().Equals(Color.Gold))
{
return Color.Yellow;
}
return Color.Gold;
}
public override object Clone()
{
ZzUnkNode294 @class = (ZzUnkNode294) base.Clone();
@class.Int0 = Int0;
return @class;
}
public AbstractTreeNode1 method_7()
{
return (AbstractTreeNode1) PrevNode;
}
}
}