Ruyi SDK
Namespaces
Ruyi.SDK.Online
RuyiNetLobbyService Class
RuyiNetLobbyService Methods
RuyiNetLobbyService Events
Click or drag to resizeClick or drag to resize

RuyiNetLobbyService Class

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

Manages lobbies for network games.
Inheritance Hierarchy
SystemObject
  Ruyi.SDK.OnlineRuyiNetService
    Ruyi.SDK.OnlineRuyiNetLobbyService

Namespace:  Ruyi.SDK.Online
Assembly:  RuyiSDK (in RuyiSDK.dll) Version: 0.9.3.3995 (0.9.3.3995)
Syntax
C#
Copy
public class RuyiNetLobbyService : RuyiNetService

The RuyiNetLobbyService type exposes the following members.

Methods
  NameDescription
Public methodCloseLobby
Closes a lobby so players cant join anymore.
Public methodCreateLobby(Int32, Int32, RuyiNetLobbyType, ActionRuyiNetLobby)
Creates a lobby that other players can find and join.
Public methodCreateLobby(Int32, Int32, RuyiNetLobbyType, Boolean, ActionRuyiNetLobby)
Creates a lobby that other players can find and join.
Public methodCreateLobby(Int32, Int32, RuyiNetLobbyType, String, ActionRuyiNetLobby)
Creates a lobby that other players can find and join.
Public methodCreateLobby(Int32, Int32, RuyiNetLobbyType, Boolean, String, ActionRuyiNetLobby)
Creates a lobby that other players can find and join.
Public methodDestroyLobby
Destroys a lobby.
Public methodFindFriendsLobbies
Searches for lobbies with the player's friends.
Public methodFindLobbies(Int32, Int32, RuyiNetLobbyType, ActionRuyiNetLobby)
Searches for lobbies created by other players.
Public methodFindLobbies(Int32, Int32, RuyiNetLobbyType, Int32, ActionRuyiNetLobby)
Searches for lobbies created by other players.
Public methodFindLobbies(Int32, Int32, RuyiNetLobbyType, Int32, String, ActionRuyiNetLobby)
Searches for lobbies created by other players.
Public methodGetMyLobbies
Searches for lobbies the current player is a member of.
Public methodJoinLobby
Joins a lobby created by another player.
Public methodLeaveLobby
Leaves a lobby.
Public methodOpenLobby
Opens a lobby so players can join.
Public methodStartGame
Starts a lobby game
Top
Events
  NameDescription
Public eventOnLobbyClosed
Called when a lobby is closed.
Public eventOnLobbyCreated
Called when a lobby is created.
Public eventOnLobbyDestroyed
Called when a lobby is destroyed.
Public eventOnLobbyGameStarted
Called when a lobby game is started.
Public eventOnLobbyOpened
Called when a lobby is opened.
Public eventOnLobbyPlayerJoined
Called when a player joins a lobby.
Public eventOnLobbyPlayerLeft
Called when a player leaves a lobby.
Top
See Also

Reference

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