tModLoader  0.12 Alpha
A mod to make and play Terraria mods
Terraria.Social.WeGame.NetServerSocialModule Class Reference

Inherits Terraria.Social.WeGame.NetSocialModule.

Public Member Functions

override void CancelJoin ()
 
override bool CanInvite ()
 
override void Close (RemoteAddress address)
 
override void Connect (RemoteAddress address)
 
override ulong GetLobbyId ()
 
override void Initialize ()
 
override void LaunchLocalServer (Process process, ServerMode mode)
 
void OnConnected ()
 
void OnRailEvent (RAILEventID event_id, EventBase data)
 
override void OpenInviteInterface ()
 
override bool StartListening (SocketConnectionAccepted callback)
 
override void StopListening ()
 
- Public Member Functions inherited from Terraria.Social.WeGame.NetSocialModule
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 ()
 

Additional Inherited Members

- Public Types inherited from Terraria.Social.WeGame.NetSocialModule
enum class  ConnectionState { Inactive , Authenticating , Connected }
 
- Protected Member Functions inherited from Terraria.Social.WeGame.NetSocialModule
RailID GetLocalPeer ()
 
bool GetSessionState (RailID userId, RailNetworkSessionState state)
 
RailID RemoteAddressToRailId (RemoteAddress address)
 
- Protected Attributes inherited from Terraria.Social.WeGame.NetSocialModule
ConcurrentDictionary< RailID, ConnectionState > _connectionStateMap = new ConcurrentDictionary<RailID, ConnectionState>()
 
Lobby _lobby = new Lobby()
 
WeGameP2PReader _reader
 
WeGameP2PWriter _writer
 
- Static Protected Attributes inherited from Terraria.Social.WeGame.NetSocialModule
static readonly byte[] _handshake
 
const int LobbyMessageJoin = 1