| RuyiNetLobbyServiceCreateLobby Method (Int32, Int32, RuyiNetLobbyType, Boolean, String) |
[This is preliminary documentation and is subject to change.]
Creates a lobby that other players can find and join.
Namespace:
Ruyi.SDK.Online
Assembly:
SDK.RuyiSDKAsync (in SDK.RuyiSDKAsync.dll) Version: 0.9.3.3995
Syntax public Task<RuyiNetLobbyResponse> CreateLobby(
int clientIndex,
int maxSlots,
RuyiNetLobbyType lobbyType,
bool isOpen,
string jsonAttributes
)
Parameters
- clientIndex
- Type: SystemInt32
The index of user - maxSlots
- Type: SystemInt32
The maximum number of players that can join this lobby. - lobbyType
- Type: Ruyi.SDK.OnlineRuyiNetLobbyType
Whether or not this lobby is for a RANKED MATCH or a PLAYER MATCH. - isOpen
- Type: SystemBoolean
Whether or not the lobby is open by default. - jsonAttributes
- Type: SystemString
JSON string of custom attributes to attach to this lobby.
Return Value
Type:
TaskRuyiNetLobbyResponse[Missing <returns> documentation for "M:Ruyi.SDK.Online.RuyiNetLobbyService.CreateLobby(System.Int32,System.Int32,Ruyi.SDK.Online.RuyiNetLobbyType,System.Boolean,System.String)"]
See Also