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
TriggersPack.cs
Go to the documentation of this file.
1using System;
2
3namespace Terraria.GameInput
4{
5 // Token: 0x020006D0 RID: 1744
6 public class TriggersPack
7 {
8 // Token: 0x060039FF RID: 14847 RVA: 0x0022F9FC File Offset: 0x0022DBFC
9 public void Initialize()
10 {
11 bool[] keyStatus = this.Current.KeyStatus;
12 bool[] keyStatus2 = this.Old.KeyStatus;
13 bool[] keyStatus3 = this.JustPressed.KeyStatus;
14 bool[] keyStatus4 = this.JustReleased.KeyStatus;
15 }
16
17 // Token: 0x06003A00 RID: 14848 RVA: 0x0022FA3C File Offset: 0x0022DC3C
18 public void Reset()
19 {
20 TriggersSet current = this.Current;
21 TriggersSet old = this.Old;
22 current.Clone(old);
23 bool[] keyStatus = this.Current.KeyStatus;
24 }
25
26 // Token: 0x06003A01 RID: 14849 RVA: 0x0022FA6C File Offset: 0x0022DC6C
27 public void Update()
28 {
29 TriggersSet old = this.Old;
31 TriggersSet current = this.Current;
32 this.CompareDiffs(justPressed, old, current);
35 TriggersSet old2 = this.Old;
36 this.CompareDiffs(justReleased, current2, old2);
37 }
38
39 // Token: 0x06003A02 RID: 14850 RVA: 0x0022FABC File Offset: 0x0022DCBC
41 {
42 bool[] keyStatus = Bearer.KeyStatus;
43 bool[] keyStatus2 = newset.KeyStatus;
44 bool[] keyStatus3 = oldset.KeyStatus;
45 }
46
47 // Token: 0x06003A03 RID: 14851 RVA: 0x0022FAE0 File Offset: 0x0022DCE0
48 public TriggersPack()
49 {
50 }
51
52 // Token: 0x04007A6C RID: 31340
54
55 // Token: 0x04007A6D RID: 31341
57
58 // Token: 0x04007A6E RID: 31342
60
61 // Token: 0x04007A6F RID: 31343
63 }
64}
class f__AnonymousType0<< Count > j__TPar
void CompareDiffs(TriggersSet Bearer, TriggersSet oldset, TriggersSet newset)
void Clone(TriggersSet output)