terraria-cpp2il v1.4.4.9
Terraria mobile dump, with CallAnalysis (see source code). Dump with reconstucted method: https://infinitynichto.github.io/terraria-cpp2il-methodrecon
Loading...
Searching...
No Matches
UIDifficultyButton.cs
Go to the documentation of this file.
1using System;
9using Terraria.UI;
10
12{
13 [global::Cpp2ILInjected.Token(Token = "0x2000AB3")]
15 {
16 [global::Cpp2ILInjected.Token(Token = "0x60050C2")]
17 [global::Cpp2ILInjected.Address(RVA = "0x926760", Offset = "0x926760", Length = "0x37C")]
18 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
19 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
20 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UIElement), Member = ".ctor", ReturnType = typeof(void))]
21 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(StyleDimension), Member = "FromPixels", MemberParameters = new object[] { typeof(float) }, ReturnType = typeof(StyleDimension))]
22 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UIText), Member = ".ctor", MemberParameters = new object[]
23 {
25 typeof(float),
26 typeof(bool)
27 }, ReturnType = typeof(void))]
28 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(StyleDimension), Member = "FromPixelsAndPercent", MemberParameters = new object[]
29 {
30 typeof(float),
31 typeof(float)
32 }, ReturnType = typeof(StyleDimension))]
33 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UIElement), Member = "Append", MemberParameters = new object[] { typeof(UIElement) }, ReturnType = typeof(void))]
34 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 18)]
35 public UIDifficultyButton(Player player, LocalizedText title, LocalizedText description, byte difficulty, Color color)
36 {
37 throw null;
38 }
39
40 [global::Cpp2ILInjected.Token(Token = "0x60050C3")]
41 [global::Cpp2ILInjected.Address(RVA = "0x926C64", Offset = "0x926C64", Length = "0x328")]
42 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
43 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
44 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SoundEngine), Member = "PlaySound", MemberParameters = new object[]
45 {
46 typeof(int),
47 typeof(int),
48 typeof(int),
49 typeof(int),
50 typeof(float),
51 typeof(float)
52 }, ReturnType = typeof(SoundEffectInstance))]
53 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Color), Member = "Lerp", MemberParameters = new object[]
54 {
57 typeof(float)
58 }, ReturnType = typeof(Color))]
59 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Color), Member = "op_Multiply", MemberParameters = new object[]
60 {
62 typeof(float)
63 }, ReturnType = typeof(Color))]
64 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils), Member = "DrawSplicedPanel", MemberParameters = new object[]
65 {
68 typeof(int),
69 typeof(int),
70 typeof(int),
71 typeof(int),
72 typeof(int),
73 typeof(int),
74 typeof(int),
75 typeof(int),
77 }, ReturnType = typeof(void))]
78 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 9)]
79 protected override void DrawSelf(SpriteBatch spriteBatch)
80 {
81 throw null;
82 }
83
84 [global::Cpp2ILInjected.Token(Token = "0x60050C4")]
85 [global::Cpp2ILInjected.Address(RVA = "0x926F8C", Offset = "0x926F8C", Length = "0x54")]
86 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
87 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SoundEngine), Member = "PlaySound", MemberParameters = new object[]
88 {
89 typeof(int),
90 typeof(int),
91 typeof(int),
92 typeof(int),
93 typeof(float),
94 typeof(float)
95 }, ReturnType = typeof(SoundEffectInstance))]
96 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UIElement), Member = "LeftMouseDown", MemberParameters = new object[] { typeof(UIMouseEvent) }, ReturnType = typeof(void))]
97 public override void LeftMouseDown(UIMouseEvent evt)
98 {
99 throw null;
100 }
101
102 [global::Cpp2ILInjected.Token(Token = "0x60050C5")]
103 [global::Cpp2ILInjected.Address(RVA = "0x926FE0", Offset = "0x926FE0", Length = "0x20")]
104 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
105 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UIElement), Member = "MouseOver", MemberParameters = new object[] { typeof(UIMouseEvent) }, ReturnType = typeof(void))]
106 public override void MouseOver(UIMouseEvent evt)
107 {
108 throw null;
109 }
110
111 [global::Cpp2ILInjected.Token(Token = "0x60050C6")]
112 [global::Cpp2ILInjected.Address(RVA = "0x927000", Offset = "0x927000", Length = "0x1C")]
113 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
114 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UIElement), Member = "MouseOut", MemberParameters = new object[] { typeof(UIMouseEvent) }, ReturnType = typeof(void))]
115 public override void MouseOut(UIMouseEvent evt)
116 {
117 throw null;
118 }
119
120 [global::Cpp2ILInjected.Token(Token = "0x400897B")]
121 [global::Cpp2ILInjected.FieldOffset(Offset = "0x148")]
123
124 [global::Cpp2ILInjected.Token(Token = "0x400897C")]
125 [global::Cpp2ILInjected.FieldOffset(Offset = "0x150")]
127
128 [global::Cpp2ILInjected.Token(Token = "0x400897D")]
129 [global::Cpp2ILInjected.FieldOffset(Offset = "0x158")]
131
132 [global::Cpp2ILInjected.Token(Token = "0x400897E")]
133 [global::Cpp2ILInjected.FieldOffset(Offset = "0x160")]
135
136 [global::Cpp2ILInjected.Token(Token = "0x400897F")]
137 [global::Cpp2ILInjected.FieldOffset(Offset = "0x168")]
138 private readonly byte _difficulty;
139
140 [global::Cpp2ILInjected.Token(Token = "0x4008980")]
141 [global::Cpp2ILInjected.FieldOffset(Offset = "0x169")]
143
144 [global::Cpp2ILInjected.Token(Token = "0x4008981")]
145 [global::Cpp2ILInjected.FieldOffset(Offset = "0x16D")]
146 private bool _hovered;
147
148 [global::Cpp2ILInjected.Token(Token = "0x4008982")]
149 [global::Cpp2ILInjected.FieldOffset(Offset = "0x16E")]
150 private bool _soundedHover;
151 }
152}
class f__AnonymousType0<< Count > j__TPar
override void DrawSelf(SpriteBatch spriteBatch)
UIDifficultyButton(Player player, LocalizedText title, LocalizedText description, byte difficulty, Color color)