Class Manus::Networking::SimpleLobbyBrowser
ClassList > Manus > Networking > SimpleLobbyBrowser
A sample Lobby Browser to display how one might want to show lobbies.
Inherits the following classes: MonoBehaviour
Public Attributes
Type | Name |
---|---|
GameObject | clientUsernameObject |
NetLobbyInfo | firstFoundHost |
GameObject | genericLobbyGameButton |
Button | joinButton |
RectTransform | lobbyGameListRect |
NetworkManager | manager |
bool | shouldUpdate = = false |
Public Properties
Type | Name |
---|---|
property List< NetLobbyInfo > | lobbyList |
property NetLobbyInfo | selectedLobby The currently selected Lobby. |
Public Functions
Type | Name |
---|---|
List< NetLobbyInfo > | FindAvailableHosts () Fetch available hosts on the network which can be connected to. |
void | UpdateBrowser (List< NetLobbyInfo > p_LobbyList) Updates the list of lobbies in the interface. |
Public Attributes Documentation
variable clientUsernameObject
variable firstFoundHost
variable genericLobbyGameButton
variable joinButton
variable lobbyGameListRect
variable manager
variable shouldUpdate
Public Properties Documentation
property lobbyList
property selectedLobby
Public Functions Documentation
function FindAvailableHosts
Fetch available hosts on the network which can be connected to.
Returns:
function UpdateBrowser
Updates the list of lobbies in the interface.
inline void Manus::Networking::SimpleLobbyBrowser::UpdateBrowser (
List< NetLobbyInfo > p_LobbyList
)
Parameters:
p_LobbyList
List of lobbies
The documentation for this class was generated from the following file api/unity-plugin/Scripts/Networking/SimpleLobbyBrowser.cs