Ruyi SDK
Namespaces
Ruyi.SDK.Online
RuyiNetLobbyService Class
RuyiNetLobbyService Methods
CloseLobby Method
CreateLobby Method
DestroyLobby Method
FindFriendsLobbies Method
FindLobbies Method
GetMyLobbies Method
JoinLobby Method
LeaveLobby Method
OpenLobby Method
StartGame Method
Click or drag to resizeClick or drag to resize

RuyiNetLobbyServiceOpenLobby Method

[This is preliminary documentation and is subject to change.]

Opens a lobby so players can join.

Namespace:  Ruyi.SDK.Online
Assembly:  RuyiSDK (in RuyiSDK.dll) Version: 0.9.3.3995 (0.9.3.3995)
Syntax
C#
Copy
public void OpenLobby(
	int clientIndex,
	string lobbyId,
	Action<RuyiNetLobby> callback
)

Parameters

clientIndex
Type: SystemInt32
The index of user
lobbyId
Type: SystemString
The ID of the lobby to close.
callback
Type: SystemActionRuyiNetLobby
The function to call when the task completes.
See Also

Reference

RuyiNetLobbyService Class
Ruyi.SDK.Online Namespace

Copyright ©Zhongshan Subor Advanced Technology Co., Ltd. 2017-2018, All right reserved

Send comments on this topic to dev-support@playruyi.com