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_Local.cs
Go to the documentation of this file.
1
using
System
;
2
using
System.Runtime.InteropServices
;
3
4
// Token: 0x020002B0 RID: 688
5
public
class
MPSession_Local
:
MPSession
6
{
7
// Token: 0x06000FEB RID: 4075 RVA: 0x0004F098 File Offset: 0x0004D298
8
public
MPSession_Local
()
9
{
10
this.state
=
MPSessionManager
.
LobbyState
.InProgress;
11
if
(2 == 0)
12
{
13
}
14
}
15
16
// Token: 0x06000FEC RID: 4076 RVA: 0x0004F0B8 File Offset: 0x0004D2B8
17
public
void
GetServerConnection
([Out]
string
server, [Out]
int
port)
18
{
19
int
num = this.
serverPort
;
20
port.m_value
= num;
21
}
22
23
// Token: 0x06000FED RID: 4077 RVA: 0x0004F0D4 File Offset: 0x0004D2D4
24
public
PlatformUser
GetHost
()
25
{
26
PlatformUser
platformUser = this.
hostUser
;
27
PlatformUser.Platform
platformId
= this.
hostUser
.
PlatformId
;
28
return
platformUser;
29
}
30
31
// Token: 0x06000FEE RID: 4078 RVA: 0x0004F0F8 File Offset: 0x0004D2F8
32
public
MPSessionManager.LobbyState
GetState
()
33
{
34
return
this.
state
;
35
}
36
37
// Token: 0x06000FEF RID: 4079 RVA: 0x0004F10C File Offset: 0x0004D30C
38
public
void
SetState
(
MPSessionManager
.
LobbyState
newState
)
39
{
40
MPSessionManager.LobbyState
lobbyState
= this.
state
;
41
this.state
=
newState
;
42
}
43
44
// Token: 0x06000FF0 RID: 4080 RVA: 0x0004F128 File Offset: 0x0004D328
45
public
void
UpdatePlayerCount
()
46
{
47
}
48
49
// Token: 0x06000FF1 RID: 4081 RVA: 0x0004F138 File Offset: 0x0004D338
50
public
bool
CanInvite
()
51
{
52
}
53
54
// Token: 0x06000FF2 RID: 4082 RVA: 0x0004F148 File Offset: 0x0004D348
55
public
MPSessionMetaData
GetMetaData
()
56
{
57
return
this.
MetaData
;
58
}
59
60
// Token: 0x06000FF3 RID: 4083 RVA: 0x0004F15C File Offset: 0x0004D35C
61
public
void
SetMetaData
(
MPSessionMetaData
data)
62
{
63
this.MetaData
= data;
64
}
65
66
// Token: 0x06000FF4 RID: 4084 RVA: 0x0004F170 File Offset: 0x0004D370
67
public
void
SetClientInSession
(
bool
activeInSession
)
68
{
69
bool
activeInSession2
= this.
ActiveInSession
;
70
}
71
72
// Token: 0x06000FF5 RID: 4085 RVA: 0x0004F184 File Offset: 0x0004D384
73
public
bool
ClientInSession
()
74
{
75
return
this.
ActiveInSession
;
76
}
77
78
// Token: 0x06000FF6 RID: 4086 RVA: 0x0004F198 File Offset: 0x0004D398
79
public
void
Leave
(
PlatformUser
localUser)
80
{
81
if
(this.
ActiveInSession
)
82
{
83
}
84
PlatformUser
platformUser = this.
hostUser
;
85
}
86
87
// Token: 0x06000FF7 RID: 4087 RVA: 0x0004F1B4 File Offset: 0x0004D3B4
88
public
void
Join
(
PlatformUser
localUser)
89
{
90
}
91
92
// Token: 0x04001D83 RID: 7555
93
private
MPSessionManager.LobbyState
state
;
94
95
// Token: 0x04001D84 RID: 7556
96
private
PlatformUser
hostUser
;
97
98
// Token: 0x04001D85 RID: 7557
99
private
MPSessionMetaData
MetaData
;
100
101
// Token: 0x04001D86 RID: 7558
102
private
bool
ActiveInSession
;
103
104
// Token: 0x04001D87 RID: 7559
105
private
string
serverAddress
;
106
107
// Token: 0x04001D88 RID: 7560
108
private
int
serverPort
;
109
}
j__TPar
class f__AnonymousType0<< Count > j__TPar
Definition
--f__AnonymousType0.cs:8
MPSessionManager.LobbyState
LobbyState
Definition
MPSessionManager.cs:187
MPSessionManager
Definition
MPSessionManager.cs:7
MPSessionMetaData
Definition
MPSessionMetaData.cs:6
MPSession_Local.MetaData
MPSessionMetaData MetaData
Definition
MPSession_Local.cs:99
MPSession_Local.SetState
void SetState(MPSessionManager.LobbyState newState)
Definition
MPSession_Local.cs:38
MPSession_Local.state
MPSessionManager.LobbyState state
Definition
MPSession_Local.cs:93
MPSession_Local.Leave
void Leave(PlatformUser localUser)
Definition
MPSession_Local.cs:79
MPSession_Local.SetMetaData
void SetMetaData(MPSessionMetaData data)
Definition
MPSession_Local.cs:61
MPSession_Local.GetMetaData
MPSessionMetaData GetMetaData()
Definition
MPSession_Local.cs:55
MPSession_Local.hostUser
PlatformUser hostUser
Definition
MPSession_Local.cs:96
MPSession_Local.SetClientInSession
void SetClientInSession(bool activeInSession)
Definition
MPSession_Local.cs:67
MPSession_Local.CanInvite
bool CanInvite()
Definition
MPSession_Local.cs:50
MPSession_Local.UpdatePlayerCount
void UpdatePlayerCount()
Definition
MPSession_Local.cs:45
MPSession_Local.ClientInSession
bool ClientInSession()
Definition
MPSession_Local.cs:73
MPSession_Local.Join
void Join(PlatformUser localUser)
Definition
MPSession_Local.cs:88
MPSession_Local.GetHost
PlatformUser GetHost()
Definition
MPSession_Local.cs:24
MPSession_Local.serverAddress
string serverAddress
Definition
MPSession_Local.cs:105
MPSession_Local.ActiveInSession
bool ActiveInSession
Definition
MPSession_Local.cs:102
MPSession_Local.GetServerConnection
void GetServerConnection([Out] string server, [Out] int port)
Definition
MPSession_Local.cs:17
MPSession_Local.GetState
MPSessionManager.LobbyState GetState()
Definition
MPSession_Local.cs:32
MPSession_Local.MPSession_Local
MPSession_Local()
Definition
MPSession_Local.cs:8
MPSession_Local.serverPort
int serverPort
Definition
MPSession_Local.cs:108
MPSession_Local
Definition
MPSession_Local.cs:6
MPSession
Definition
MPSession.cs:6
System.Runtime.InteropServices
Definition
_Activator.cs:4
System
Definition
__ComObject.cs:4
PlatformUser.PlatformId
PlatformUser.Platform PlatformId
Definition
PlatformUser.cs:69
PlatformUser.Platform
Platform
Definition
PlatformUser.cs:73
PlatformUser
Definition
PlatformUser.cs:5
source
MPSession_Local.cs
Generated by
1.10.0