tModLoader v2022.09
A mod to make and play Terraria mods
Terraria.Social.Base.NetSocialModule Class Referenceabstract

Inherits Terraria.Social.ISocialModule.

Inherited by Terraria.Social.Steam.NetSocialModule, and Terraria.Social.WeGame.NetSocialModule.

Public Member Functions

abstract void CancelJoin ()
 
abstract bool CanInvite ()
 
abstract void Close (RemoteAddress address)
 
abstract void Connect (RemoteAddress address)
 
abstract ulong GetLobbyId ()
 
abstract void Initialize ()
 
abstract bool IsConnected (RemoteAddress address)
 
abstract 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)
 
abstract bool Send (RemoteAddress address, byte[] data, int length)
 
abstract void Shutdown ()
 
abstract bool StartListening (SocketConnectionAccepted callback)
 
abstract void StopListening ()
 
void Initialize ()
 
void Shutdown ()
 

Member Function Documentation

◆ Initialize()

abstract void Terraria.Social.Base.NetSocialModule.Initialize ( )
pure virtual

◆ Shutdown()

abstract void Terraria.Social.Base.NetSocialModule.Shutdown ( )
pure virtual