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
GUIOpenUIButtonSetting.cs
Go to the documentation of this file.
1using System;
3using Terraria;
4
5// Token: 0x0200028E RID: 654
7{
8 // Token: 0x06000F41 RID: 3905 RVA: 0x0004C3A0 File Offset: 0x0004A5A0
10 {
11 this._id = id;
12 }
13
14 // Token: 0x06000F42 RID: 3906 RVA: 0x000021DB File Offset: 0x000003DB
16 {
17 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
18 }
19
20 // Token: 0x06000F43 RID: 3907 RVA: 0x0004C3BC File Offset: 0x0004A5BC
21 public override void Draw()
22 {
23 GUISettingID id = this._id;
24 GUISettingID id2 = this._id;
25 string option = this.GetOption();
26 bool flag = string.IsNullOrEmpty(this.GetButtonCaption());
27 }
28
29 // Token: 0x06000F44 RID: 3908 RVA: 0x000021DB File Offset: 0x000003DB
30 public override float GetElementHeight()
31 {
32 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
33 }
34
35 // Token: 0x06000F45 RID: 3909 RVA: 0x0004C41C File Offset: 0x0004A61C
36 private string GetButtonCaption()
37 {
38 GUISettingID id = this._id;
39 return "Mobile.ButtonActionReset";
40 }
41
42 // Token: 0x06000F46 RID: 3910 RVA: 0x0004C45C File Offset: 0x0004A65C
43 private string GetOption()
44 {
45 GUISettingID id = this._id;
46 return "Mobile.TimeMidnightTitle";
47 }
48
49 // Token: 0x06000F47 RID: 3911 RVA: 0x0004C4B0 File Offset: 0x0004A6B0
50 private void OpenUI()
51 {
52 GUISettingID id = this._id;
53 Main.menuMode = 889;
54 }
55
56 // Token: 0x04001B71 RID: 7025
57 private float scale;
58}
class f__AnonymousType0<< Count > j__TPar
GUISettingID
virtual SettingsOverlayListOption_Layout GetLayout()
GUIOpenUIButtonSetting(GUISettingID id)
GUISettingID _id