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
GUIJourneySliderSetting.cs
Go to the documentation of this file.
1using System;
6
7// Token: 0x02000186 RID: 390
9{
10 // Token: 0x06000B06 RID: 2822 RVA: 0x00037720 File Offset: 0x00035920
12 : base(id)
13 {
14 GUISettingID id2 = this._id;
15 }
16
17 // Token: 0x06000B07 RID: 2823 RVA: 0x00037740 File Offset: 0x00035940
18 public void WindBackingHandler(Vector2 position, Vector2 size, Slider_Layout layout, bool controllerOver)
19 {
22 bool wasDragging = this.dragState.wasDragging;
23 if (!wasDragging)
24 {
25 }
27 if (wasDragging)
28 {
30 return;
31 }
32 DateTime dateTime = this.lastShown;
33 double totalSeconds = (now - dateTime).TotalSeconds;
34 }
35
36 // Token: 0x06000B08 RID: 2824 RVA: 0x00037990 File Offset: 0x00035B90
37 public void RainBackingHandler(Vector2 position, Vector2 size, Slider_Layout layout, bool controllerOver)
38 {
40 float sliderValue = CreativePowerManager.Instance.GetPower<CreativePowers.ModifyRainPower>().GetSliderValue();
41 bool wasDragging = this.dragState.wasDragging;
42 if (!wasDragging)
43 {
44 }
46 if (wasDragging)
47 {
49 return;
50 }
51 DateTime dateTime = this.lastShown;
52 double totalSeconds = (now - dateTime).TotalSeconds;
53 }
54
55 // Token: 0x06000B09 RID: 2825 RVA: 0x00037BDC File Offset: 0x00035DDC
56 public void DifficultyBackingHandler(Vector2 position, Vector2 size, Slider_Layout layout, bool controllerOver)
57 {
59 !!0 power = CreativePowerManager.Instance.GetPower();
60 bool wasDragging = this.dragState.wasDragging;
61 if (!wasDragging)
62 {
63 }
65 if (wasDragging)
66 {
68 return;
69 }
70 DateTime dateTime = this.lastShown;
71 double totalSeconds = (now - dateTime).TotalSeconds;
72 }
73
74 // Token: 0x06000B0A RID: 2826 RVA: 0x00037EB0 File Offset: 0x000360B0
75 public override void Draw()
76 {
77 int num = 1;
78 base.Draw();
79 GUISettingID id = this._id;
80 if (num == 0)
81 {
82 }
83 }
84
85 // Token: 0x06000B0B RID: 2827 RVA: 0x000021DB File Offset: 0x000003DB
87 {
88 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
89 }
90
91 // Token: 0x06000B0C RID: 2828 RVA: 0x00037ED0 File Offset: 0x000360D0
92 // Note: this type is marked as 'beforefieldinit'.
94 {
95 }
96
97 // Token: 0x04000B8F RID: 2959
99
100 // Token: 0x04000B90 RID: 2960
102
103 // Token: 0x04000B91 RID: 2961
104 private float iconScale;
105
106 // Token: 0x02000187 RID: 391
107 public struct ColorFadeBackup
108 {
109 // Token: 0x06000B0D RID: 2829 RVA: 0x00037EE0 File Offset: 0x000360E0
111 {
112 this.IconColour = 1;
114 Color color = layout.Label.Color;
115 this.LabelColor = color;
117 if (color == null)
118 {
119 }
120 Color color2 = color * fadeAmount;
121 String_Layout label = layout.Label;
125 }
126
127 // Token: 0x06000B0E RID: 2830 RVA: 0x00037F48 File Offset: 0x00036148
136
137 // Token: 0x04000B92 RID: 2962
139
140 // Token: 0x04000B93 RID: 2963
142
143 // Token: 0x04000B94 RID: 2964
145
146 // Token: 0x04000B95 RID: 2965
148 }
149}
class f__AnonymousType0<< Count > j__TPar
GUISettingID
static Rectangle GetControlRegion(ControlAnchor.ControlId controlId)
static GUIJourneySliderSetting.ColorFadeBackup fadeSettings
void WindBackingHandler(Vector2 position, Vector2 size, Slider_Layout layout, bool controllerOver)
override SettingsOverlaySlider_Layout GetLayout()
void DifficultyBackingHandler(Vector2 position, Vector2 size, Slider_Layout layout, bool controllerOver)
void RainBackingHandler(Vector2 position, Vector2 size, Slider_Layout layout, bool controllerOver)
GUIJourneySliderSetting(GUISettingID id)
GUISettingID _id
GUISlider.DragState dragState
void RestoreFade(TransactionButton_Layout layout)
void ApplyFade(TransactionButton_Layout layout, float fadeAmount)
static DateTime Now
Definition DateTime.cs:530