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
MPSession_Dummy.cs
Go to the documentation of this file.
1using System;
3using UnityEngine;
4
5// Token: 0x020002AF RID: 687
7{
8 // Token: 0x06000FDD RID: 4061 RVA: 0x0004EEEC File Offset: 0x0004D0EC
9 public MPSession_Dummy(PlatformUser user, string server, int port, MPSessionManager.LobbyState lobbyState)
10 {
11 this.hostUser = user;
13 this.serverAddress = port;
15 }
16
17 // Token: 0x06000FDE RID: 4062 RVA: 0x0004EF24 File Offset: 0x0004D124
23
24 // Token: 0x06000FDF RID: 4063 RVA: 0x0004EF4C File Offset: 0x0004D14C
25 public void GetServerConnection([Out] string server, [Out] int port)
26 {
27 string text = this.serverAddress;
28 int num = this.serverPort;
29 port.m_value = num;
30 }
31
32 // Token: 0x06000FE0 RID: 4064 RVA: 0x0004EF70 File Offset: 0x0004D170
34 {
35 PlatformUser platformUser = this.hostUser;
37 return platformUser;
38 }
39
40 // Token: 0x06000FE1 RID: 4065 RVA: 0x0004EF94 File Offset: 0x0004D194
42 {
43 return this.state;
44 }
45
46 // Token: 0x06000FE2 RID: 4066 RVA: 0x0004EFA8 File Offset: 0x0004D1A8
52
53 // Token: 0x06000FE3 RID: 4067 RVA: 0x0004EFC4 File Offset: 0x0004D1C4
54 public void UpdatePlayerCount()
55 {
56 int num = 1;
57 long num2 = 0L;
58 if (num == 0)
59 {
60 }
61 if (num == 0 || num == 0)
62 {
63 }
65 int numberOfPlayers = metaData.NumberOfPlayers;
67 }
68
69 // Token: 0x06000FE4 RID: 4068 RVA: 0x0004EFF8 File Offset: 0x0004D1F8
70 public bool CanInvite()
71 {
72 }
73
74 // Token: 0x06000FE5 RID: 4069 RVA: 0x0004F008 File Offset: 0x0004D208
76 {
77 return this.MetaData;
78 }
79
80 // Token: 0x06000FE6 RID: 4070 RVA: 0x0004F01C File Offset: 0x0004D21C
82 {
83 this.MetaData = data;
84 }
85
86 // Token: 0x06000FE7 RID: 4071 RVA: 0x0004F030 File Offset: 0x0004D230
88 {
90 string text;
91 Debug.Log("Setting SetClientInSession " + text);
92 }
93
94 // Token: 0x06000FE8 RID: 4072 RVA: 0x0004F054 File Offset: 0x0004D254
95 public bool ClientInSession()
96 {
97 return this.ActiveInSession;
98 }
99
100 // Token: 0x06000FE9 RID: 4073 RVA: 0x0004F068 File Offset: 0x0004D268
101 public void Leave(PlatformUser localUser)
102 {
103 long num = 0L;
104 this.SetClientInSession(num != 0L);
105 PlatformUser platformUser = this.hostUser;
106 }
107
108 // Token: 0x06000FEA RID: 4074 RVA: 0x0004F088 File Offset: 0x0004D288
109 public void Join(PlatformUser localUser)
110 {
111 }
112
113 // Token: 0x04001D7D RID: 7549
115
116 // Token: 0x04001D7E RID: 7550
118
119 // Token: 0x04001D7F RID: 7551
121
122 // Token: 0x04001D80 RID: 7552
123 private bool ActiveInSession;
124
125 // Token: 0x04001D81 RID: 7553
126 private string serverAddress;
127
128 // Token: 0x04001D82 RID: 7554
129 private int serverPort;
130}
class f__AnonymousType0<< Count > j__TPar
MPSession_Dummy(PlatformUser user, MPSessionManager.LobbyState lobbyState)
void SetState(MPSessionManager.LobbyState newState)
void SetMetaData(MPSessionMetaData data)
void Leave(PlatformUser localUser)
PlatformUser GetHost()
MPSessionManager.LobbyState GetState()
void Join(PlatformUser localUser)
void SetClientInSession(bool activeInSession)
PlatformUser hostUser
MPSessionManager.LobbyState state
MPSession_Dummy(PlatformUser user, string server, int port, MPSessionManager.LobbyState lobbyState)
void GetServerConnection([Out] string server, [Out] int port)
MPSessionMetaData GetMetaData()
MPSessionMetaData MetaData
static void Log(object message)
Definition Debug.cs:51
PlatformUser.Platform PlatformId