Ruyi SDK
Namespaces
Ruyi.SDK.Online
RuyiNetLobbyService Class
RuyiNetLobbyService Methods
FindLobbies Method
FindLobbies Method (Int32, Int32, RuyiNetLobbyType, Action(RuyiNetLobby[]))
FindLobbies Method (Int32, Int32, RuyiNetLobbyType, Int32)
FindLobbies Method (Int32, Int32, RuyiNetLobbyType, Int32, String)
Click or drag to resizeClick or drag to resize

RuyiNetLobbyServiceFindLobbies Method (Int32, Int32, RuyiNetLobbyType, Int32)

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

Searches for lobbies created by other players.

Namespace:  Ruyi.SDK.Online
Assembly:  SDK.RuyiSDKAsync (in SDK.RuyiSDKAsync.dll) Version: 0.9.3.3995
Syntax
C#
Copy
public Task<RuyiNetLobbyFindResponse> FindLobbies(
	int clientIndex,
	int numResults,
	RuyiNetLobbyType lobbyType,
	int freeSlots
)

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.

Return Value

Type: TaskRuyiNetLobbyFindResponse

[Missing <returns> documentation for "M:Ruyi.SDK.Online.RuyiNetLobbyService.FindLobbies(System.Int32,System.Int32,Ruyi.SDK.Online.RuyiNetLobbyType,System.Int32)"]

See Also

Reference

RuyiNetLobbyService Class
FindLobbies Overload
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