Package | com.distriqt.extension.gameservices.multiplayer |
Class | public class PlayerSelectionOptions |
Inheritance | PlayerSelectionOptions ![]() |
The number of players passed in should be the desired number of additional players to select, not including the current player. So, for a game that can handle between 2 and 4 players, minPlayers would be 1 and maxPlayers would be 3.
Property | Defined By | ||
---|---|---|---|
allowAutomatch : Boolean = true
If true allows automatching of players it the service supports it. | PlayerSelectionOptions | ||
maxPlayers : int = 3
The maximum number of other players to allow in this match. | PlayerSelectionOptions | ||
minPlayers : int = 1
The minimum number of other players to allow in this match. | PlayerSelectionOptions |
Method | Defined By | ||
---|---|---|---|
Constructor
| PlayerSelectionOptions |
allowAutomatch | property |
public var allowAutomatch:Boolean = true
If true allows automatching of players it the service supports it.
maxPlayers | property |
public var maxPlayers:int = 3
The maximum number of other players to allow in this match.
minPlayers | property |
public var minPlayers:int = 1
The minimum number of other players to allow in this match.
PlayerSelectionOptions | () | Constructor |
public function PlayerSelectionOptions()
Constructor