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
UIKeybindingToggleListItem.cs
Go to the documentation of this file.
1using System;
5using Terraria.UI;
6
8{
9 // Token: 0x02000AC0 RID: 2752
11 {
12 // Token: 0x060050FD RID: 20733 RVA: 0x0027F0A4 File Offset: 0x0027D2A4
14 {
15 int num = 1;
16 if (num == 0)
17 {
18 }
19 base..ctor();
20 num.m_value = color;
21 if (num == 0)
22 {
23 }
24 }
25
26 // Token: 0x060050FE RID: 20734 RVA: 0x0027F0DC File Offset: 0x0027D2DC
27 protected override void DrawSelf(SpriteBatch spriteBatch)
28 {
29 base.DrawSelf(spriteBatch);
30 float x = this._dimensions.X;
31 float y = this._dimensions.Y;
32 float width = this._dimensions.Width;
33 bool <IsMouseHovering>k__BackingField = this.<IsMouseHovering>k__BackingField;
34 }
35
36 // Token: 0x040089B6 RID: 35254
37 private Color _color;
38
39 // Token: 0x040089B7 RID: 35255
41
42 // Token: 0x040089B8 RID: 35256
44
45 // Token: 0x040089B9 RID: 35257
47
48 // Token: 0x02000AC1 RID: 2753
50 [Serializable]
51 private sealed class <>c
52 {
53 // Token: 0x060050FF RID: 20735 RVA: 0x0027F1F4 File Offset: 0x0027D3F4
54 // Note: this type is marked as 'beforefieldinit'.
56 {
57 }
58
59 // Token: 0x06005100 RID: 20736 RVA: 0x0027F204 File Offset: 0x0027D404
61 {
62 }
63
64 // Token: 0x06005101 RID: 20737 RVA: 0x0027F218 File Offset: 0x0027D418
65 internal string <.ctor>b__4_0()
66 {
67 return "???";
68 }
69
70 // Token: 0x06005102 RID: 20738 RVA: 0x0027F22C File Offset: 0x0027D42C
71 internal bool <.ctor>b__4_1()
72 {
73 }
74
75 // Token: 0x040089BA RID: 35258
77
78 // Token: 0x040089BB RID: 35259
79 public static Func<string> <>9__4_0;
80
81 // Token: 0x040089BC RID: 35260
82 public static Func<bool> <>9__4_1;
83 }
84 }
85}
class f__AnonymousType0<< Count > j__TPar
UIKeybindingToggleListItem(Func< string > getText, Func< bool > getStatus, Color color)
UIElement< Parent > k__BackingField
CalculatedStyle _dimensions