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
CalculatedStyle.cs
Go to the documentation of this file.
1using System;
10
11namespace Terraria.UI
12{
13 [global::Cpp2ILInjected.Token(Token = "0x20006DB")]
14 public struct CalculatedStyle
15 {
16 [global::Cpp2ILInjected.Token(Token = "0x6003AF3")]
17 [global::Cpp2ILInjected.Address(RVA = "0x1473058", Offset = "0x1473058", Length = "0xC")]
18 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UserInterface), Member = "GetDimensions", ReturnType = typeof(CalculatedStyle))]
19 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
20 public CalculatedStyle(float x, float y, float width, float height)
21 {
22 throw null;
23 }
24
25 [global::Cpp2ILInjected.Token(Token = "0x6003AF4")]
26 [global::Cpp2ILInjected.Address(RVA = "0x1473064", Offset = "0x1473064", Length = "0x6C")]
27 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
28 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UIElement), Member = "GetViewCullingArea", ReturnType = typeof(Rectangle))]
29 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UIBestiaryTest), Member = "GetEntriesToShow", MemberParameters = new object[]
30 {
31 typeof(ref int),
32 typeof(ref int),
33 typeof(ref int)
34 }, ReturnType = typeof(void))]
35 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UIVirtualKeyboard), Member = "DrawSelf", MemberParameters = new object[] { typeof(SpriteBatch) }, ReturnType = typeof(void))]
36 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UIBestiaryEntryGrid), Member = "FillBestiarySpaceWithEntries", ReturnType = typeof(void))]
37 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UIBestiaryEntryGrid), Member = "GetEntriesToShow", MemberParameters = new object[]
38 {
39 typeof(ref int),
40 typeof(ref int),
41 typeof(ref int)
42 }, ReturnType = typeof(void))]
43 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UIBestiaryEntryGrid), Member = "GetRangeText", ReturnType = typeof(string))]
44 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UIBestiaryEntryGrid), Member = "OffsetLibraryByPages", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
45 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UIBestiaryEntryGrid), Member = "OffsetLibrary", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
46 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UIBestiaryEntryIcon), Member = "Update", MemberParameters = new object[] { typeof(GameTime) }, ReturnType = typeof(void))]
47 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UIBestiaryEntryIcon), Member = "DrawSelf", MemberParameters = new object[] { typeof(SpriteBatch) }, ReturnType = typeof(void))]
48 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UIColoredSliderSimple), Member = "DrawValueBarDynamicWidth", MemberParameters = new object[] { typeof(SpriteBatch) }, ReturnType = typeof(void))]
49 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UIDynamicItemCollection), Member = "GetGridParameters", MemberParameters = new object[]
50 {
51 typeof(ref int),
52 typeof(ref int),
53 typeof(ref int),
54 typeof(ref int)
55 }, ReturnType = typeof(void))]
56 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UIDynamicItemCollection), Member = "UpdateSize", ReturnType = typeof(void))]
57 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UIGenProgressBar), Member = "DrawSelf", MemberParameters = new object[] { typeof(SpriteBatch) }, ReturnType = typeof(void))]
58 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UIImage), Member = "DrawSelf", MemberParameters = new object[] { typeof(SpriteBatch) }, ReturnType = typeof(void))]
59 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.GameContent.UI.Elements.UIList.UIInnerList", Member = "GetViewCullingArea", ReturnType = typeof(Rectangle))]
60 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UIParticleLayer), Member = "Recalculate", ReturnType = typeof(void))]
61 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UIScrollbar), Member = "DrawSelf", MemberParameters = new object[] { typeof(SpriteBatch) }, ReturnType = typeof(void))]
62 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UISearchBar), Member = "DrawSelf", MemberParameters = new object[] { typeof(SpriteBatch) }, ReturnType = typeof(void))]
63 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UIVerticalSeparator), Member = "DrawSelf", MemberParameters = new object[] { typeof(SpriteBatch) }, ReturnType = typeof(void))]
64 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UIVerticalSlider), Member = "DrawValueBarDynamicWidth", MemberParameters = new object[]
65 {
67 typeof(ref float)
68 }, ReturnType = typeof(bool))]
69 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 24)]
70 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Rectangle), Member = ".ctor", MemberParameters = new object[]
71 {
72 typeof(int),
73 typeof(int),
74 typeof(int),
75 typeof(int)
76 }, ReturnType = typeof(void))]
78 {
79 throw null;
80 }
81
82 [global::Cpp2ILInjected.Token(Token = "0x6003AF5")]
83 [global::Cpp2ILInjected.Address(RVA = "0x14730D0", Offset = "0x14730D0", Length = "0x24")]
84 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SnapPoint), Member = "Calculate", MemberParameters = new object[] { typeof(UIElement) }, ReturnType = typeof(void))]
85 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UIElement), Member = "DrawDebugHitbox", MemberParameters = new object[]
86 {
88 typeof(float)
89 }, ReturnType = typeof(void))]
90 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(EmoteButton), Member = "DrawSelf", MemberParameters = new object[] { typeof(SpriteBatch) }, ReturnType = typeof(void))]
91 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UIBestiaryInfoLine<>), Member = "DrawSelf", MemberParameters = new object[] { typeof(SpriteBatch) }, ReturnType = typeof(void))]
92 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UIColoredImageButton), Member = "DrawSelf", MemberParameters = new object[] { typeof(SpriteBatch) }, ReturnType = typeof(void))]
93 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UIDynamicItemCollection), Member = "GetSnapPoints", ReturnType = typeof(List<SnapPoint>))]
94 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UIHorizontalSeparator), Member = "DrawSelf", MemberParameters = new object[] { typeof(SpriteBatch) }, ReturnType = typeof(void))]
95 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UIImage), Member = "DrawSelf", MemberParameters = new object[] { typeof(SpriteBatch) }, ReturnType = typeof(void))]
96 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UIImageButton), Member = "DrawSelf", MemberParameters = new object[] { typeof(SpriteBatch) }, ReturnType = typeof(void))]
97 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UIImageFramed), Member = "DrawSelf", MemberParameters = new object[] { typeof(SpriteBatch) }, ReturnType = typeof(void))]
98 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.GameContent.UI.Elements.UIList.UIInnerList", Member = "DrawChildren", MemberParameters = new object[] { typeof(SpriteBatch) }, ReturnType = typeof(void))]
99 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UIText), Member = "DrawSelf", MemberParameters = new object[] { typeof(SpriteBatch) }, ReturnType = typeof(void))]
100 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UITextBox), Member = "DrawSelf", MemberParameters = new object[] { typeof(SpriteBatch) }, ReturnType = typeof(void))]
101 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UITextPanel<>), Member = "DrawText", MemberParameters = new object[] { typeof(SpriteBatch) }, ReturnType = typeof(void))]
102 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 23)]
103 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = ".ctor", MemberParameters = new object[]
104 {
105 typeof(float),
106 typeof(float)
107 }, ReturnType = typeof(void))]
109 {
110 throw null;
111 }
112
113 [global::Cpp2ILInjected.Token(Token = "0x6003AF6")]
114 [global::Cpp2ILInjected.Address(RVA = "0x14730F4", Offset = "0x14730F4", Length = "0x3C")]
115 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UIBestiaryEntryIcon), Member = "DrawSelf", MemberParameters = new object[] { typeof(SpriteBatch) }, ReturnType = typeof(void))]
116 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UIItemSlot), Member = "DrawSelf", MemberParameters = new object[] { typeof(SpriteBatch) }, ReturnType = typeof(void))]
117 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UIHairStyleButton), Member = "DrawSelf", MemberParameters = new object[] { typeof(SpriteBatch) }, ReturnType = typeof(void))]
118 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UIIconTextButton), Member = "DrawSelf", MemberParameters = new object[] { typeof(SpriteBatch) }, ReturnType = typeof(void))]
119 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UIItemIcon), Member = "DrawSelf", MemberParameters = new object[] { typeof(SpriteBatch) }, ReturnType = typeof(void))]
120 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 7)]
121 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Vector2), Member = ".ctor", MemberParameters = new object[]
122 {
123 typeof(float),
124 typeof(float)
125 }, ReturnType = typeof(void))]
127 {
128 throw null;
129 }
130
131 [global::Cpp2ILInjected.Token(Token = "0x4007ADC")]
132 [global::Cpp2ILInjected.FieldOffset(Offset = "0x0")]
133 public float X;
134
135 [global::Cpp2ILInjected.Token(Token = "0x4007ADD")]
136 [global::Cpp2ILInjected.FieldOffset(Offset = "0x4")]
137 public float Y;
138
139 [global::Cpp2ILInjected.Token(Token = "0x4007ADE")]
140 [global::Cpp2ILInjected.FieldOffset(Offset = "0x8")]
141 public float Width;
142
143 [global::Cpp2ILInjected.Token(Token = "0x4007ADF")]
144 [global::Cpp2ILInjected.FieldOffset(Offset = "0xC")]
145 public float Height;
146 }
147}
class f__AnonymousType0<< Count > j__TPar
CalculatedStyle(float x, float y, float width, float height)