terraria-cpp2il v1.4.4.9
Terraria mobile dump, with CallAnalysis (see source code). Dump with reconstucted method: https://infinitynichto.github.io/terraria-cpp2il-methodrecon
Loading...
Searching...
No Matches
MPSessionManager.cs
Go to the documentation of this file.
1using System;
6using Terraria;
8using Terraria.IO;
9
10[global::Cpp2ILInjected.Token(Token = "0x20002B4")]
11public class MPSessionManager
12{
13 [global::Cpp2ILInjected.Token(Token = "0x600100A")]
14 [global::Cpp2ILInjected.Address(RVA = "0xA3C00C", Offset = "0xA3C00C", Length = "0x64")]
15 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(LocalUser), Member = ".ctor", MemberParameters = new object[]
16 {
17 typeof(int),
19 }, ReturnType = typeof(void))]
20 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
21 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(MPSessionManager), Member = ".ctor", ReturnType = typeof(void))]
22 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
23 public static MPSessionManager Create()
24 {
25 throw null;
26 }
27
28 [global::Cpp2ILInjected.Token(Token = "0x600100B")]
29 [global::Cpp2ILInjected.Address(RVA = "0xA3C070", Offset = "0xA3C070", Length = "0x64")]
30 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(MPSessionManager), Member = "Create", ReturnType = typeof(MPSessionManager))]
31 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
32 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
33 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
35 {
36 throw null;
37 }
38
39 [global::Cpp2ILInjected.Token(Token = "0x600100C")]
40 [global::Cpp2ILInjected.Address(RVA = "0xA3C0D4", Offset = "0xA3C0D4", Length = "0x8")]
41 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
43 {
44 throw null;
45 }
46
47 [global::Cpp2ILInjected.Token(Token = "0x600100D")]
48 [global::Cpp2ILInjected.Address(RVA = "0xA3C0DC", Offset = "0xA3C0DC", Length = "0xAC")]
49 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
50 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ServerAutoFinder), Member = "LookForFriendPlatformGames", ReturnType = typeof(void))]
51 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
52 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
54 {
55 throw null;
56 }
57
58 [global::Cpp2ILInjected.Token(Token = "0x600100E")]
59 [global::Cpp2ILInjected.Address(RVA = "0xA3C188", Offset = "0xA3C188", Length = "0xC4")]
60 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
61 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIMultiplayerHost), Member = "HostServer", ReturnType = typeof(void))]
62 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
63 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
65 {
66 throw null;
67 }
68
69 [global::Cpp2ILInjected.Token(Token = "0x600100F")]
70 [global::Cpp2ILInjected.Address(RVA = "0xA3C24C", Offset = "0xA3C24C", Length = "0xDC")]
71 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
72 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIMultiplayerJoin), Member = "DrawMainButtons", ReturnType = typeof(void))]
73 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIMultiplayerLobby), Member = "JoinServer", ReturnType = typeof(void))]
74 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
75 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
76 public MPSession CreateNewDirectSession(PlatformUser hostUser, MPSessionManager.LobbyState state, string serverAddress, int serverPort)
77 {
78 throw null;
79 }
80
81 [global::Cpp2ILInjected.Token(Token = "0x6001010")]
82 [global::Cpp2ILInjected.Address(RVA = "0xA3C328", Offset = "0xA3C328", Length = "0x8")]
83 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
85 {
86 throw null;
87 }
88
89 [global::Cpp2ILInjected.Token(Token = "0x6001011")]
90 [global::Cpp2ILInjected.Address(RVA = "0xA3C330", Offset = "0xA3C330", Length = "0x4")]
91 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
93 {
94 throw null;
95 }
96
97 [global::Cpp2ILInjected.Token(Token = "0x6001012")]
98 [global::Cpp2ILInjected.Address(RVA = "0xA3C334", Offset = "0xA3C334", Length = "0x500")]
99 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
100 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "DoDraw", MemberParameters = new object[] { typeof(GameTime) }, ReturnType = typeof(void))]
101 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
102 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_gameMenu", ReturnType = typeof(bool))]
103 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "get_menuMode", ReturnType = typeof(int))]
104 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ThreadManager), Member = "IsThreadRunning", MemberParameters = new object[] { typeof(ManagedThread) }, ReturnType = typeof(bool))]
105 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ThreadManager), Member = "TerminateThread", MemberParameters = new object[] { typeof(ManagedThread) }, ReturnType = typeof(void))]
106 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "set_mouseLeftRelease", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
107 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GUIPageIcons), Member = "Close", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
108 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "set_ingameOptionsWindow", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
109 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GUISettings), Member = "ShutdownUI", ReturnType = typeof(void))]
110 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SoundEngine), Member = "PlaySound", MemberParameters = new object[]
111 {
112 typeof(int),
113 typeof(int),
114 typeof(int),
115 typeof(int),
116 typeof(float),
117 typeof(float)
118 }, ReturnType = typeof(SoundEffectInstance))]
119 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Recipe), Member = "FindRecipes", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
120 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "SaveSettings", ReturnType = typeof(bool))]
121 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "set_menuMode", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
122 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(WorldGen), Member = "SaveAndQuit", ReturnType = typeof(void))]
123 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GUIVirtualInputController), Member = "Hide", ReturnType = typeof(void))]
124 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GUIControllerNavigationController), Member = "set_CurrentNavigationItem", MemberParameters = new object[] { typeof(GUIControllerItem) }, ReturnType = typeof(void))]
125 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GUIMainMenu), Member = "SelectMultiplayer", ReturnType = typeof(void))]
126 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GUINetPlayStatusMenu), Member = "Quit", ReturnType = typeof(void))]
127 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 31)]
128 public void UpdateUI()
129 {
130 throw null;
131 }
132
133 [global::Cpp2ILInjected.Token(Token = "0x6001013")]
134 [global::Cpp2ILInjected.Address(RVA = "0xA3C834", Offset = "0xA3C834", Length = "0x258")]
135 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
136 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Main), Member = "SelectPlayer", MemberParameters = new object[] { typeof(PlayerFileData) }, ReturnType = typeof(void))]
137 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
138 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GUIMultiplayerLobby), Member = "Shutdown", ReturnType = typeof(void))]
139 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(DrPlatform), Member = "get_CurrentPlatform", ReturnType = typeof(DrPlatform.DrPlatformType))]
140 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(PlatformUser), Member = "get_CurrentUser", ReturnType = typeof(PlatformUser))]
141 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "op_Equality", MemberParameters = new object[]
142 {
143 typeof(string),
144 typeof(string)
145 }, ReturnType = typeof(bool))]
146 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GUIMultiplayerLobby), Member = "StartNewServer", ReturnType = typeof(void))]
147 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "set_menuMode", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
148 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "set_spawnTileX", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
149 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Main), Member = "set_spawnTileY", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
150 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(WorldGen), Member = "JoinLocalWorld", ReturnType = typeof(void))]
151 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 11)]
152 public void PlayerSelected()
153 {
154 throw null;
155 }
156
157 [global::Cpp2ILInjected.Token(Token = "0x6001014")]
158 [global::Cpp2ILInjected.Address(RVA = "0xA3CA8C", Offset = "0xA3CA8C", Length = "0xDC")]
159 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
160 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIMultiplayerWaitingHost), Member = "Draw", ReturnType = typeof(void))]
161 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIPlayerSelectMenu), Member = "Back", ReturnType = typeof(void))]
162 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
163 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(PlatformUser), Member = "get_CurrentUser", ReturnType = typeof(PlatformUser))]
164 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
165 public void CancelPending()
166 {
167 throw null;
168 }
169
170 [global::Cpp2ILInjected.Token(Token = "0x6001015")]
171 [global::Cpp2ILInjected.Address(RVA = "0xA3CB68", Offset = "0xA3CB68", Length = "0x1D0")]
172 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
173 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(GUIPVPIcons), Member = "Draw", ReturnType = typeof(void))]
174 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
175 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(PlatformUser), Member = "get_CurrentUser", ReturnType = typeof(PlatformUser))]
176 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
177 public void OpenInviteOverlay()
178 {
179 throw null;
180 }
181
182 [global::Cpp2ILInjected.Token(Token = "0x4001D89")]
184
185 [global::Cpp2ILInjected.Token(Token = "0x4001D8A")]
186 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
188
189 [global::Cpp2ILInjected.Token(Token = "0x4001D8B")]
190 [global::Cpp2ILInjected.FieldOffset(Offset = "0x18")]
192
193 [global::Cpp2ILInjected.Token(Token = "0x4001D8C")]
194 [global::Cpp2ILInjected.FieldOffset(Offset = "0x20")]
196
197 [global::Cpp2ILInjected.Token(Token = "0x4001D8D")]
198 [global::Cpp2ILInjected.FieldOffset(Offset = "0x28")]
200
201 [global::Cpp2ILInjected.Token(Token = "0x20002B5")]
202 public enum LobbyState
203 {
204 [global::Cpp2ILInjected.Token(Token = "0x4001D8F")]
205 None,
206 [global::Cpp2ILInjected.Token(Token = "0x4001D90")]
207 MenuLobby,
208 [global::Cpp2ILInjected.Token(Token = "0x4001D91")]
210 [global::Cpp2ILInjected.Token(Token = "0x4001D92")]
212 }
213}
class f__AnonymousType0<< Count > j__TPar
void SessionInviteJoined(MPSession newSession)
static MPSessionManager Instance
static MPSessionManager Create()
MPSession[] FindUserSessions(PlatformUser[] users)
MPSession CreateNewDirectSession(PlatformUser hostUser, MPSessionManager.LobbyState state, string serverAddress, int serverPort)
MPSessionAPI platformAPI
MPSession CreateNewSession(PlatformUser hostUser, MPSessionManager.LobbyState state)
void SetPendingSession(MPSession session)
void CheckShutdownSwitchMPMenus()