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.
1
using
System
;
2
using
Microsoft.Xna.Framework
;
3
using
Terraria
;
4
5
// Token: 0x02000267 RID: 615
6
public
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
{
19
Main
.
CloseKeyboard
();
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
;
52
this._editedName
=
text
;
53
int
stringLength
=
text
._stringLength;
54
long
num2
= 0
L
;
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
69
public
GUIMenuNameEdit
()
70
{
71
}
72
73
// Token: 0x04001964 RID: 6500
74
private
string
_editedName
;
75
76
// Token: 0x04001965 RID: 6501
77
private
bool
_enabled
;
78
}
j__TPar
class f__AnonymousType0<< Count > j__TPar
Definition
--f__AnonymousType0.cs:8
GUIMenuNameEdit.GetInputText
string GetInputText(Rectangle region, int maxCharacters=-1)
Definition
GUIMenuNameEdit.cs:44
GUIMenuNameEdit._enabled
bool _enabled
Definition
GUIMenuNameEdit.cs:77
GUIMenuNameEdit.Enable
void Enable(string nomen)
Definition
GUIMenuNameEdit.cs:34
GUIMenuNameEdit.GUIMenuNameEdit
GUIMenuNameEdit()
Definition
GUIMenuNameEdit.cs:69
GUIMenuNameEdit._editedName
string _editedName
Definition
GUIMenuNameEdit.cs:74
GUIMenuNameEdit.Name
string Name
Definition
GUIMenuNameEdit.cs:26
GUIMenuNameEdit.Enabled
bool Enabled
Definition
GUIMenuNameEdit.cs:12
GUIMenuNameEdit
Definition
GUIMenuNameEdit.cs:7
Terraria.Main.CloseKeyboard
static void CloseKeyboard()
Definition
Main.cs:8523
Terraria.Main.clrInput
static void clrInput()
Definition
Main.cs:8459
Terraria.Main
Definition
Main.cs:67
Microsoft.Xna.Framework
Definition
AudioChannels.cs:4
System.ExceptionArgument.text
@ text
System.ConsoleKey.L
@ L
System
Definition
__ComObject.cs:4
Terraria
Definition
Achievement.cs:10
Microsoft.Xna.Framework.Rectangle
Definition
Rectangle.cs:9
source
GUIMenuNameEdit.cs
Generated by
1.10.0