terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches

◆ DrawWorldSize()

void GUIWorldCreateMenu.DrawWorldSize ( )
inlineprivate

Definition at line 206 of file GUIWorldCreateMenu.cs.

207 {
208 string textValue = Language.GetTextValue("UI.WorldSizeSmall");
210 Vector2 vector = spriteFont.MeasureString(textValue);
211 string textValue2 = Language.GetTextValue("UI.WorldSizeMedium");
213 Vector2 vector2 = spriteFont2.MeasureString(textValue2);
214 string textValue3 = Language.GetTextValue("UI.WorldSizeLarge");
216 Vector2 vector3 = spriteFont3.MeasureString(textValue3);
217 bool flag = this.optionOpenClicked;
218 if (flag)
219 {
220 if (!flag)
221 {
222 }
223 bool mouseLeftRelease = Main.mouseLeftRelease;
224 }
225 if (this.displayWorldOptions)
226 {
227 int screenWidth = Main.screenWidth;
228 int screenHeight = Main.screenHeight;
229 }
231 if (optionsBlocker == null || this.displayWorldOptions)
232 {
233 }
234 if (optionsBlocker == null)
235 {
236 }
237 bool mouseLeft = Main.mouseLeft;
238 if (optionsBlocker == null)
239 {
240 }
242 int num = this.worldSize;
243 }
class f__AnonymousType0<< Count > j__TPar
GUIInputRegionExclusive _optionsBlocker
static string GetTextValue(string key)
Definition Language.cs:54
static bool mouseLeftRelease
Definition Main.cs:2029
static int screenHeight
Definition Main.cs:2015
static int screenWidth
Definition Main.cs:2001
static bool mouseLeft
Definition Main.cs:671

References _optionsBlocker, displayWorldOptions, Terraria.Localization.Language.GetTextValue(), j__TPar, Terraria.Main.mouseLeft, Terraria.Main.mouseLeftRelease, optionOpenClicked, Terraria.Main.screenHeight, Terraria.Main.screenWidth, and worldSize.