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
CoreSocialModule.cs
Go to the documentation of this file.
1using System;
4
6{
7 // Token: 0x02000511 RID: 1297
9 {
10 // Token: 0x1400002E RID: 46
11 // (add) Token: 0x0600314C RID: 12620 RVA: 0x001F7D48 File Offset: 0x001F5F48
12 // (remove) Token: 0x0600314D RID: 12621 RVA: 0x001F7D60 File Offset: 0x001F5F60
13 public static event Action OnTick
14 {
16 add
17 {
19 if (@delegate != null)
20 {
21 }
22 }
24 remove
25 {
27 if (@delegate != null)
28 {
29 }
30 }
31 }
32
33 // Token: 0x0600314E RID: 12622 RVA: 0x001F7D78 File Offset: 0x001F5F78
34 public static void SetSkipPulsing(bool shouldSkipPausing)
35 {
36 }
37
38 // Token: 0x0600314F RID: 12623 RVA: 0x001F7D88 File Offset: 0x001F5F88
39 public void Initialize()
40 {
41 this.IsSteamValid = true;
42 }
43
44 // Token: 0x06003150 RID: 12624 RVA: 0x001F7D9C File Offset: 0x001F5F9C
45 public void PulseSteamTick()
46 {
47 bool flag = Monitor.TryEnter(this._steamTickLock);
50 }
51
52 // Token: 0x06003151 RID: 12625 RVA: 0x001F7DCC File Offset: 0x001F5FCC
53 public void PulseSteamCallback()
54 {
55 bool flag = Monitor.TryEnter(this._steamCallbackLock);
58 }
59
60 // Token: 0x06003152 RID: 12626 RVA: 0x001F7DFC File Offset: 0x001F5FFC
61 public static void Pulse()
62 {
63 }
64
65 // Token: 0x06003153 RID: 12627 RVA: 0x001F7E0C File Offset: 0x001F600C
66 private void SteamTickLoop(object context)
67 {
68 do
69 {
71 if (!this.IsSteamValid)
72 {
73 break;
74 }
75 bool flag = Monitor.Wait(this._steamTickLock);
76 }
77 while (this.IsSteamValid);
79 }
80
81 // Token: 0x06003154 RID: 12628 RVA: 0x001F7E4C File Offset: 0x001F604C
82 private void SteamCallbackLoop(object context)
83 {
84 }
85
86 // Token: 0x06003155 RID: 12629 RVA: 0x001F7E5C File Offset: 0x001F605C
87 public void Shutdown()
88 {
89 }
90
91 // Token: 0x06003156 RID: 12630 RVA: 0x001F7E6C File Offset: 0x001F606C
93 {
94 }
95
96 // Token: 0x04003B11 RID: 15121
98
99 // Token: 0x04003B12 RID: 15122
100 public const int SteamAppId = 105600;
101
102 // Token: 0x04003B13 RID: 15123
103 private bool IsSteamValid;
104
105 // Token: 0x04003B14 RID: 15124
107 private static Action OnTick;
108
109 // Token: 0x04003B15 RID: 15125
110 private object _steamTickLock;
111
112 // Token: 0x04003B16 RID: 15126
113 private object _steamCallbackLock;
114
115 // Token: 0x04003B17 RID: 15127
116 private bool _skipPulsing;
117 }
118}
class f__AnonymousType0<< Count > j__TPar
static bool Wait(object obj, int millisecondsTimeout, bool exitContext)
Definition Monitor.cs:64
static void Exit(object obj)
Definition Monitor.cs:47
static bool TryEnter(object obj)
Definition Monitor.cs:52
static void Enter(object obj)
Definition Monitor.cs:11
static void Pulse(object obj)
Definition Monitor.cs:85
static void SetSkipPulsing(bool shouldSkipPausing)