Terraria v1.4.4.9
Terraria source code documentation
|
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 |