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
GUIWorldSelectMenu.cs
Go to the documentation of this file.
1using System;
4using Controller;
9using Terraria;
11using Terraria.IO;
12
13// Token: 0x0200028A RID: 650
15{
16 // Token: 0x17000185 RID: 389
17 // (get) Token: 0x06000EF8 RID: 3832 RVA: 0x0004A944 File Offset: 0x00048B44
29
30 // Token: 0x06000EF9 RID: 3833 RVA: 0x0004A96C File Offset: 0x00048B6C
31 public static void LoadContent(ContentManager content)
32 {
33 Texture2D texture2D = content.Load<Texture2D>("Images/UI/Divider");
34 Texture2D texture2D2 = content.Load<Texture2D>("Images/UI/ButtonCloudActive");
35 Texture2D texture2D3 = content.Load<Texture2D>("Images/UI/ButtonCloudInactive");
36 Texture2D texture2D4 = content.Load<Texture2D>("Images/UI/ButtonFavoriteActive");
37 Texture2D texture2D5 = content.Load<Texture2D>("Images/UI/ButtonFavoriteInactive");
38 Texture2D texture2D6 = content.Load<Texture2D>("Images/UI/ButtonPlay");
39 Texture2D texture2D7 = content.Load<Texture2D>("Images/UI/ButtonDelete");
40 }
41
42 // Token: 0x06000EFA RID: 3834 RVA: 0x0004A9D0 File Offset: 0x00048BD0
44 {
45 int glitchFrameCounter = worldData._glitchFrameCounter;
46 int glitchVariation = worldData._glitchVariation;
47 if (glitchFrameCounter == 0)
48 {
49 }
50 int glitchFrame = worldData._glitchFrame;
52 if (glitchFrame == 0)
53 {
54 }
55 int num;
56 if (num == 0)
57 {
58 if (glitchFrame == 0)
59 {
60 }
61 int num2;
63 }
65 int glitchFrame2 = worldData._glitchFrame;
66 bool currentSaveFormat = worldData.CurrentSaveFormat;
67 if (glitchFrame == 0)
68 {
69 }
70 int num3 = 7;
71 int num4 = 16;
72 long num5 = 0L;
73 long num6 = 0L;
74 return texture2D.Frame(num3, num4, currentSaveFormat ? 1 : 0, glitchFrame2, (int)num5, (int)num6);
75 }
76
77 // Token: 0x06000EFB RID: 3835 RVA: 0x0004AA58 File Offset: 0x00048C58
79 {
80 bool drunkWorld = worldData.DrunkWorld;
82 if (drunkWorld)
83 {
84 bool remixWorld = worldData.RemixWorld;
85 if (remixWorld)
86 {
87 if (this.everythingAnimatedIcon == null)
88 {
89 if (!remixWorld)
90 {
91 }
92 texture2D = TextureManager.Load("Images/UI/IconEverythingAnimated");
94 }
95 return texture2D;
96 }
97 }
98 return texture2D;
99 }
100
101 // Token: 0x06000EFC RID: 3836 RVA: 0x0004AAF0 File Offset: 0x00048CF0
103 {
104 bool isHardMode = worldData.IsHardMode;
105 if (!worldData.HasCorruption)
106 {
107 }
108 string text;
109 return TextureManager.Load(text);
110 }
111
112 // Token: 0x06000EFD RID: 3837 RVA: 0x0004AB14 File Offset: 0x00048D14
113 private void PlayWorldCheck()
114 {
115 if (!true)
116 {
117 }
118 }
119
120 // Token: 0x06000EFE RID: 3838 RVA: 0x0004AB28 File Offset: 0x00048D28
121 public void ActionNew()
122 {
123 if (!true)
124 {
125 }
126 Main.menuMode = 16;
128 Main.GameMode = int.MinValue;
130 }
131
132 // Token: 0x06000EFF RID: 3839 RVA: 0x0004AB70 File Offset: 0x00048D70
133 private bool DrawMenuButton(string label, TransactionButton_Layout buttonLayout, float scale, bool disabled)
134 {
135 /*
136An exception occurred when decompiling this method (06000EFF)
137
138ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean GUIWorldSelectMenu::DrawMenuButton(System.String,TransactionButton_Layout,System.Single,System.Boolean)
139
140 ---> System.Exception: Basic block has to end with unconditional control flow.
141{
142 IL_0003:
143 call:void(SpriteBatchItem::DisabledClipping)
144}
145
146 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
147 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
148 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
149 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
150 --- End of inner exception stack trace ---
151 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
152 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1683
153*/;
154 }
155
156 // Token: 0x06000F00 RID: 3840 RVA: 0x000021DB File Offset: 0x000003DB
158 {
159 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
160 }
161
162 // Token: 0x06000F01 RID: 3841 RVA: 0x0004AB88 File Offset: 0x00048D88
164 {
165 /*
166An exception occurred when decompiling this method (06000F01)
167
168ICSharpCode.Decompiler.DecompilerException: Error decompiling Microsoft.Xna.Framework.Vector2 GUIWorldSelectMenu::ItemSize(System.Int32)
169
170 ---> System.Exception: Basic block has to end with unconditional control flow.
171{
172 Block_0:
173 stloc:int32(var_0_06, ldfld:int32(GUIWorldSelectMenu::SelectedItem, ldloc:GUIWorldSelectMenu(this)))
174}
175
176 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
177 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
178 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
179 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
180 --- End of inner exception stack trace ---
181 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
182 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1683
183*/;
184 }
185
186 // Token: 0x06000F02 RID: 3842 RVA: 0x0004AB9C File Offset: 0x00048D9C
187 private void DrawWorldSync()
188 {
189 if (6899 == 0)
190 {
191 }
192 }
193
194 // Token: 0x06000F03 RID: 3843 RVA: 0x000021DB File Offset: 0x000003DB
196 {
197 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
198 }
199
200 // Token: 0x06000F04 RID: 3844 RVA: 0x0004ABB0 File Offset: 0x00048DB0
201 private void OpenNameEdit()
202 {
203 int selectedItem = this.SelectedItem;
204 this.LastSelectedItem = selectedItem;
205 }
206
207 // Token: 0x06000F05 RID: 3845 RVA: 0x0004ABCC File Offset: 0x00048DCC
209 {
210 int selectedItem = this.SelectedItem;
211 int size = this.SortedWorldData._size;
212 string text;
213 int stringLength = text._stringLength;
215 int selectedItem2 = this.SelectedItem;
217 }
218
219 // Token: 0x06000F06 RID: 3846 RVA: 0x0004AC20 File Offset: 0x00048E20
220 private void CloseNameEditIf()
221 {
222 }
223
224 // Token: 0x06000F07 RID: 3847 RVA: 0x0004AC30 File Offset: 0x00048E30
225 private void CloseNameEdit()
226 {
227 }
228
229 // Token: 0x06000F08 RID: 3848 RVA: 0x000021DB File Offset: 0x000003DB
230 public void Draw()
231 {
232 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
233 }
234
235 // Token: 0x06000F09 RID: 3849 RVA: 0x0004AC40 File Offset: 0x00048E40
245
246 // Token: 0x06000F0A RID: 3850 RVA: 0x0004AC6C File Offset: 0x00048E6C
248 {
249 Texture2D icon = this.GetIcon(worldData);
250 if (worldData.DrunkWorld && worldData.RemixWorld)
251 {
252 Rectangle rectangle = this.UpdateGlitchAnimation(worldData);
253 return;
254 }
255 long num = 0L;
256 long num2 = 0L;
257 long num3 = 0L;
258 long num4 = 0L;
259 Rectangle rectangle2 = icon.Frame(1, 1, (int)num, (int)num2, (int)num3, (int)num4);
260 }
261
262 // Token: 0x06000F0B RID: 3851 RVA: 0x0004ACC0 File Offset: 0x00048EC0
263 private void WorldDraw(ItemGrid_Layout gridLayout, int index, Vector2 position, float scale)
264 {
265 int selectedItem = this.SelectedItem;
266 int num = 168;
268 int num2 = this.worldOver;
269 int selectedItem2 = this.SelectedItem;
270 int selectedItem3 = this.SelectedItem;
271 if (this.SeedVersionToggle)
272 {
273 return;
274 }
275 if (num == 0)
276 {
277 }
278 if (32 == 0)
279 {
280 }
281 int size = sortedWorldData._size;
282 int num3 = 16;
283 if (num3 == 0)
284 {
285 }
286 int selectedItem4 = this.SelectedItem;
288 this.CloseNameEditIf();
289 int selectedItem5 = this.SelectedItem;
291 if (lastSelectedItem == 0)
292 {
293 }
294 if (num3 != 0)
295 {
296 return;
297 }
298 int num4;
299 if (num4 == 0)
300 {
301 }
303 }
304
305 // Token: 0x06000F0C RID: 3852 RVA: 0x0004B0C0 File Offset: 0x000492C0
306 private void PlayWorld()
307 {
308 if (true && true)
309 {
310 Main.menuMode = 448;
312 return;
313 }
314 Main.menuMode = 10;
316 }
317
318 // Token: 0x06000F0D RID: 3853 RVA: 0x000021DB File Offset: 0x000003DB
319 public void SortWorlds()
320 {
321 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
322 }
323
324 // Token: 0x06000F0E RID: 3854 RVA: 0x0004B0F8 File Offset: 0x000492F8
326 {
327 bool flag = this.CanWorldBePlayed(a);
328 int num;
329 if (a._isFavorite && !b._isFavorite)
330 {
331 return num;
332 }
333 if (!a._isFavorite && b._isFavorite)
334 {
335 return 1;
336 }
337 string name = a.Name;
338 string name2 = b.Name;
339 return num;
340 }
341
342 // Token: 0x06000F0F RID: 3855 RVA: 0x0004B144 File Offset: 0x00049344
344 {
345 return true;
346 }
347
348 // Token: 0x06000F10 RID: 3856 RVA: 0x000021DB File Offset: 0x000003DB
349 private float WorldScale(int index)
350 {
351 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
352 }
353
354 // Token: 0x06000F11 RID: 3857 RVA: 0x0004B170 File Offset: 0x00049370
355 private void WorldOver(int index)
356 {
357 bool mouseLeft = Main.mouseLeft;
358 bool mouseLeftRelease = Main.mouseLeftRelease;
360 }
361
362 // Token: 0x06000F12 RID: 3858 RVA: 0x0004B194 File Offset: 0x00049394
363 public int CompareNatural(string strA, string strB)
364 {
365 if (!true)
366 {
367 }
369 int num;
370 return num;
371 }
372
373 // Token: 0x06000F13 RID: 3859 RVA: 0x0004B1B0 File Offset: 0x000493B0
375 {
376 long num2;
377 for (;;)
378 {
379 int stringLength = strB._stringLength;
380 int stringLength2 = strA._stringLength;
381 long num = 0L;
382 num2 = 0L;
383 char c = strA[(int)num];
384 if (stringLength2 == 0)
385 {
386 }
387 bool flag = char.IsDigit(c);
388 bool flag2 = char.IsDigit(strB[(int)num2]);
389 char c2 = strA[(int)num];
390 char c3 = strA[(int)num];
391 if (stringLength2 == 0)
392 {
393 }
394 double numericValue = char.GetNumericValue(c3);
395 char c4 = strB[(int)num2];
396 double numericValue2 = char.GetNumericValue(strB[(int)num2]);
397 int stringLength3 = strA._stringLength;
398 char c5 = strA[(int)num];
399 int stringLength4 = strA._stringLength;
400 int stringLength5 = strB._stringLength;
401 char c6 = strB[(int)num2];
402 int stringLength6 = strB._stringLength;
403 int stringLength7 = strA._stringLength;
404 char c7 = strA[(int)num];
405 if (stringLength2 == 0)
406 {
407 }
408 bool flag3 = char.IsDigit(c7);
409 long num3 = 0L;
410 int stringLength8 = strB._stringLength;
411 char c8 = strB[(int)num2];
412 if (stringLength2 == 0)
413 {
414 }
415 bool flag4 = char.IsDigit(c8);
416 if (num3 != 0L)
417 {
418 goto IL_00EF;
419 }
420 if (c4 != '\0')
421 {
422 goto IL_010F;
423 }
424 long num4;
425 if (num3 == 0L)
426 {
427 num4 = 0L;
428 while (num3 == 0L)
429 {
430 }
431 goto IL_00EF;
432 }
433 goto IL_0130;
434 IL_0139:
435 string text5;
436 if (num4 != 0L)
437 {
438 char c9 = strB[(int)num2];
439 int num5 = 1;
440 int stringLength9 = strA._stringLength;
441 char c10 = strA[(int)num];
442 if (stringLength9 == 0)
443 {
444 }
445 bool flag5 = char.IsDigit(c10);
446 int stringLength10 = strB._stringLength;
447 char c11 = strB[(int)num2];
448 if (stringLength9 == 0)
449 {
450 }
451 bool flag6 = char.IsDigit(c11);
452 int stringLength11 = strB._stringLength;
453 if (num4 == 0L)
454 {
455 goto IL_01EA;
456 }
457 string text = strA.Substring((int)num, num5);
458 string text2 = strB.Substring((int)num3, (int)c11);
459 string text3 = text + "1";
460 string text4 = text2 + "2";
461 text5 = text + "2";
462 string text6 = text2 + "1";
463 }
464 if (text5 != null)
465 {
466 continue;
467 }
468 IL_01EA:
469 int stringLength12 = strB._stringLength;
470 int stringLength13 = strA._stringLength;
471 if (stringLength12 != 0)
472 {
473 break;
474 }
475 continue;
476 IL_010F:
477 char c12 = strB[(int)num2];
478 int num6;
479 if (num6 == 0)
480 {
481 }
482 double numericValue3 = char.GetNumericValue(c12);
483 if (num3 == 0L)
484 {
485 goto IL_0139;
486 }
487 IL_0130:
488 char c13 = strA[(int)num];
489 goto IL_0139;
490 IL_00EF:
491 char c14 = strA[(int)num];
492 if (stringLength2 == 0)
493 {
494 }
495 double numericValue4 = char.GetNumericValue(c14);
496 num6 = 32768;
497 while (num4 == 0L)
498 {
499 }
500 goto IL_010F;
501 }
502 while (num2 == 0L)
503 {
504 }
505 return 1;
506 }
507
508 // Token: 0x06000F14 RID: 3860 RVA: 0x0004B3C4 File Offset: 0x000495C4
510 {
511 if ("" == null)
512 {
513 }
514 if (!true)
515 {
516 }
519 base..ctor();
520 }
521
522 // Token: 0x04001B1D RID: 6941
523 private const double DOUBLE_CLICK_TIME = 500.0;
524
525 // Token: 0x04001B1E RID: 6942
526 private const double SINGLE_CLICK_TIME = 350.0;
527
528 // Token: 0x04001B1F RID: 6943
529 private const float SINGLE_CLICK_DISTANCE = 30f;
530
531 // Token: 0x04001B20 RID: 6944
532 private float TitleScale;
533
534 // Token: 0x04001B21 RID: 6945
535 private float BackScale;
536
537 // Token: 0x04001B22 RID: 6946
538 private float NewScale;
539
540 // Token: 0x04001B23 RID: 6947
541 private float PlayScale;
542
543 // Token: 0x04001B24 RID: 6948
544 private float DeleteScale;
545
546 // Token: 0x04001B25 RID: 6949
547 private float FavoriteScale;
548
549 // Token: 0x04001B26 RID: 6950
550 private float OptionsScale;
551
552 // Token: 0x04001B27 RID: 6951
553 private float RenameScale;
554
555 // Token: 0x04001B28 RID: 6952
556 private float SeedDisplayScale = (float)16256;
557
558 // Token: 0x04001B29 RID: 6953
559 public float ScrollOffset;
560
561 // Token: 0x04001B2A RID: 6954
562 private float ScrollMomentum;
563
564 // Token: 0x04001B2B RID: 6955
565 private int ScrollDragging;
566
567 // Token: 0x04001B2C RID: 6956
569
570 // Token: 0x04001B2D RID: 6957
572
573 // Token: 0x04001B2E RID: 6958
575
576 // Token: 0x04001B2F RID: 6959
578
579 // Token: 0x04001B30 RID: 6960
581
582 // Token: 0x04001B31 RID: 6961
584
585 // Token: 0x04001B32 RID: 6962
587
588 // Token: 0x04001B33 RID: 6963
590
591 // Token: 0x04001B34 RID: 6964
592 private int _worldCount;
593
594 // Token: 0x04001B35 RID: 6965
596
597 // Token: 0x04001B36 RID: 6966
598 private bool SeedVersionToggle;
599
600 // Token: 0x04001B37 RID: 6967
601 public int SelectedItem;
602
603 // Token: 0x04001B38 RID: 6968
604 private int LastSelectedItem;
605
606 // Token: 0x04001B39 RID: 6969
607 public string SelectedItemWorld = "";
608
609 // Token: 0x04001B3A RID: 6970
611
612 // Token: 0x04001B3B RID: 6971
614
615 // Token: 0x04001B3C RID: 6972
617
618 // Token: 0x04001B3D RID: 6973
619 public bool SyncingWorlds;
620
621 // Token: 0x04001B3E RID: 6974
623
624 // Token: 0x04001B3F RID: 6975
626
627 // Token: 0x04001B40 RID: 6976
629
630 // Token: 0x04001B41 RID: 6977
631 private bool allowItemClicking;
632
633 // Token: 0x04001B42 RID: 6978
635
636 // Token: 0x04001B43 RID: 6979
638
639 // Token: 0x04001B44 RID: 6980
640 private int worldOver;
641
642 // Token: 0x0200028B RID: 651
644 {
645 // Token: 0x04001B46 RID: 6982
647 // Token: 0x04001B47 RID: 6983
649 // Token: 0x04001B48 RID: 6984
651 }
652}
class f__AnonymousType0<< Count > j__TPar
static DrPlatform.DrPlatformType CurrentPlatform
Definition DrPlatform.cs:26
const double SINGLE_CLICK_TIME
void WorldDraw(ItemGrid_Layout gridLayout, int index, Vector2 position, float scale)
int SortEntry(WorldFileData a, WorldFileData b)
GUIContollerTransactionButtonList WorldListOptionsController
static Texture2D _dividerTexture
int CompareNatural(string strA, string strB)
void WorldOver(int index)
Vector2 ItemSize(int index)
int CompareNatural(string strA, string strB, CultureInfo culture, CompareOptions options)
List< WorldFileData > SortedWorldData
static Texture2D _buttonPlayTexture
const float SINGLE_CLICK_DISTANCE
static Texture2D _buttonCloudInactiveTexture
void SelectAndHighlight(WorldFileData worldDataOld)
bool DrawMenuButton(string label, TransactionButton_Layout buttonLayout, float scale, bool disabled)
static Texture2D _buttonDeleteTexture
Texture2D GetIcon(WorldFileData worldData)
bool DrawMenuButton(ControllerActionButton action, string label, TransactionButton_Layout buttonLayout, float scale, bool disabled)
static Texture2D _buttonFavoriteInactiveTexture
Rectangle UpdateGlitchAnimation(WorldFileData worldData)
static Texture2D _buttonCloudActiveTexture
float WorldScale(int index)
static Texture2D _buttonFavoriteActiveTexture
static void LoadContent(ContentManager content)
GUIContollerTransactionButtonList _worldListOptionsController
const double DOUBLE_CLICK_TIME
bool CanWorldBePlayed(WorldFileData world)
GUIControllerWorldSelect _controllerInput
void DrawWorld(WorldFileData worldData)
Texture2D GetSeedIcon(WorldFileData worldData, string seed)
static CultureInfo CurrentCulture
static Texture2D Load(string name)
static bool RenameWorldUsingLoadAndSave(string newName)
Definition WorldFile.cs:400
static bool mouseLeftRelease
Definition Main.cs:2029
static PlayerFileData ActivePlayerFileData
Definition Main.cs:2701
static bool mouseLeft
Definition Main.cs:671
static void playWorld()
Definition WorldGen.cs:1321