Skip to main content

Lobby.TryGetOwner method

Tries to get the current owner of the lobby. Returns false and sets owner to null if there is no owner on this Lobby

Return Value

true if an owner is found or false otherwise

Remarks

If this lobby object was created by calling JoinLobby, this method returns false and the owner is null until ProcessLobbyStateChanges provides a OnLobbyUpdated with the OnLobbyUpdated OwnerUpdated field set to true. If joining the lobby succeeds, this field is guaranteed to be populated by the time ProcessLobbyStateChanges provides a OnLobbyJoinCompleted.

See Also

Last modified on August 3, 2026