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
Localisation.cs
Go to the documentation of this file.
1
using
System
;
2
using
UnityEngine
;
3
4
// Token: 0x02000059 RID: 89
5
public
class
Localisation
6
{
7
// Token: 0x060001E1 RID: 481 RVA: 0x000059E8 File Offset: 0x00003BE8
8
private
static
SystemLanguage
GetPS4SystemLanguage
()
9
{
10
return
SystemLanguage
.English;
11
}
12
13
// Token: 0x060001E2 RID: 482 RVA: 0x000059F8 File Offset: 0x00003BF8
14
private
static
SystemLanguage
GetSwitchSystemLanguage
()
15
{
16
return
SystemLanguage
.English;
17
}
18
19
// Token: 0x060001E3 RID: 483 RVA: 0x00005A08 File Offset: 0x00003C08
20
public
static
int
GetLanguage
()
21
{
22
SystemLanguage
systemLanguage =
Application
.
systemLanguage
;
23
Type
type;
24
string
text
;
25
bool
flag =
Enum
.
IsDefined
(type,
text
);
26
Type
type2
;
27
string
text2;
28
object
obj
=
Enum
.
Parse
(
type2
, text2);
29
return
1;
30
}
31
32
// Token: 0x060001E4 RID: 484 RVA: 0x00005A38 File Offset: 0x00003C38
33
public
Localisation
()
34
{
35
}
36
37
// Token: 0x0200005A RID: 90
38
public
enum
SupportedLanguages
39
{
40
// Token: 0x040001D6 RID: 470
41
English
= 1,
42
// Token: 0x040001D7 RID: 471
43
German
,
44
// Token: 0x040001D8 RID: 472
45
Italian
,
46
// Token: 0x040001D9 RID: 473
47
French
,
48
// Token: 0x040001DA RID: 474
49
Spanish
,
50
// Token: 0x040001DB RID: 475
51
Russian
,
52
// Token: 0x040001DC RID: 476
53
Portuguese
= 8,
54
// Token: 0x040001DD RID: 477
55
Japanese
= 10
56
}
57
}
j__TPar
class f__AnonymousType0<< Count > j__TPar
Definition
--f__AnonymousType0.cs:8
Localisation.GetSwitchSystemLanguage
static SystemLanguage GetSwitchSystemLanguage()
Definition
Localisation.cs:14
Localisation.GetPS4SystemLanguage
static SystemLanguage GetPS4SystemLanguage()
Definition
Localisation.cs:8
Localisation.SupportedLanguages
SupportedLanguages
Definition
Localisation.cs:39
Localisation.SupportedLanguages.Portuguese
@ Portuguese
Localisation.SupportedLanguages.Italian
@ Italian
Localisation.SupportedLanguages.English
@ English
Localisation.SupportedLanguages.German
@ German
Localisation.SupportedLanguages.French
@ French
Localisation.SupportedLanguages.Spanish
@ Spanish
Localisation.SupportedLanguages.Russian
@ Russian
Localisation.SupportedLanguages.Japanese
@ Japanese
Localisation.Localisation
Localisation()
Definition
Localisation.cs:33
Localisation.GetLanguage
static int GetLanguage()
Definition
Localisation.cs:20
Localisation
Definition
Localisation.cs:6
System.Enum.IsDefined
static bool IsDefined(Type enumType, object value)
Definition
Enum.cs:351
System.Enum.Parse
static object Parse(Type enumType, string value)
Definition
Enum.cs:133
System.Enum
Definition
Enum.cs:12
System.Type
Definition
Type.cs:12
UnityEngine.Application.systemLanguage
static SystemLanguage systemLanguage
Definition
Application.cs:130
UnityEngine.Application
Definition
Application.cs:29
System.ExceptionArgument.text
@ text
System.ExceptionArgument.obj
@ obj
System
Definition
__ComObject.cs:4
UnityEngine.SystemLanguage
SystemLanguage
Definition
SystemLanguage.cs:7
UnityEngine
Definition
_AndroidJNIHelper.cs:6
source
Localisation.cs
Generated by
1.10.0