| RuyiNetLobbyServiceFindLobbies Method (Int32, Int32, RuyiNetLobbyType, Int32, String, ActionRuyiNetLobby) |
[This is preliminary documentation and is subject to change.]
Searches for lobbies created by other players.
Namespace:
Ruyi.SDK.Online
Assembly:
RuyiSDK (in RuyiSDK.dll) Version: 0.9.3.3995 (0.9.3.3995)
Syntax public void FindLobbies(
int clientIndex,
int numResults,
RuyiNetLobbyType lobbyType,
int freeSlots,
string jsonAttributes,
Action<RuyiNetLobby[]> callback
)
Parameters
- clientIndex
- Type: SystemInt32
The index of user - numResults
- Type: SystemInt32
The maximum number of lobbies to return. - lobbyType
- Type: Ruyi.SDK.OnlineRuyiNetLobbyType
Whether or not this lobby is for a RANKED MATCH or a PLAYER MATCH. - freeSlots
- Type: SystemInt32
The number of free slots needed. - jsonAttributes
- Type: SystemString
JSON string representing parameters to search for. - callback
- Type: SystemActionRuyiNetLobby
The function to call when the task completes.
See Also