Inherits Terraria.Social.Base.NetSocialModule.
Inherited by Terraria.Social.WeGame.NetClientSocialModule, and Terraria.Social.WeGame.NetServerSocialModule.
|
enum class | 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 | LaunchLocalServer (Process process, ServerMode mode) |
|
abstract void | OpenInviteInterface () |
|
abstract bool | StartListening (SocketConnectionAccepted callback) |
|
abstract void | StopListening () |
|
|
RailID | GetLocalPeer () |
|
bool | GetSessionState (RailID userId, RailNetworkSessionState state) |
|
RailID | RemoteAddressToRailId (RemoteAddress address) |
|
|
static readonly byte[] | _handshake |
|
const int | LobbyMessageJoin = 1 |
|
◆ _handshake
readonly byte [] Terraria.Social.WeGame.NetSocialModule._handshake |
|
staticprotected |
Initial value:= new byte[10] {
10,
0,
93,
114,
101,
108,
111,
103,
105,
99
}