![]() |
tModLoader v2025.03
A mod to make and play Terraria mods
|
Inherits NetSocialModule, and NetSocialModule.
Public Member Functions | |
override void | CancelJoin () |
override void | CancelJoin () |
override bool | CanInvite () |
override bool | CanInvite () |
override void | Close (RemoteAddress address) |
override void | Close (RemoteAddress address) |
override void | Connect (RemoteAddress address) |
override void | Connect (RemoteAddress address) |
void | ConnectToLobby (ulong lobbyId) |
override ulong | GetLobbyId () |
override ulong | GetLobbyId () |
override void | Initialize () |
override void | Initialize () |
override void | LaunchLocalServer (Process process, ServerMode mode) |
override void | LaunchLocalServer (Process process, ServerMode mode) |
void | OnRailEvent (RAILEventID id, EventBase data) |
override void | OpenInviteInterface () |
override void | OpenInviteInterface () |
override void | Shutdown () |
override bool | StartListening (SocketConnectionAccepted callback) |
override bool | StartListening (SocketConnectionAccepted callback) |
override void | StopListening () |
override void | StopListening () |
![]() | |
abstract void | CancelJoin () |
abstract bool | CanInvite () |
abstract void | Close (RemoteAddress address) |
abstract void | Connect (RemoteAddress address) |
abstract ulong | GetLobbyId () |
abstract void | Initialize () |
override void | Initialize () |
override void | Initialize () |
abstract bool | IsConnected (RemoteAddress address) |
override bool | IsConnected (RemoteAddress address) |
override bool | IsConnected (RemoteAddress address) |
abstract bool | IsDataAvailable (RemoteAddress address) |
override bool | IsDataAvailable (RemoteAddress address) |
override 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) |
override int | Receive (RemoteAddress address, byte[] data, int offset, int length) |
override int | Receive (RemoteAddress address, byte[] data, int offset, int length) |
abstract bool | Send (RemoteAddress address, byte[] data, int length) |
override bool | Send (RemoteAddress address, byte[] data, int length) |
override bool | Send (RemoteAddress address, byte[] data, int length) |
abstract void | Shutdown () |
override void | Shutdown () |
override void | Shutdown () |
abstract bool | StartListening (SocketConnectionAccepted callback) |
abstract void | StopListening () |
void | Initialize () |
void | Shutdown () |
Additional Inherited Members | |
![]() | |
enum | ConnectionState { Inactive , Authenticating , Connected , Inactive , Authenticating , Connected } |
enum | ConnectionState { Inactive , Authenticating , Connected , Inactive , Authenticating , Connected } |
![]() | |
NetSocialModule (int readChannel, int writeChannel) | |
delegate void | AsyncHandshake (CSteamID client) |
RailID | GetLocalPeer () |
P2PSessionState_t | GetSessionState (CSteamID userId) |
bool | GetSessionState (RailID userId, RailNetworkSessionState state) |
virtual void | OnLobbyChatMessage (LobbyChatMsg_t result) |
RailID | RemoteAddressToRailId (RemoteAddress address) |
CSteamID | RemoteAddressToSteamId (RemoteAddress address) |
![]() | |
ConcurrentDictionary< CSteamID, ConnectionState > | _connectionStateMap = new ConcurrentDictionary<CSteamID, ConnectionState>() |
ConcurrentDictionary< RailID, ConnectionState > | _connectionStateMap = new ConcurrentDictionary<RailID, ConnectionState>() |
Lobby | _lobby = new Lobby() |
SteamP2PReader | _reader |
WeGameP2PReader | _reader |
object | _steamLock = new object() |
SteamP2PWriter | _writer |
WeGameP2PWriter | _writer |
![]() | |
static readonly byte[] | _handshake |
const int | ClientReadChannel = 2 |
const ushort | GamePort = 27005 |
const int | LobbyMessageJoin = 1 |
const ushort | QueryPort = 27007 |
const int | ServerReadChannel = 1 |
const ushort | SteamPort = 27006 |
|
virtual |
Implements NetSocialModule.
|
virtual |
Implements NetSocialModule.
|
virtual |
Implements NetSocialModule.
|
virtual |
Implements NetSocialModule.
|
virtual |
Implements NetSocialModule.
|
virtual |
Implements NetSocialModule.
|
virtual |
Implements NetSocialModule.
|
virtual |
Implements NetSocialModule.
|
virtual |
Implements NetSocialModule.
|
virtual |
Implements NetSocialModule.
|
virtual |
Implements NetSocialModule.
|
virtual |
Implements NetSocialModule.
|
virtual |
Implements NetSocialModule.
|
virtual |
Implements NetSocialModule.
|
virtual |
Implements NetSocialModule.
|
virtual |
Implements NetSocialModule.
|
virtual |
Implements NetSocialModule.
|
virtual |
Implements NetSocialModule.
|
virtual |
Implements NetSocialModule.
|
virtual |
Implements NetSocialModule.
|
virtual |
Implements NetSocialModule.