|
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 | |
| NetSocialModule () | |
| RailID | GetLocalPeer () |
| bool | GetSessionState (RailID userId, RailNetworkSessionState state) |
| RailID | RemoteAddressToRailId (RemoteAddress address) |
Protected Attributes | |
| Lobby | _lobby = new Lobby() |
| WeGameP2PReader | _reader |
| WeGameP2PWriter | _writer |
| ConcurrentDictionary< RailID, ConnectionState > | _connectionStateMap = new ConcurrentDictionary<RailID, ConnectionState>() |
Static Protected Attributes | |
| const int | LobbyMessageJoin = 1 |
| static readonly byte[] | _handshake = new byte[10] { 10, 0, 93, 114, 101, 108, 111, 103, 105, 99 } |
Definition at line 8 of file NetSocialModule.cs.