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
DiscordHooks.cs
Go to the documentation of this file.
1using System;
2
4{
5 // Token: 0x02000516 RID: 1302
6 public class DiscordHooks
7 {
8 // Token: 0x06003170 RID: 12656 RVA: 0x001F82BC File Offset: 0x001F64BC
59
60 // Token: 0x06003171 RID: 12657 RVA: 0x001F836C File Offset: 0x001F656C
111
112 // Token: 0x06003172 RID: 12658 RVA: 0x001F841C File Offset: 0x001F661C
114 {
116 if (onReadyInfo != null)
117 {
118 IntPtr invoke_impl = onReadyInfo.invoke_impl;
119 IntPtr method_code = onReadyInfo.method_code;
120 IntPtr method = onReadyInfo.method;
121 return;
122 }
123 }
124
125 // Token: 0x06003173 RID: 12659 RVA: 0x001F844C File Offset: 0x001F664C
126 private void OnDisconnectedInfo(int errorCode, string message)
127 {
129 if (onDisconnectedInfo != null)
130 {
131 IntPtr invoke_impl = onDisconnectedInfo.invoke_impl;
132 IntPtr method_code = onDisconnectedInfo.method_code;
133 IntPtr method = onDisconnectedInfo.method;
134 return;
135 }
136 }
137
138 // Token: 0x06003174 RID: 12660 RVA: 0x001F847C File Offset: 0x001F667C
139 private void OnErrorInfo(int errorCode, string message)
140 {
142 if (onErrorInfo != null)
143 {
144 IntPtr invoke_impl = onErrorInfo.invoke_impl;
145 IntPtr method_code = onErrorInfo.method_code;
146 IntPtr method = onErrorInfo.method;
147 return;
148 }
149 }
150
151 // Token: 0x06003175 RID: 12661 RVA: 0x001F84AC File Offset: 0x001F66AC
152 private void OnJoinInfo(string secret)
153 {
155 if (onJoinInfo != null)
156 {
157 IntPtr invoke_impl = onJoinInfo.invoke_impl;
158 IntPtr method_code = onJoinInfo.method_code;
159 IntPtr method = onJoinInfo.method;
160 return;
161 }
162 }
163
164 // Token: 0x06003176 RID: 12662 RVA: 0x001F84DC File Offset: 0x001F66DC
165 private void OnSpectateInfo(string secret)
166 {
168 if (onSpectateInfo != null)
169 {
170 IntPtr invoke_impl = onSpectateInfo.invoke_impl;
171 IntPtr method_code = onSpectateInfo.method_code;
172 IntPtr method = onSpectateInfo.method;
173 return;
174 }
175 }
176
177 // Token: 0x06003177 RID: 12663 RVA: 0x001F850C File Offset: 0x001F670C
179 {
181 if (onRequestInfo != null)
182 {
183 IntPtr invoke_impl = onRequestInfo.invoke_impl;
184 IntPtr method_code = onRequestInfo.method_code;
185 IntPtr method = onRequestInfo.method;
186 return;
187 }
188 }
189
190 // Token: 0x06003178 RID: 12664 RVA: 0x001F853C File Offset: 0x001F673C
192 {
193 }
194
195 // Token: 0x04003B22 RID: 15138
197
198 // Token: 0x04003B23 RID: 15139
200
201 // Token: 0x04003B24 RID: 15140
203
204 // Token: 0x04003B25 RID: 15141
206
207 // Token: 0x04003B26 RID: 15142
209
210 // Token: 0x04003B27 RID: 15143
212 }
213}
class f__AnonymousType0<< Count > j__TPar
DiscordRpc.OnSpectateInfo spectateCallback
void OnErrorInfo(int errorCode, string message)
DiscordRpc.OnReadyInfo readyCallback
void OnRequestInfo(DiscordRpc.DiscordUser request)
void RegisterTo(DiscordRpc.EventHandlers handlers)
DiscordRpc.OnDisconnectedInfo disconnectedCallback
void UnRegisterFrom(DiscordRpc.EventHandlers handlers)
DiscordRpc.OnErrorInfo errorCallback
DiscordRpc.OnRequestInfo requestCallback
void OnDisconnectedInfo(int errorCode, string message)
void OnReadyInfo(DiscordRpc.DiscordUser connectedUser)