forked from ExileLord/Open-GHTCP
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathAbstractTreeNode2.cs
51 lines (42 loc) · 1.32 KB
/
AbstractTreeNode2.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
using System.Drawing;
namespace GHNamespaceB
{
public abstract class AbstractTreeNode2 : AbstractBaseTreeNode1
{
private static bool _colorFlipFlopper;
public abstract object vmethod_7();
public abstract byte[] vmethod_8();
public abstract void vmethod_9(byte[] byte0);
public string IntToHex32Bit(int int0) // This is kind of dumb because this is implemented elsewhere already
{
string text = int0.ToString("x");
while (text.Length < 8)
{
text = "0" + text;
}
return text;
}
public override Color GetColor()
{
if (_colorFlipFlopper = !_colorFlipFlopper) // Why would you do this max
{
return Color.Ivory;
}
return Color.Khaki;
}
public override object Clone()
{
AbstractTreeNode2 @class = (AbstractTreeNode2) base.Clone();
@class.vmethod_9(vmethod_8());
return @class;
}
public override bool Equals(object obj)
{
return obj is AbstractTreeNode2 && ((AbstractTreeNode2) obj).vmethod_7().Equals(vmethod_7());
}
public override int GetHashCode()
{
return base.GetHashCode();
}
}
}