|
Terraria v1.4.4.9
Terraria source code documentation
|
Public Types | |
| enum | ConnectionState { Inactive , Authenticating , Connected } |
Public Member Functions | |
| override void | Initialize () |
| override void | LaunchLocalServer (Process process, ServerMode mode) |
| override void | Shutdown () |
| override ulong | GetLobbyId () |
| override bool | StartListening (SocketConnectionAccepted callback) |
| override void | StopListening () |
| override void | Close (RemoteAddress address) |
| override bool | CanInvite () |
| override void | OpenInviteInterface () |
| override void | Connect (RemoteAddress address) |
| override void | CancelJoin () |
| void | OnRailEvent (RAILEventID id, EventBase data) |
| 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) |
Protected Member Functions | |
| 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 } |
Private Attributes | |
| RailCallBackHelper | _callbackHelper = new RailCallBackHelper() |
| bool | _hasLocalHost |
| IPCServer | server = new IPCServer() |
| readonly string | _serverIDMedataKey = "terraria.serverid" |
| RailID | _inviter_id = new RailID() |
| List< PlayerPersonalInfo > | _player_info_list |
| MessageDispatcherServer | _msgServer |
Definition at line 13 of file NetClientSocialModule.cs.