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
XBOOnlinePresencePermissions.cs
Go to the documentation of this file.
1using System;
5
6// Token: 0x0200004C RID: 76
7public static class XBOOnlinePresencePermissions
8{
9 // Token: 0x06000199 RID: 409 RVA: 0x00004B8C File Offset: 0x00002D8C
10 public static void Reset()
11 {
12 if (!true)
13 {
14 }
15 }
16
17 // Token: 0x0600019A RID: 410 RVA: 0x00004BB8 File Offset: 0x00002DB8
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: 0x0600019B RID: 411 RVA: 0x00004C00 File Offset: 0x00002E00
27 public static void SetPermissions(string xboPlayerId, bool canCommunicate)
28 {
29 if (!true)
30 {
31 }
32 }
33
34 // Token: 0x0600019C RID: 412 RVA: 0x00004C10 File Offset: 0x00002E10
35 // Note: this type is marked as 'beforefieldinit'.
37 {
38 }
39
40 // Token: 0x04000118 RID: 280
42
43 // Token: 0x04000119 RID: 281
45
46 // Token: 0x0200004D RID: 77
48 {
49 // Token: 0x0600019D RID: 413 RVA: 0x00004C20 File Offset: 0x00002E20
51 {
53 this.m_target = @object;
55 this.method_code = this;
56 }
57
58 // Token: 0x0600019E RID: 414 RVA: 0x00004C74 File Offset: 0x00002E74
59 public void Invoke(string playerId, bool result)
60 {
63 IntPtr method = this.method;
64 }
65
66 // Token: 0x0600019F RID: 415 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: 0x060001A0 RID: 416 RVA: 0x00004C98 File Offset: 0x00002E98
73 public void EndInvoke(IAsyncResult result)
74 {
75 }
76 }
77
78 // Token: 0x0200004E RID: 78
79 public class RequestResult
80 {
81 // Token: 0x060001A1 RID: 417 RVA: 0x00004CA8 File Offset: 0x00002EA8
82 public void Clear()
83 {
84 }
85
86 // Token: 0x14000004 RID: 4
87 // (add) Token: 0x060001A2 RID: 418 RVA: 0x00004CB8 File Offset: 0x00002EB8
88 // (remove) Token: 0x060001A3 RID: 419 RVA: 0x00004CDC File Offset: 0x00002EDC
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: 0x060001A4 RID: 420 RVA: 0x00004D00 File Offset: 0x00002F00
109 {
110 }
111
112 // Token: 0x0400011A RID: 282
113 public string xboPlayerId;
114
115 // Token: 0x0400011B RID: 283
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)
XBOOnlinePresencePermissions.OnlinePresencePermissionsResult ResultCallbacks
static Dictionary< string, bool > _cachedOnlinePresencePermissions
static void CanSeeOnlinePresence(string xboPlayerId, XBOOnlinePresencePermissions.OnlinePresencePermissionsResult result)
static Dictionary< string, XBOOnlinePresencePermissions.RequestResult > _inprogress
static void SetPermissions(string xboPlayerId, bool canCommunicate)