LeanCloud C# SDK
Loading...
Searching...
No Matches
Public Member Functions | Properties | List of all members
LeanCloud.Play.RoomOptions Class Reference

创建房间选项 More...

Public Member Functions

 RoomOptions ()
 RoomOptions 构造方法
 

Properties

bool? Open [get, set]
 房间是否打开
 
bool? Visible [get, set]
 房间是否可见,只有「可见」的房间会出现在房间列表里
 
int EmptyRoomTtl [get, set]
 房间为空后,延迟销毁的时间
 
int PlayerTtl [get, set]
 玩家掉线后,延迟销毁的时间
 
int MaxPlayerCount [get, set]
 最大玩家数量
 
PlayObject CustomRoomProperties [get, set]
 自定义房间属性
 
List< string > CustomRoomPropertyKeysForLobby [get, set]
 在大厅中可获得的房间属性「键」数组
 
int Flag [get, set]
 创建房间标记,可多选
 
string PluginName [get, set]
 房间插件名称
 

Detailed Description

创建房间选项

Constructor & Destructor Documentation

◆ RoomOptions()

LeanCloud.Play.RoomOptions.RoomOptions ( )
inline

RoomOptions 构造方法

Property Documentation

◆ CustomRoomProperties

PlayObject LeanCloud.Play.RoomOptions.CustomRoomProperties
getset

自定义房间属性

The custom room properties.

◆ CustomRoomPropertyKeysForLobby

List<string> LeanCloud.Play.RoomOptions.CustomRoomPropertyKeysForLobby
getset

在大厅中可获得的房间属性「键」数组

The custo room property keys for lobby.

◆ EmptyRoomTtl

int LeanCloud.Play.RoomOptions.EmptyRoomTtl
getset

房间为空后,延迟销毁的时间

The empty room ttl.

◆ Flag

int LeanCloud.Play.RoomOptions.Flag
getset

创建房间标记,可多选

The flag.

◆ MaxPlayerCount

int LeanCloud.Play.RoomOptions.MaxPlayerCount
getset

最大玩家数量

The max player count.

◆ Open

bool? LeanCloud.Play.RoomOptions.Open
getset

房间是否打开

true if opened; otherwise, false.

◆ PlayerTtl

int LeanCloud.Play.RoomOptions.PlayerTtl
getset

玩家掉线后,延迟销毁的时间

The player ttl.

◆ PluginName

string LeanCloud.Play.RoomOptions.PluginName
getset

房间插件名称

The name of the plugin.

◆ Visible

bool? LeanCloud.Play.RoomOptions.Visible
getset

房间是否可见,只有「可见」的房间会出现在房间列表里

true if visible; otherwise, false.


The documentation for this class was generated from the following file: