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
XBOChatPermissions.cs
Go to the documentation of this file.
1using System;
5
6// Token: 0x02000046 RID: 70
7public static class XBOChatPermissions
8{
9 // Token: 0x0600017E RID: 382 RVA: 0x0000491C File Offset: 0x00002B1C
10 public static void Reset()
11 {
12 if (!true)
13 {
14 }
15 }
16
17 // Token: 0x0600017F RID: 383 RVA: 0x00004948 File Offset: 0x00002B48
18 public static void CanChatWith(string xboPlayerId, XBOChatPermissions.ChatPermissionsResult result)
19 {
20 bool flag = string.IsNullOrEmpty(xboPlayerId);
21 IntPtr invoke_impl = result.invoke_impl;
22 IntPtr method_code = result.method_code;
23 IntPtr method = result.method;
24 }
25
26 // Token: 0x06000180 RID: 384 RVA: 0x00004990 File Offset: 0x00002B90
27 public static void SetPermissions(string xboPlayerId, bool canCommunicate)
28 {
29 if (!true)
30 {
31 }
32 }
33
34 // Token: 0x06000181 RID: 385 RVA: 0x000049A0 File Offset: 0x00002BA0
35 // Note: this type is marked as 'beforefieldinit'.
37 {
38 }
39
40 // Token: 0x04000113 RID: 275
42
43 // Token: 0x04000114 RID: 276
45
46 // Token: 0x02000047 RID: 71
48 {
49 // Token: 0x06000182 RID: 386 RVA: 0x000049B0 File Offset: 0x00002BB0
50 public ChatPermissionsResult(object @object, IntPtr method)
51 {
53 this.m_target = @object;
55 this.method_code = this;
56 }
57
58 // Token: 0x06000183 RID: 387 RVA: 0x00004A04 File Offset: 0x00002C04
59 public void Invoke(string playerId, bool result)
60 {
63 IntPtr method = this.method;
64 }
65
66 // Token: 0x06000184 RID: 388 RVA: 0x000021DB File Offset: 0x000003DB
67 public IAsyncResult BeginInvoke(string playerId, bool result, AsyncCallback callback, object @object)
68 {
69 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
70 }
71
72 // Token: 0x06000185 RID: 389 RVA: 0x00004A28 File Offset: 0x00002C28
73 public void EndInvoke(IAsyncResult result)
74 {
75 }
76 }
77
78 // Token: 0x02000048 RID: 72
79 public class RequestResult
80 {
81 // Token: 0x06000186 RID: 390 RVA: 0x00004A38 File Offset: 0x00002C38
82 public void Clear()
83 {
84 }
85
86 // Token: 0x14000003 RID: 3
87 // (add) Token: 0x06000187 RID: 391 RVA: 0x00004A48 File Offset: 0x00002C48
88 // (remove) Token: 0x06000188 RID: 392 RVA: 0x00004A6C File Offset: 0x00002C6C
90 {
92 add
93 {
94 if (Delegate.Combine(this.ResultCallbacks, value) != null)
95 {
96 }
97 }
99 remove
100 {
101 if (Delegate.Remove(this.ResultCallbacks, value) != null)
102 {
103 }
104 }
105 }
106
107 // Token: 0x06000189 RID: 393 RVA: 0x00004A90 File Offset: 0x00002C90
109 {
110 }
111
112 // Token: 0x04000115 RID: 277
113 public string xboPlayerId;
114
115 // Token: 0x04000116 RID: 278
118 }
119}
class f__AnonymousType0<< Count > j__TPar
static Delegate Combine(Delegate a, Delegate b)
Definition Delegate.cs:255
IntPtr method_code
Definition Delegate.cs:386
IntPtr invoke_impl
Definition Delegate.cs:371
static Delegate Remove(Delegate source, Delegate value)
Definition Delegate.cs:278
IAsyncResult BeginInvoke(string playerId, bool result, AsyncCallback callback, object @object)
ChatPermissionsResult(object @object, IntPtr method)
void Invoke(string playerId, bool result)
XBOChatPermissions.ChatPermissionsResult ResultCallbacks
static Dictionary< string, bool > _cachedChatPermissions
static void CanChatWith(string xboPlayerId, XBOChatPermissions.ChatPermissionsResult result)
static void SetPermissions(string xboPlayerId, bool canCommunicate)
static Dictionary< string, XBOChatPermissions.RequestResult > _inprogress