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
GUIMenuNameEdit.cs
Go to the documentation of this file.
1using System;
3using Terraria;
4
5// Token: 0x02000267 RID: 615
6public class GUIMenuNameEdit
7{
8 // Token: 0x17000177 RID: 375
9 // (get) Token: 0x06000DBD RID: 3517 RVA: 0x00041F08 File Offset: 0x00040108
10 // (set) Token: 0x06000DBE RID: 3518 RVA: 0x00041F1C File Offset: 0x0004011C
11 public bool Enabled
12 {
13 get
14 {
15 return this._enabled;
16 }
17 set
18 {
20 }
21 }
22
23 // Token: 0x17000178 RID: 376
24 // (get) Token: 0x06000DBF RID: 3519 RVA: 0x00041F30 File Offset: 0x00040130
25 public string Name
26 {
27 get
28 {
29 return this._editedName;
30 }
31 }
32
33 // Token: 0x06000DC0 RID: 3520 RVA: 0x00041F44 File Offset: 0x00040144
34 public void Enable(string nomen)
35 {
36 this._enabled = true;
37 if (!true)
38 {
39 }
40 Main.clrInput();
41 }
42
43 // Token: 0x06000DC1 RID: 3521 RVA: 0x00041F64 File Offset: 0x00040164
44 public string GetInputText(Rectangle region, int maxCharacters = -1)
45 {
46 int num = 1;
47 string editedName = this._editedName;
48 if (num == 0)
49 {
50 }
51 string text;
53 int stringLength = text._stringLength;
54 long num2 = 0L;
55 string text2 = text.Substring((int)num2, maxCharacters);
56 this._editedName = text2;
57 if (stringLength == 0)
58 {
59 }
60 string editedName2 = this._editedName;
61 if (stringLength == 0)
62 {
63 }
64 string text3;
65 return text3;
66 }
67
68 // Token: 0x06000DC2 RID: 3522 RVA: 0x00041FB4 File Offset: 0x000401B4
70 {
71 }
72
73 // Token: 0x04001964 RID: 6500
74 private string _editedName;
75
76 // Token: 0x04001965 RID: 6501
77 private bool _enabled;
78}
class f__AnonymousType0<< Count > j__TPar
string GetInputText(Rectangle region, int maxCharacters=-1)
void Enable(string nomen)
static void CloseKeyboard()
Definition Main.cs:8523
static void clrInput()
Definition Main.cs:8459