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

◆ GetLanguage()

static int Localisation.GetLanguage ( )
inlinestatic

Definition at line 20 of file Localisation.cs.

21 {
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 }
class f__AnonymousType0<< Count > j__TPar
static bool IsDefined(Type enumType, object value)
Definition Enum.cs:351
static object Parse(Type enumType, string value)
Definition Enum.cs:133
static SystemLanguage systemLanguage

References System.Enum.IsDefined(), j__TPar, System.obj, System.Enum.Parse(), UnityEngine.Application.systemLanguage, and System.text.