Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
Terraria.Social.Steam.Lobby Class Reference

Public Member Functions

 Lobby ()
 
void Create (bool inviteOnly, APIDispatchDelegate< LobbyCreated_t > callResult)
 
void OpenInviteOverlay ()
 
void Join (CSteamID lobbyId, APIDispatchDelegate< LobbyEnter_t > callResult)
 
byte[] GetMessage (int index)
 
int GetUserCount ()
 
CSteamID GetUserByIndex (int index)
 
bool SendMessage (byte[] data)
 
bool SendMessage (byte[] data, int length)
 
void Set (CSteamID lobbyId)
 
void SetPlayedWith (CSteamID userId)
 
void Leave ()
 

Public Attributes

CSteamID Id = CSteamID.Nil
 
CSteamID Owner = CSteamID.Nil
 
LobbyState State
 

Private Member Functions

void OnLobbyEntered (LobbyEnter_t result, bool failure)
 
void OnLobbyCreated (LobbyCreated_t result, bool failure)
 

Private Attributes

HashSet< CSteamID > _usersSeen = new HashSet<CSteamID>()
 
byte[] _messageBuffer = new byte[1024]
 
CallResult< LobbyEnter_t_lobbyEnter
 
APIDispatchDelegate< LobbyEnter_t_lobbyEnterExternalCallback
 
CallResult< LobbyCreated_t_lobbyCreated
 
APIDispatchDelegate< LobbyCreated_t_lobbyCreatedExternalCallback
 

Detailed Description

Definition at line 7 of file Lobby.cs.


The documentation for this class was generated from the following file: