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

RuyiNetLobbyServiceStartGame Method

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

Starts a lobby game

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

Parameters

clientIndex
Type: SystemInt32
The index of user
lobbyId
Type: SystemString
The ID of the lobby to start the game for.
connectionString
Type: SystemString
A connection string used to connect to the host.
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