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
GUIPlayerAndGameModeMismatch.cs
Go to the documentation of this file.
1
using
System
;
2
using
Terraria
;
3
using
Terraria.Localization
;
4
5
// Token: 0x02000275 RID: 629
6
public
class
GUIPlayerAndGameModeMismatch
7
{
8
// Token: 0x06000E1C RID: 3612 RVA: 0x00043D74 File Offset: 0x00041F74
9
public
bool
CheckMismatch
(
int
playerGameMode
,
int
worldGameMode
)
10
{
11
return
"UI.PlayerIsCreativeAndWorldIsNotCreative"
!=
null
;
12
}
13
14
// Token: 0x06000E1D RID: 3613 RVA: 0x00043D9C File Offset: 0x00041F9C
15
public
void
Draw
()
16
{
17
GUIControllerPlayerAndGameModeMistmatch
inputController
= this.
_inputController
;
18
this.
_inputController
.
Activate
();
19
string
textValue
=
Language
.
GetTextValue
(
"UI.Back"
);
20
GUITransactionButton.InputState
inputState
;
21
if
(
inputState
==
GUITransactionButton
.
InputState
.Clicked)
22
{
23
this.
Back
();
24
}
25
this.
Back
();
26
string
text
= this.
messageText
;
27
}
28
29
// Token: 0x06000E1E RID: 3614 RVA: 0x00043DE0 File Offset: 0x00041FE0
30
private
void
Back
()
31
{
32
Main.menuMode
=
int
.MinValue;
33
}
34
35
// Token: 0x06000E1F RID: 3615 RVA: 0x00043DF8 File Offset: 0x00041FF8
36
public
GUIPlayerAndGameModeMismatch
()
37
{
38
}
39
40
// Token: 0x040019C5 RID: 6597
41
public
bool
WarningDisplayed
;
42
43
// Token: 0x040019C6 RID: 6598
44
private
float
statusScale
;
45
46
// Token: 0x040019C7 RID: 6599
47
private
float
backScale
;
48
49
// Token: 0x040019C8 RID: 6600
50
private
string
messageText
;
51
52
// Token: 0x040019C9 RID: 6601
53
private
GUIControllerPlayerAndGameModeMistmatch
_inputController
;
54
}
j__TPar
class f__AnonymousType0<< Count > j__TPar
Definition
--f__AnonymousType0.cs:8
GUIControllerPlayerAndGameModeMistmatch.Activate
void Activate()
Definition
GUIControllerPlayerAndGameModeMistmatch.cs:9
GUIControllerPlayerAndGameModeMistmatch
Definition
GUIControllerPlayerAndGameModeMistmatch.cs:7
GUIPlayerAndGameModeMismatch._inputController
GUIControllerPlayerAndGameModeMistmatch _inputController
Definition
GUIPlayerAndGameModeMismatch.cs:53
GUIPlayerAndGameModeMismatch.Back
void Back()
Definition
GUIPlayerAndGameModeMismatch.cs:30
GUIPlayerAndGameModeMismatch.backScale
float backScale
Definition
GUIPlayerAndGameModeMismatch.cs:47
GUIPlayerAndGameModeMismatch.Draw
void Draw()
Definition
GUIPlayerAndGameModeMismatch.cs:15
GUIPlayerAndGameModeMismatch.statusScale
float statusScale
Definition
GUIPlayerAndGameModeMismatch.cs:44
GUIPlayerAndGameModeMismatch.GUIPlayerAndGameModeMismatch
GUIPlayerAndGameModeMismatch()
Definition
GUIPlayerAndGameModeMismatch.cs:36
GUIPlayerAndGameModeMismatch.CheckMismatch
bool CheckMismatch(int playerGameMode, int worldGameMode)
Definition
GUIPlayerAndGameModeMismatch.cs:9
GUIPlayerAndGameModeMismatch.messageText
string messageText
Definition
GUIPlayerAndGameModeMismatch.cs:50
GUIPlayerAndGameModeMismatch.WarningDisplayed
bool WarningDisplayed
Definition
GUIPlayerAndGameModeMismatch.cs:41
GUIPlayerAndGameModeMismatch
Definition
GUIPlayerAndGameModeMismatch.cs:7
GUITransactionButton.InputState
InputState
Definition
GUITransactionButton.cs:534
GUITransactionButton
Definition
GUITransactionButton.cs:11
Terraria.Localization.Language.GetTextValue
static string GetTextValue(string key)
Definition
Language.cs:54
Terraria.Localization.Language
Definition
Language.cs:11
System.ExceptionArgument.text
@ text
System
Definition
__ComObject.cs:4
Terraria.Localization
Definition
GameCulture.cs:7
Terraria
Definition
Achievement.cs:10
source
GUIPlayerAndGameModeMismatch.cs
Generated by
1.10.0