|
Terraria v1.4.4.9
Terraria source code documentation
|
Public Types | |
| enum | ConnectionState { Inactive , Authenticating , Connected } |
Public Member Functions | |
| override void | Initialize () |
| override void | Shutdown () |
| override bool | IsConnected (RemoteAddress address) |
| override bool | Send (RemoteAddress address, byte[] data, int length) |
| override int | Receive (RemoteAddress address, byte[] data, int offset, int length) |
| override bool | IsDataAvailable (RemoteAddress address) |
| void | Close (RemoteAddress address) |
| void | Connect (RemoteAddress address) |
| void | LaunchLocalServer (Process process, ServerMode mode) |
| bool | CanInvite () |
| void | OpenInviteInterface () |
| void | CancelJoin () |
| bool | StartListening (SocketConnectionAccepted callback) |
| void | StopListening () |
| ulong | GetLobbyId () |
Protected Member Functions | |
| delegate void | AsyncHandshake (CSteamID client) |
| NetSocialModule (int readChannel, int writeChannel) | |
| virtual void | OnLobbyChatMessage (LobbyChatMsg_t result) |
| P2PSessionState_t | GetSessionState (CSteamID userId) |
| CSteamID | RemoteAddressToSteamId (RemoteAddress address) |
Protected Attributes | |
| SteamP2PReader | _reader |
| SteamP2PWriter | _writer |
| Lobby | _lobby = new Lobby() |
| ConcurrentDictionary< CSteamID, ConnectionState > | _connectionStateMap = new ConcurrentDictionary<CSteamID, ConnectionState>() |
| object | _steamLock = new object() |
Static Protected Attributes | |
| const int | ServerReadChannel = 1 |
| const int | ClientReadChannel = 2 |
| const int | LobbyMessageJoin = 1 |
| const ushort | GamePort = 27005 |
| const ushort | SteamPort = 27006 |
| const ushort | QueryPort = 27007 |
| static readonly byte[] | _handshake = new byte[10] { 10, 0, 93, 114, 101, 108, 111, 103, 105, 99 } |
Private Attributes | |
| Callback< LobbyChatMsg_t > | _lobbyChatMessage |
Definition at line 9 of file NetSocialModule.cs.