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
GUIPageOptions.cs
Go to the documentation of this file.
1using System;
2using Controller;
6using Terraria;
9using Terraria.UI;
10
11// Token: 0x0200028C RID: 652
12public class GUIPageOptions
13{
14 // Token: 0x06000F15 RID: 3861 RVA: 0x0004B410 File Offset: 0x00049610
15 public void PushLeft()
16 {
17 }
18
19 // Token: 0x06000F16 RID: 3862 RVA: 0x0004B420 File Offset: 0x00049620
20 public void PopLeft()
21 {
22 }
23
24 // Token: 0x06000F17 RID: 3863 RVA: 0x0004B430 File Offset: 0x00049630
25 public void PushRight()
26 {
27 }
28
29 // Token: 0x06000F18 RID: 3864 RVA: 0x0004B440 File Offset: 0x00049640
30 public void PopRight()
31 {
32 }
33
34 // Token: 0x17000186 RID: 390
35 // (get) Token: 0x06000F19 RID: 3865 RVA: 0x0004B450 File Offset: 0x00049650
36 private bool canDepositAllValue
37 {
38 get
39 {
40 /*
41An exception occurred when decompiling this method (06000F19)
42
43ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean GUIPageOptions::get_canDepositAllValue()
44
45 ---> System.Exception: Basic block has to end with unconditional control flow.
46{
47 IL_0012:
48 stloc:bool(var_4_18, call:bool(ChestUI::CanBeDepositied, ldloc:int64[exp:int32](var_3_0E)))
49}
50
51 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
52 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
53 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
54 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
55 --- End of inner exception stack trace ---
56 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
57 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
58*/;
59 }
60 }
61
62 // Token: 0x06000F1A RID: 3866 RVA: 0x0004B47C File Offset: 0x0004967C
63 public void RefreshLangStrings()
64 {
65 int num = this.lastLang;
68 bool flag = this.usingController;
74 string textValue = Language.GetTextValue("ControllerMappings.ChestRename");
75 if (textValue == null || textValue != null)
76 {
77 string textValue2 = Language.GetTextValue("ControllerMappings.ChestRestock");
78 if (textValue2 == null || textValue2 != null)
79 {
80 string textValue3 = Language.GetTextValue("ControllerMappings.ChestQuickStack");
81 if (textValue3 == null || textValue3 != null)
82 {
83 string textValue4 = Language.GetTextValue("ControllerMappings.ChestDepositAll");
84 if (textValue4 == null || textValue4 != null)
85 {
86 string textValue5 = Language.GetTextValue("ControllerMappings.ChestLootAll");
87 return;
88 }
89 }
90 }
91 }
93 }
94
95 // Token: 0x06000F1B RID: 3867 RVA: 0x0004B5B0 File Offset: 0x000497B0
96 public void DrawFavouriteOption()
97 {
98 int num = 1;
99 this.LoadLeftItemRegion();
100 if (num != 0)
101 {
102 return;
103 }
104 int myPlayer = Main.myPlayer;
105 int myPlayer2 = Main.myPlayer;
106 int myPlayer3 = Main.myPlayer;
107 int myPlayer4 = Main.myPlayer;
109 if (this != null)
110 {
112 return;
113 }
117 {
118 }
119 int num2 = 1;
120 int num3 = 1;
121 long num4 = 0L;
122 long num5 = 0L;
123 long num6 = 0L;
124 long num7 = 0L;
126 Rectangle rectangle = texture2D.Frame(num2, num3, (int)num4, (int)num5, (int)num6, (int)num7);
127 }
128
129 // Token: 0x06000F1C RID: 3868 RVA: 0x0004B690 File Offset: 0x00049890
130 public void DrawQuickStack()
131 {
132 this.LoadLeftItemRegion();
134 int num = 40;
136 string[] array = this.options;
137 if (num != 0)
138 {
139 return;
140 }
142 long num2 = 0L;
145 {
147 }
149 if (num2 == 0L)
150 {
151 return;
152 }
153 int myPlayer = Main.myPlayer;
154 if (Main.npcShop != 0)
155 {
156 int myPlayer2 = Main.myPlayer;
157 Recipe.FindRecipes(false);
158 return;
159 }
160 int myPlayer3 = Main.myPlayer;
161 }
162
163 // Token: 0x06000F1D RID: 3869 RVA: 0x0004B71C File Offset: 0x0004991C
170
171 // Token: 0x06000F1E RID: 3870 RVA: 0x0004B788 File Offset: 0x00049988
172 public void DrawDepositAll()
173 {
174 this.LoadLeftItemRegion();
176 }
177
178 // Token: 0x06000F1F RID: 3871 RVA: 0x0004B828 File Offset: 0x00049A28
179 public void DrawSplitStack()
180 {
181 this.LoadLeftItemRegion();
183 if (splitInvKeyPressed)
184 {
186 {
187 }
188 bool mouseLeft = Main.mouseLeft;
190 {
191 }
192 bool mouseLeftRelease = Main.mouseLeftRelease;
193 if (this.SplitInvKeyPressed)
194 {
195 return;
196 }
197 }
198 }
199
200 // Token: 0x06000F20 RID: 3872 RVA: 0x0004B868 File Offset: 0x00049A68
202 {
205 Vector2 vector = rectangle.Size();
207 if (displayLeftOptionsGlobal)
208 {
210 {
211 }
212 return;
213 }
215 {
216 }
217 }
218
219 // Token: 0x06000F21 RID: 3873 RVA: 0x0004B89C File Offset: 0x00049A9C
220 private void LoadLeftItemRegion()
221 {
222 int num = this.leftItemIndex;
223 float x = this.leftItemSpacing.X;
224 float y = this.leftItemSpacing.Y;
225 if (num == 0)
226 {
227 }
228 float x2 = this.leftItemPosition.X;
229 float y2 = this.leftItemPosition.Y;
230 float x3 = this.leftItemSize.X;
231 float y3 = this.leftItemSize.Y;
232 }
233
234 // Token: 0x06000F22 RID: 3874 RVA: 0x0004B904 File Offset: 0x00049B04
236 {
239 Vector2 vector = rectangle.Size();
241 if (displayRightOptionsGlobal)
242 {
244 {
245 }
246 return;
247 }
249 {
250 }
251 }
252
253 // Token: 0x06000F23 RID: 3875 RVA: 0x0004B938 File Offset: 0x00049B38
254 private void LoadRightItemRegion()
255 {
256 int num = this.rightItemIndex;
257 float x = this.rightItemSpacing.X;
258 float y = this.rightItemSpacing.Y;
259 if (num == 0)
260 {
261 }
262 float x2 = this.rightItemPosition.X;
263 float y2 = this.rightItemPosition.Y;
264 float x3 = this.rightItemSize.X;
265 float y3 = this.rightItemSize.Y;
266 }
267
268 // Token: 0x17000187 RID: 391
269 // (get) Token: 0x06000F24 RID: 3876 RVA: 0x000021DB File Offset: 0x000003DB
270 public int NumLeftOptions
271 {
272 get
273 {
274 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
275 }
276 }
277
278 // Token: 0x06000F25 RID: 3877 RVA: 0x0004B9A0 File Offset: 0x00049BA0
279 private bool CanBeOpened(Item SelectedItem)
280 {
281 /*
282An exception occurred when decompiling this method (06000F25)
283
284ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean GUIPageOptions::CanBeOpened(Terraria.Item)
285
286 ---> System.Exception: Basic block has to end with unconditional control flow.
287{
288 Block_0:
289 stloc:int32(var_0_06, ldfld:int32(Item::type, ldloc:Item(SelectedItem)))
290}
291
292 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
293 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
294 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
295 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
296 --- End of inner exception stack trace ---
297 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
298 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
299*/;
300 }
301
302 // Token: 0x06000F26 RID: 3878 RVA: 0x0004BA1C File Offset: 0x00049C1C
303 public void DrawEquipButton()
304 {
305 Item item;
306 int type = item.type;
307 bool accessory = item.accessory;
308 if (accessory)
309 {
310 int stack = item.stack;
311 return;
312 }
313 int stack2 = item.stack;
314 this.LoadLeftItemRegion();
316 if (accessory)
317 {
318 }
319 this.DrawDepositButton();
321 }
322
323 // Token: 0x06000F27 RID: 3879 RVA: 0x0004BC24 File Offset: 0x00049E24
324 public void DrawDepositButton()
325 {
326 this.LoadLeftItemRegion();
328 int myPlayer = Main.myPlayer;
329 int myPlayer2 = Main.myPlayer;
331 {
332 }
333 }
334
335 // Token: 0x06000F28 RID: 3880 RVA: 0x0004BC94 File Offset: 0x00049E94
336 public void ThrowItem(int additionalVelocity = 0)
337 {
338 if (!true)
339 {
340 }
341 int myPlayer = Main.myPlayer;
342 int type = Main.mouseItem.type;
344 byte prefix = Main.mouseItem.prefix;
345 int num = 32640;
347 Item mouseItem = Main.mouseItem;
348 if (mouseItem == null || mouseItem != null)
349 {
350 bool netHost = Main.NetHost;
351 int myPlayer2 = Main.myPlayer;
352 bool netClient = Main.NetClient;
354 Recipe.FindRecipes(false);
355 return;
356 }
357 throw new ArrayTypeMismatchException();
358 }
359
360 // Token: 0x06000F29 RID: 3881 RVA: 0x0004BD3C File Offset: 0x00049F3C
361 public void DrawLeftThrow()
362 {
363 bool favorited = Main.mouseItem.favorited;
364 }
365
366 // Token: 0x06000F2A RID: 3882 RVA: 0x0004BD60 File Offset: 0x00049F60
367 public void DrawLeftTrash()
368 {
369 if (Main.mouseItemSource != null)
370 {
371 bool favorited = Main.mouseItem.favorited;
372 return;
373 }
374 }
375
376 // Token: 0x06000F2B RID: 3883 RVA: 0x0004BDA8 File Offset: 0x00049FA8
377 public void DrawLeftDeposit()
378 {
381 {
382 return;
383 }
384 }
385
386 // Token: 0x06000F2C RID: 3884 RVA: 0x0004BDBC File Offset: 0x00049FBC
387 public void DrawSellButton()
388 {
389 int myPlayer = Main.myPlayer;
390 Item item;
391 int type = item.type;
392 Item item2;
393 int stack = item2.stack;
394 Item item3;
395 int type2 = item3.type;
396 Item item4;
397 int type3 = item4.type;
398 }
399
400 // Token: 0x06000F2D RID: 3885 RVA: 0x0004BE60 File Offset: 0x0004A060
401 public void DrawChestSort()
402 {
403 }
404
405 // Token: 0x06000F2E RID: 3886 RVA: 0x0004BEC4 File Offset: 0x0004A0C4
407 {
408 this.LoadRightItemRegion();
410 if (splitChestKeyPressed)
411 {
413 {
414 }
415 bool mouseLeft = Main.mouseLeft;
417 {
418 }
419 bool mouseLeftRelease = Main.mouseLeftRelease;
420 if (this.SplitChestKeyPressed)
421 {
422 return;
423 }
424 }
425 }
426
427 // Token: 0x06000F2F RID: 3887 RVA: 0x0004BF04 File Offset: 0x0004A104
428 public void DrawChestRestock()
429 {
430 this.LoadRightItemRegion();
432 int num = 104;
433 string[] array = this.options;
434 if (num != 0)
435 {
436 return;
437 }
441 {
443 if (!splitKeyPressed2)
444 {
445 if (!splitKeyPressed2)
446 {
447 }
448 Main.mouseLeftRelease = false;
449 if (!splitKeyPressed2)
450 {
451 }
453 if (!splitKeyPressed2)
454 {
455 }
456 Recipe.FindRecipes(false);
457 return;
458 }
459 }
460 }
461
462 // Token: 0x17000188 RID: 392
463 // (get) Token: 0x06000F30 RID: 3888 RVA: 0x0004BF6C File Offset: 0x0004A16C
464 private bool CanLootAll
465 {
466 get
467 {
468 /*
469An exception occurred when decompiling this method (06000F30)
470
471ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean GUIPageOptions::get_CanLootAll()
472
473 ---> System.Exception: Basic block has to end with unconditional control flow.
474{
475 IL_003E:
476 stloc:int32(var_13_46, callgetter:int32(Main::get_myPlayer))
477}
478
479 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
480 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
481 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
482 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
483 --- End of inner exception stack trace ---
484 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
485 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
486*/;
487 }
488 }
489
490 // Token: 0x06000F31 RID: 3889 RVA: 0x0004BFC8 File Offset: 0x0004A1C8
491 public void DrawChestLootAll()
492 {
493 this.LoadRightItemRegion();
494 bool canLootAll = this.CanLootAll;
495 }
496
497 // Token: 0x06000F32 RID: 3890 RVA: 0x0004C02C File Offset: 0x0004A22C
498 public void DrawChestRename()
499 {
500 int num = 1;
501 this.LoadRightItemRegion();
502 if (num == 0)
503 {
504 }
505 int myPlayer = Main.myPlayer;
507 int num2 = 88;
508 string[] array = this.options;
509 if (num2 != 0)
510 {
511 return;
512 }
515 if (inputState != GUITransactionButton.InputState.Clicked || this.SplitKeyPressed)
516 {
517 return;
518 }
520 Recipe.FindRecipes(false);
521 }
522
523 // Token: 0x06000F33 RID: 3891 RVA: 0x0004C090 File Offset: 0x0004A290
524 public void DrawChestLoot()
525 {
526 this.LoadRightItemRegion();
527 Item item;
528 int type = item.type;
529 if (item.stack == 0)
530 {
531 }
532 int myPlayer = Main.myPlayer;
533 int myPlayer2 = Main.myPlayer;
534 }
535
536 // Token: 0x06000F34 RID: 3892 RVA: 0x0004C0F8 File Offset: 0x0004A2F8
537 public void DrawChestFavourite()
538 {
539 if (!true)
540 {
541 }
542 int myPlayer = Main.myPlayer;
543 Item item;
544 int type = item.type;
545 bool favorited = item.favorited;
547 if (favorited)
548 {
550 return;
551 }
555 {
556 }
557 int num = 1;
558 int num2 = 1;
559 long num3 = 0L;
560 long num4 = 0L;
561 long num5 = 0L;
562 long num6 = 0L;
564 Rectangle rectangle = texture2D.Frame(num, num2, (int)num3, (int)num4, (int)num5, (int)num6);
565 int num7 = 1;
566 int num8 = 1;
567 long num9 = 0L;
568 long num10 = 0L;
569 long num11 = 0L;
570 long num12 = 0L;
572 Rectangle rectangle2 = texture2D2.Frame(num7, num8, (int)num9, (int)num10, (int)num11, (int)num12);
573 }
574
575 // Token: 0x17000189 RID: 393
576 // (get) Token: 0x06000F35 RID: 3893 RVA: 0x0004C1B0 File Offset: 0x0004A3B0
578 {
579 get
580 {
581 return 2;
582 }
583 }
584
585 // Token: 0x06000F36 RID: 3894 RVA: 0x0004C1C0 File Offset: 0x0004A3C0
586 public void DrawRightThrow()
587 {
588 Item mouseItem = Main.mouseItem;
589 bool favorited = mouseItem.favorited;
590 if (mouseItem == null)
591 {
592 }
595 {
596 return;
597 }
598 }
599
600 // Token: 0x06000F37 RID: 3895 RVA: 0x0004C1E8 File Offset: 0x0004A3E8
601 public void DrawRightTrash()
602 {
603 Item mouseItem = Main.mouseItem;
604 bool favorited = mouseItem.favorited;
605 if (mouseItem == null)
606 {
607 }
608 int whoAmI = mouseItem.whoAmI;
609 Item[] mouseItemSource = Main.mouseItemSource;
612 {
613 return;
614 }
615 int num = 1;
616 int myPlayer = Main.myPlayer;
617 if (num == 0)
618 {
619 }
620 if (myPlayer == 0)
621 {
622 }
623 Recipe.FindRecipes(false);
624 }
625
626 // Token: 0x06000F38 RID: 3896 RVA: 0x0004C238 File Offset: 0x0004A438
627 public void DrawRightDeposit()
628 {
631 {
632 return;
633 }
634 }
635
636 // Token: 0x06000F39 RID: 3897 RVA: 0x0004C24C File Offset: 0x0004A44C
637 public void DepositHeldItem()
638 {
639 if (!true)
640 {
641 }
642 int myPlayer = Main.myPlayer;
643 Item mouseItem = Main.mouseItem;
644 }
645
646 // Token: 0x06000F3A RID: 3898 RVA: 0x0004C2C4 File Offset: 0x0004A4C4
648 {
649 }
650
651 // Token: 0x04001B49 RID: 6985
652 private bool _timerBegan;
653
654 // Token: 0x04001B4A RID: 6986
656
657 // Token: 0x04001B4B RID: 6987
658 private bool _leftPendingPush;
659
660 // Token: 0x04001B4C RID: 6988
662
663 // Token: 0x04001B4D RID: 6989
665
666 // Token: 0x04001B4E RID: 6990
668
669 // Token: 0x04001B4F RID: 6991
671
672 // Token: 0x04001B50 RID: 6992
673 private int _displayItem;
674
675 // Token: 0x04001B51 RID: 6993
677
678 // Token: 0x04001B52 RID: 6994
679 private float leftOptionsScale;
680
681 // Token: 0x04001B53 RID: 6995
682 private float rightOptionsScale;
683
684 // Token: 0x04001B54 RID: 6996
685 private float leftFavoriteScale;
686
687 // Token: 0x04001B55 RID: 6997
689
690 // Token: 0x04001B56 RID: 6998
692
693 // Token: 0x04001B57 RID: 6999
694 private float leftChestSortScale;
695
696 // Token: 0x04001B58 RID: 7000
697 private bool usingController;
698
699 // Token: 0x04001B59 RID: 7001
700 private int lastLang;
701
702 // Token: 0x04001B5A RID: 7002
703 public string[] options;
704
705 // Token: 0x04001B5B RID: 7003
707
708 // Token: 0x04001B5C RID: 7004
710
711 // Token: 0x04001B5D RID: 7005
713
714 // Token: 0x04001B5E RID: 7006
715 private int leftItemIndex;
716
717 // Token: 0x04001B5F RID: 7007
719
720 // Token: 0x04001B60 RID: 7008
722
723 // Token: 0x04001B61 RID: 7009
725
726 // Token: 0x04001B62 RID: 7010
727 private int rightItemIndex;
728
729 // Token: 0x04001B63 RID: 7011
730 private float equipButtonScale;
731
732 // Token: 0x04001B64 RID: 7012
733 private float depositButtonScale;
734
735 // Token: 0x04001B65 RID: 7013
736 private float leftThrowScale;
737
738 // Token: 0x04001B66 RID: 7014
739 private float leftTrashScale;
740
741 // Token: 0x04001B67 RID: 7015
742 private float sellButtonScale = (float)16256;
743
744 // Token: 0x04001B68 RID: 7016
745 private float rightChestSortScale;
746
747 // Token: 0x04001B69 RID: 7017
748 private float chestRestockScale;
749
750 // Token: 0x04001B6A RID: 7018
751 private float chestLootAllScale;
752
753 // Token: 0x04001B6B RID: 7019
754 private float chestRenameScale;
755
756 // Token: 0x04001B6C RID: 7020
757 public bool SplitKeyPressed;
758
759 // Token: 0x04001B6D RID: 7021
761
762 // Token: 0x04001B6E RID: 7022
764
765 // Token: 0x04001B6F RID: 7023
766 private float LootButtonScale = (float)16256;
767}
class f__AnonymousType0<< Count > j__TPar
float leftChestDepositAllScale
bool CanBeOpened(Item SelectedItem)
void LeftItemRegionInitialise()
bool _displayLeftOptionsGlobal
void DrawFavouriteOption()
float leftChestQuickStackScale
void ThrowItem(int additionalVelocity=0)
Vector2 rightItemSpacing
void DrawChestFavourite()
void LoadRightItemRegion()
bool _displayRightOptionsGlobal
Vector2 rightItemPosition
void DrawChestSplitStack()
GUIInputRegionExclusive _optionsBlocker
Vector2 leftItemPosition
void RefreshLangStrings()
void LoadLeftItemRegion()
Vector2 leftItemSpacing
void RightItemRegionInitialise()
bool favorited
Definition Item.cs:2063
byte prefix
Definition Item.cs:2397
static GameCulture ActiveCulture
Definition Language.cs:15
static string GetTextValue(string key)
Definition Language.cs:54
static bool NetHost
Definition Main.cs:5544
static int myPlayer
Definition Main.cs:2337
static Item[] mouseItemSource
Definition Main.cs:2183
static bool mouseLeftRelease
Definition Main.cs:2029
static Item mouseItem
Definition Main.cs:2155
static bool NetClient
Definition Main.cs:5438
static int npcShop
Definition Main.cs:2547
static bool mouseLeft
Definition Main.cs:671
static void FindRecipes(bool canDelayCheck=false)
Definition Recipe.cs:204
static void RenameChest()
Definition ChestUI.cs:183
static void Restock()
Definition ChestUI.cs:236
static void InvalidateTooltips()