tModLoader v2022.09
A mod to make and play Terraria mods
Terraria.Social.WeGame.Lobby Class Reference

Public Member Functions

void Create (bool inviteOnly)
 
byte[] GetMessage (int index)
 
IRailGameServer GetServer ()
 
RailID GetUserByIndex (int index)
 
int GetUserCount ()
 
void Join (RailID local_peer, RailID remote_peer)
 
void Leave ()
 
void OnRailEvent (RAILEventID id, EventBase data)
 
void OpenInviteOverlay ()
 
bool SendMessage (byte[] data)
 
bool SendMessage (byte[] data, int length)
 
void Set (RailID lobbyId)
 
void SetPlayedWith (RailID userId)
 

Public Attributes

Action< RailID > _lobbyCreatedExternalCallback
 
LobbyState State