Inherits Terraria.Social.Base.NetSocialModule.
Inherited by Terraria.Social.WeGame.NetClientSocialModule, and Terraria.Social.WeGame.NetServerSocialModule.
|
enum | ConnectionState { Inactive
, Authenticating
, Connected
} |
|
|
override void | Initialize () |
|
override bool | IsConnected (RemoteAddress address) |
|
override bool | IsDataAvailable (RemoteAddress address) |
|
override int | Receive (RemoteAddress address, byte[] data, int offset, int length) |
|
override bool | Send (RemoteAddress address, byte[] data, int length) |
|
override void | Shutdown () |
|
abstract void | CancelJoin () |
|
abstract bool | CanInvite () |
|
abstract void | Close (RemoteAddress address) |
|
abstract void | Connect (RemoteAddress address) |
|
abstract ulong | GetLobbyId () |
|
abstract void | Initialize () |
|
abstract bool | IsConnected (RemoteAddress address) |
|
abstract bool | IsDataAvailable (RemoteAddress address) |
|
abstract void | LaunchLocalServer (Process process, ServerMode mode) |
|
abstract void | OpenInviteInterface () |
|
abstract int | Receive (RemoteAddress address, byte[] data, int offset, int length) |
|
abstract bool | Send (RemoteAddress address, byte[] data, int length) |
|
abstract void | Shutdown () |
|
abstract bool | StartListening (SocketConnectionAccepted callback) |
|
abstract void | StopListening () |
|
void | Initialize () |
|
void | Shutdown () |
|
|
RailID | GetLocalPeer () |
|
bool | GetSessionState (RailID userId, RailNetworkSessionState state) |
|
RailID | RemoteAddressToRailId (RemoteAddress address) |
|
|
static readonly byte[] | _handshake |
|
const int | LobbyMessageJoin = 1 |
|
◆ Initialize()
override void Terraria.Social.WeGame.NetSocialModule.Initialize |
( |
| ) |
|
|
virtual |
◆ IsConnected()
override bool Terraria.Social.WeGame.NetSocialModule.IsConnected |
( |
RemoteAddress |
address | ) |
|
|
virtual |
◆ IsDataAvailable()
override bool Terraria.Social.WeGame.NetSocialModule.IsDataAvailable |
( |
RemoteAddress |
address | ) |
|
|
virtual |
◆ Receive()
override int Terraria.Social.WeGame.NetSocialModule.Receive |
( |
RemoteAddress |
address, |
|
|
byte[] |
data, |
|
|
int |
offset, |
|
|
int |
length |
|
) |
| |
|
virtual |
◆ Send()
override bool Terraria.Social.WeGame.NetSocialModule.Send |
( |
RemoteAddress |
address, |
|
|
byte[] |
data, |
|
|
int |
length |
|
) |
| |
|
virtual |
◆ Shutdown()
override void Terraria.Social.WeGame.NetSocialModule.Shutdown |
( |
| ) |
|
|
virtual |
◆ _handshake
readonly byte [] Terraria.Social.WeGame.NetSocialModule._handshake |
|
staticprotected |
Initial value:= new byte[10] {
10,
0,
93,
114,
101,
108,
111,
103,
105,
99
}