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
GUIPlayerSelectMenu.cs
Go to the documentation of this file.
1using System;
4using Controller;
9using Terraria;
12using Terraria.IO;
13
14// Token: 0x02000279 RID: 633
16{
17 // Token: 0x06000E43 RID: 3651 RVA: 0x00045A2C File Offset: 0x00043C2C
19 {
20 return true;
21 }
22
23 // Token: 0x06000E44 RID: 3652 RVA: 0x00045A3C File Offset: 0x00043C3C
24 public static void LoadContent(ContentManager content)
25 {
26 Texture2D texture2D = content.Load<Texture2D>("Images/UI/Divider");
27 Texture2D texture2D2 = content.Load<Texture2D>("Images/UI/ButtonCloudActive");
28 Texture2D texture2D3 = content.Load<Texture2D>("Images/UI/ButtonCloudInactive");
29 Texture2D texture2D4 = content.Load<Texture2D>("Images/UI/ButtonFavoriteActive");
30 Texture2D texture2D5 = content.Load<Texture2D>("Images/UI/ButtonFavoriteInactive");
31 Texture2D texture2D6 = content.Load<Texture2D>("Images/UI/ButtonPlay");
32 Texture2D texture2D7 = content.Load<Texture2D>("Images/UI/ButtonDelete");
33 }
34
35 // Token: 0x06000E45 RID: 3653 RVA: 0x00045AA0 File Offset: 0x00043CA0
36 public void ActionNew()
37 {
38 Main.menuMode = 2;
39 }
40
41 // Token: 0x1700017B RID: 379
42 // (get) Token: 0x06000E46 RID: 3654 RVA: 0x00045AB4 File Offset: 0x00043CB4
54
55 // Token: 0x06000E47 RID: 3655 RVA: 0x00045ADC File Offset: 0x00043CDC
56 private void DrawPlayerSync()
57 {
58 if (!true)
59 {
60 }
61 if (6899 == 0)
62 {
63 }
64 }
65
66 // Token: 0x06000E48 RID: 3656 RVA: 0x00045AF4 File Offset: 0x00043CF4
67 private bool DrawMenuButton(string label, TransactionButton_Layout buttonLayout, float scale, bool disabled)
68 {
69 /*
70An exception occurred when decompiling this method (06000E48)
71
72ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean GUIPlayerSelectMenu::DrawMenuButton(System.String,TransactionButton_Layout,System.Single,System.Boolean)
73
74 ---> System.Exception: Basic block has to end with unconditional control flow.
75{
76 IL_0029:
77 call:void(SpriteBatchItem::DisabledClipping)
78}
79
80 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
81 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
82 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
83 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
84 --- End of inner exception stack trace ---
85 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
86 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
87*/;
88 }
89
90 // Token: 0x06000E49 RID: 3657 RVA: 0x000021DB File Offset: 0x000003DB
92 {
93 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
94 }
95
96 // Token: 0x06000E4A RID: 3658 RVA: 0x00045B34 File Offset: 0x00043D34
98 {
99 /*
100An exception occurred when decompiling this method (06000E4A)
101
102ICSharpCode.Decompiler.DecompilerException: Error decompiling Microsoft.Xna.Framework.Vector2 GUIPlayerSelectMenu::ItemSize(System.Int32)
103
104 ---> System.Exception: Basic block has to end with unconditional control flow.
105{
106 Block_0:
107 stloc:int32(var_0_06, ldfld:int32(GUIPlayerSelectMenu::SelectedItem, ldloc:GUIPlayerSelectMenu(this)))
108}
109
110 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
111 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
112 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
113 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
114 --- End of inner exception stack trace ---
115 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
116 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
117*/;
118 }
119
120 // Token: 0x06000E4B RID: 3659 RVA: 0x000021DB File Offset: 0x000003DB
122 {
123 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
124 }
125
126 // Token: 0x06000E4C RID: 3660 RVA: 0x000021DB File Offset: 0x000003DB
127 public void Draw()
128 {
129 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
130 }
131
132 // Token: 0x06000E4D RID: 3661 RVA: 0x00045B48 File Offset: 0x00043D48
133 public void Back()
134 {
135 bool flag = this.CloseNameEditIf();
137 Main.menuMode = 0;
138 if (controllerInput != null)
139 {
140 if (controllerInput == null)
141 {
142 }
143 if (controllerInput == null)
144 {
145 }
146 return;
147 }
148 }
149
150 // Token: 0x06000E4E RID: 3662 RVA: 0x00045B74 File Offset: 0x00043D74
151 private void UpdateAnim(Player player, bool animated)
152 {
153 if (!true)
154 {
155 }
156 int num = 9363;
157 int miscCounter = player.miscCounter;
158 int legs = player.legs;
159 player.headFrame.Y = num;
160 player.legFrame.Y = num;
161 player.bodyFrame.Y = num;
162 player.miscCounter = num;
163 int height = player.legFrame.Height;
164 float y = player.velocity.Y;
165 int num2 = true.ToInt();
167 int y2 = player.bodyFrame.Y;
168 int height2 = player.bodyFrame.Height;
169 if (miscCounter == 0)
170 {
171 }
172 int height3 = player.legFrame.Height;
174 }
175
176 // Token: 0x06000E4F RID: 3663 RVA: 0x00045C3C File Offset: 0x00043E3C
177 private void DrawPlayer(Player player, Projectile pet, bool animated)
178 {
179 if (player.dead)
180 {
181 player.PlayerFrame();
182 }
183 float x = this.CharacterOffset.X;
184 float y = this.CharacterOffset.Y;
185 if (pet != null)
186 {
187 int height = player.height;
188 }
189 }
190
191 // Token: 0x06000E50 RID: 3664 RVA: 0x00045C80 File Offset: 0x00043E80
193 {
194 if (!true)
195 {
196 }
197 if (proj.height == 0)
198 {
199 }
200 Vector2 screenPosition = Main.screenPosition;
201 int num = 1;
202 proj.direction = num;
203 int myPlayer = Main.myPlayer;
204 proj.owner = myPlayer;
205 int myPlayer2 = Main.myPlayer;
206 int myPlayer3 = Main.myPlayer;
207 if (player == null || player != null)
208 {
209 Vector2 oldPosition = player.oldPosition;
210 int myPlayer4 = Main.myPlayer;
211 if (playerPosition == null || playerPosition != null)
212 {
213 return;
214 }
215 }
216 throw new ArrayTypeMismatchException();
217 }
218
219 // Token: 0x06000E51 RID: 3665 RVA: 0x00045D04 File Offset: 0x00043F04
220 public void DrawPlayerUI(Player player, Vector2 origin, Vector2 size)
221 {
222 int num = 17004;
223 int width = player.width;
224 int height = player.height;
225 if (num == 0)
226 {
227 }
228 player.UpdateDyes();
229 int body = player.body;
230 bool male = player.Male;
231 int num2 = 24;
232 if (player.sitting == null)
233 {
234 int cBody = player.cBody;
235 player.back = (sbyte)num2;
236 player.cBack = cBody;
237 }
238 if (num2 == 0)
239 {
240 }
241 int cBody2 = player.cBody;
242 player.front = (sbyte)num2;
244 if (num2 == 0)
245 {
246 }
247 sbyte back = player.back;
248 sbyte front = player.front;
249 PlayerSittingHelper sitting = player.sitting;
250 if (sitting == null)
251 {
252 player.front = back;
253 int cBody3 = player.cBody;
255 player.back = sitting;
257 }
258 Item[] inventory = player.inventory;
259 int heldProj = player.heldProj;
260 Item blankItem = this._blankItem;
261 if (blankItem == null || blankItem != null)
262 {
263 Camera camera = Main.Camera;
264 Vector2 screenPosition = Main.screenPosition;
265 if (!true)
266 {
267 }
268 bool isSitting = sitting.isSitting;
269 float x = sitting.offsetForSeat.X;
270 if (sitting != null)
271 {
272 }
273 return;
274 }
275 throw new ArrayTypeMismatchException();
276 }
277
278 // Token: 0x06000E52 RID: 3666 RVA: 0x00045E50 File Offset: 0x00044050
279 public void RefreshPlayers()
280 {
281 if (!true)
282 {
283 }
285 int num = 1;
286 string fileName = activePlayerFileData.GetFileName(num != 0);
288 int size = this.SortedPlayerData._size;
289 string text;
290 bool flag = text == fileName;
292 int size2 = this.SortedPlayerData._size;
293 }
294
295 // Token: 0x06000E53 RID: 3667 RVA: 0x00045EAC File Offset: 0x000440AC
296 private void OpenNameEdit()
297 {
299 int selectedItem = this.SelectedItem;
300 int selectedItem2 = this.SelectedItem;
302 }
303
304 // Token: 0x06000E54 RID: 3668 RVA: 0x00045ED8 File Offset: 0x000440D8
305 private void CloseNameEditAndSave()
306 {
307 string text;
308 int stringLength = text._stringLength;
310 int selectedItem = this.SelectedItem;
312 int selectedItem2 = this.SelectedItem;
314 int selectedItem3 = this.SelectedItem;
315 }
316
317 // Token: 0x06000E55 RID: 3669 RVA: 0x00045F1C File Offset: 0x0004411C
318 private bool CloseNameEditIf()
319 {
320 return true;
321 }
322
323 // Token: 0x06000E56 RID: 3670 RVA: 0x00045F2C File Offset: 0x0004412C
324 private void CloseNameEdit()
325 {
326 }
327
328 // Token: 0x06000E57 RID: 3671 RVA: 0x00045F3C File Offset: 0x0004413C
329 private void PlayerDraw(ItemGrid_Layout gridLayout, int index, Vector2 position, float scale)
330 {
331 int selectedItem = this.SelectedItem;
332 int selectedItem2 = this.SelectedItem;
333 int num = this.playerOver;
334 }
335
336 // Token: 0x06000E58 RID: 3672 RVA: 0x000021DB File Offset: 0x000003DB
337 public void SortPlayers()
338 {
339 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
340 }
341
342 // Token: 0x06000E59 RID: 3673 RVA: 0x0004628C File Offset: 0x0004448C
344 {
345 bool isFavorite = a._isFavorite;
346 bool isFavorite2 = b._isFavorite;
347 if ((!isFavorite || !isFavorite2) && isFavorite2)
348 {
349 return 1;
350 }
351 string name = a.Name;
352 string name2 = b.Name;
353 int num;
354 return num;
355 }
356
357 // Token: 0x06000E5A RID: 3674 RVA: 0x000021DB File Offset: 0x000003DB
358 private float PlayerScale(int index)
359 {
360 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
361 }
362
363 // Token: 0x06000E5B RID: 3675 RVA: 0x000462C4 File Offset: 0x000444C4
364 private void PlayerOver(int index)
365 {
366 bool mouseLeft = Main.mouseLeft;
367 bool mouseLeftRelease = Main.mouseLeftRelease;
369 }
370
371 // Token: 0x06000E5C RID: 3676 RVA: 0x000462E8 File Offset: 0x000444E8
372 public int CompareNatural(string strA, string strB)
373 {
374 if (!true)
375 {
376 }
378 int num;
379 return num;
380 }
381
382 // Token: 0x06000E5D RID: 3677 RVA: 0x00046304 File Offset: 0x00044504
384 {
385 long num2;
386 for (;;)
387 {
388 int stringLength = strB._stringLength;
389 int stringLength2 = strA._stringLength;
390 long num = 0L;
391 num2 = 0L;
392 char c = strA[(int)num];
393 if (stringLength2 == 0)
394 {
395 }
396 bool flag = char.IsDigit(c);
397 bool flag2 = char.IsDigit(strB[(int)num2]);
398 char c2 = strA[(int)num];
399 char c3 = strA[(int)num];
400 if (stringLength2 == 0)
401 {
402 }
403 double numericValue = char.GetNumericValue(c3);
404 char c4 = strB[(int)num2];
405 double numericValue2 = char.GetNumericValue(strB[(int)num2]);
406 int stringLength3 = strA._stringLength;
407 char c5 = strA[(int)num];
408 int stringLength4 = strA._stringLength;
409 int stringLength5 = strB._stringLength;
410 char c6 = strB[(int)num2];
411 int stringLength6 = strB._stringLength;
412 int stringLength7 = strA._stringLength;
413 char c7 = strA[(int)num2];
414 if (stringLength2 == 0)
415 {
416 }
417 bool flag3 = char.IsDigit(c7);
418 long num3 = 0L;
419 int stringLength8 = strB._stringLength;
420 char c8 = strB[(int)num2];
421 if (stringLength2 == 0)
422 {
423 }
424 bool flag4 = char.IsDigit(c8);
425 if (num3 != 0L)
426 {
427 goto IL_00EF;
428 }
429 if (c4 != '\0')
430 {
431 goto IL_010F;
432 }
433 long num4;
434 if (num3 == 0L)
435 {
436 num4 = 0L;
437 while (num3 == 0L)
438 {
439 }
440 goto IL_00EF;
441 }
442 goto IL_0130;
443 IL_0139:
444 string text5;
445 if (num4 != 0L)
446 {
447 char c9 = strB[(int)num2];
448 int num5 = 1;
449 int stringLength9 = strA._stringLength;
450 char c10 = strA[(int)num];
451 if (stringLength9 == 0)
452 {
453 }
454 bool flag5 = char.IsDigit(c10);
455 int stringLength10 = strB._stringLength;
456 char c11 = strB[(int)num2];
457 if (stringLength9 == 0)
458 {
459 }
460 bool flag6 = char.IsDigit(c11);
461 int stringLength11 = strB._stringLength;
462 if (num4 == 0L)
463 {
464 goto IL_01EA;
465 }
466 string text = strA.Substring((int)num, num5);
467 string text2 = strB.Substring((int)num3, (int)c11);
468 string text3 = text + "1";
469 string text4 = text2 + "2";
470 text5 = text + "2";
471 string text6 = text2 + "1";
472 }
473 if (text5 != null)
474 {
475 continue;
476 }
477 IL_01EA:
478 int stringLength12 = strB._stringLength;
479 int stringLength13 = strA._stringLength;
480 if (stringLength12 != 0)
481 {
482 break;
483 }
484 continue;
485 IL_010F:
486 char c12 = strB[(int)num2];
487 int num6;
488 if (num6 == 0)
489 {
490 }
491 double numericValue3 = char.GetNumericValue(c12);
492 if (num3 == 0L)
493 {
494 goto IL_0139;
495 }
496 IL_0130:
497 char c13 = strA[(int)num];
498 goto IL_0139;
499 IL_00EF:
500 char c14 = strA[(int)num];
501 if (stringLength2 == 0)
502 {
503 }
504 double numericValue4 = char.GetNumericValue(c14);
505 num6 = 32768;
506 while (num4 == 0L)
507 {
508 }
509 goto IL_010F;
510 }
511 while (num2 == 0L)
512 {
513 }
514 return 1;
515 }
516
517 // Token: 0x06000E5E RID: 3678 RVA: 0x00046518 File Offset: 0x00044718
519 {
520 if ("" == null)
521 {
522 }
524 if ("" == null)
525 {
526 }
527 if (!true)
528 {
529 }
532 this.playerOver = 1;
533 base..ctor();
534 }
535
536 // Token: 0x04001A0E RID: 6670
537 private const double DOUBLE_CLICK_TIME = 500.0;
538
539 // Token: 0x04001A0F RID: 6671
540 private const double SINGLE_CLICK_TIME = 350.0;
541
542 // Token: 0x04001A10 RID: 6672
543 private const float SINGLE_CLICK_DISTANCE = 30f;
544
545 // Token: 0x04001A11 RID: 6673
546 private float TitleScale;
547
548 // Token: 0x04001A12 RID: 6674
549 private float BackScale;
550
551 // Token: 0x04001A13 RID: 6675
552 private float NewScale;
553
554 // Token: 0x04001A14 RID: 6676
555 private float PlayScale;
556
557 // Token: 0x04001A15 RID: 6677
558 private float EditNameScale;
559
560 // Token: 0x04001A16 RID: 6678
561 private float OptionsScale;
562
563 // Token: 0x04001A17 RID: 6679
564 private float DeleteScale;
565
566 // Token: 0x04001A18 RID: 6680
567 private float FavoriteScale;
568
569 // Token: 0x04001A19 RID: 6681
570 public float ScrollOffset;
571
572 // Token: 0x04001A1A RID: 6682
573 private float ScrollMomentum;
574
575 // Token: 0x04001A1B RID: 6683
576 private int ScrollDragging;
577
578 // Token: 0x04001A1C RID: 6684
580
581 // Token: 0x04001A1D RID: 6685
582 public bool SyncingPlayers;
583
584 // Token: 0x04001A1E RID: 6686
586
587 // Token: 0x04001A1F RID: 6687
589
590 // Token: 0x04001A20 RID: 6688
592
593 // Token: 0x04001A21 RID: 6689
595
596 // Token: 0x04001A22 RID: 6690
598
599 // Token: 0x04001A23 RID: 6691
601
602 // Token: 0x04001A24 RID: 6692
604
605 // Token: 0x04001A25 RID: 6693
606 private int _playerCount;
607
608 // Token: 0x04001A26 RID: 6694
610
611 // Token: 0x04001A27 RID: 6695
613
614 // Token: 0x04001A28 RID: 6696
615 public int SelectedItem = 1;
616
617 // Token: 0x04001A29 RID: 6697
618 public string SelectedItemPlayer = "";
619
620 // Token: 0x04001A2A RID: 6698
622
623 // Token: 0x04001A2B RID: 6699
625
626 // Token: 0x04001A2C RID: 6700
628
629 // Token: 0x04001A2D RID: 6701
630 private float NameScale;
631
632 // Token: 0x04001A2E RID: 6702
633 public bool allowItemClicking;
634
635 // Token: 0x04001A2F RID: 6703
637
638 // Token: 0x04001A30 RID: 6704
640
641 // Token: 0x04001A31 RID: 6705
643
644 // Token: 0x04001A32 RID: 6706
646
647 // Token: 0x04001A33 RID: 6707
649
650 // Token: 0x04001A34 RID: 6708
652
653 // Token: 0x04001A35 RID: 6709
655
656 // Token: 0x04001A36 RID: 6710
657 private int playerOver;
658}
class f__AnonymousType0<< Count > j__TPar
void DrawPlayer(Player player, Projectile pet, bool animated)
static Texture2D _buttonCloudInactiveTexture
void DrawPlayerUI(Player player, Vector2 origin, Vector2 size)
static Texture2D _buttonFavoriteActiveTexture
int CompareNatural(string strA, string strB)
bool IsOverOptions(Vector2 cursorPosition)
static Texture2D _buttonCloudActiveTexture
int SortEntry(PlayerFileData a, PlayerFileData b)
static Texture2D _buttonPlayTexture
void DrawPet(Player player, Projectile proj, Vector2 playerPosition, bool animated)
void PlayerDraw(ItemGrid_Layout gridLayout, int index, Vector2 position, float scale)
static void LoadContent(ContentManager content)
bool DrawMenuButton(string label, TransactionButton_Layout buttonLayout, float scale, bool disabled)
GUIContollerTransactionButtonList _playerListOptionsController
bool DrawMenuButton(ControllerActionButton action, string label, TransactionButton_Layout buttonLayout, float scale, bool disabled)
static Texture2D _buttonFavoriteInactiveTexture
GUIContollerTransactionButtonList PlayerListOptionsController
int CompareNatural(string strA, string strB, CultureInfo culture, CompareOptions options)
List< PlayerFileData > SortedPlayerData
GUIControllerPlayerSelect _controllerInput
void SelectAndHighlight(PlayerFileData playerData)
static Texture2D _buttonDeleteTexture
static Texture2D _dividerTexture
Vector2 ItemSize(int index)
float PlayerScale(int index)
void UpdateAnim(Player player, bool animated)
static CultureInfo CurrentCulture
Vector2 oldPosition
Definition Entity.cs:466
Vector2 velocity
Definition Entity.cs:463
string GetFileName(bool includeExtension=true)
Definition FileData.cs:70
static void LoadPlayers()
Definition Main.cs:5731
static int myPlayer
Definition Main.cs:2337
static Microsoft.Xna.Framework.Vector2 screenPosition
Definition Main.cs:1973
static bool mouseLeftRelease
Definition Main.cs:2029
static Terraria.Graphics.Camera Camera
Definition Main.cs:296
static PlayerFileData ActivePlayerFileData
Definition Main.cs:2701
static bool mouseLeft
Definition Main.cs:671
PlayerSittingHelper sitting
Definition Player.cs:23126
Rectangle bodyFrame
Definition Player.cs:21440
void UpdateDyes()
Definition Player.cs:3749
Item[] inventory
Definition Player.cs:21263
void PlayerFrame()
Definition Player.cs:10462
Rectangle legFrame
Definition Player.cs:21443