C# 클래스 RoomOptions, Droid-Soccer

Wraps up common room properties needed when you create rooms.
This directly maps to what the fields in the Room class.
파일 보기 프로젝트 열기: repelex/Droid-Soccer 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
customRoomProperties ExitGames.Client.Photon.Hashtable
customRoomPropertiesForLobby string[]
maxPlayers byte

프로퍼티 상세

customRoomProperties 공개적으로 프로퍼티

The room's custom properties to set. Use string keys!
Custom room properties are any key-values you need to define the game's setup. The shorter your keys are, the better. Example: Map, Mode (could be "m" when used with "Map"), TileSet (could be "t").
public Hashtable,ExitGames.Client.Photon customRoomProperties
리턴 ExitGames.Client.Photon.Hashtable

customRoomPropertiesForLobby 공개적으로 프로퍼티

Defines the custom room properties that get listed in the lobby.
Name the custom room properties that should be available to clients that are in a lobby. Use with care. Unless a custom property is essential for matchmaking or user info, it should not be sent to the lobby, which causes traffic and delays for clients in the lobby. Default: No custom properties are sent to the lobby.
public string[] customRoomPropertiesForLobby
리턴 string[]

maxPlayers 공개적으로 프로퍼티

Max number of players that can be in the room at any time. 0 means "no limit".
public byte maxPlayers
리턴 byte