public static interface Player.Builder extends CopyableBuilder<Player.Builder,Player>
Modifier and Type | Method and Description |
---|---|
Player.Builder |
latencyInMs(Map<String,Integer> latencyInMs)
Set of values, expressed in milliseconds, indicating the amount of latency that a player experiences when
connected to AWS regions.
|
Player.Builder |
playerAttributes(Map<String,AttributeValue> playerAttributes)
Collection of name:value pairs containing player information for use in matchmaking.
|
Player.Builder |
playerId(String playerId)
Unique identifier for a player
|
Player.Builder |
team(String team)
Name of the team that the player is assigned to in a match.
|
copy
apply, build
Player.Builder playerId(String playerId)
Unique identifier for a player
playerId
- Unique identifier for a playerPlayer.Builder playerAttributes(Map<String,AttributeValue> playerAttributes)
Collection of name:value pairs containing player information for use in matchmaking. Player attribute names
need to match playerAttributes names in the rule set being used. Example:
"PlayerAttributes": {"skill": {"N": "23"}, "gameMode": {"S": "deathmatch"}}
.
playerAttributes
- Collection of name:value pairs containing player information for use in matchmaking. Player attribute
names need to match playerAttributes names in the rule set being used. Example:
"PlayerAttributes": {"skill": {"N": "23"}, "gameMode": {"S": "deathmatch"}}
.Player.Builder team(String team)
Name of the team that the player is assigned to in a match. Team names are defined in a matchmaking rule set.
team
- Name of the team that the player is assigned to in a match. Team names are defined in a matchmaking
rule set.Player.Builder latencyInMs(Map<String,Integer> latencyInMs)
Set of values, expressed in milliseconds, indicating the amount of latency that a player experiences when connected to AWS regions. If this property is present, FlexMatch considers placing the match only in regions for which latency is reported.
If a matchmaker has a rule that evaluates player latency, players must report latency in order to be matched. If no latency is reported in this scenario, FlexMatch assumes that no regions are available to the player and the ticket is not matchable.
latencyInMs
- Set of values, expressed in milliseconds, indicating the amount of latency that a player experiences
when connected to AWS regions. If this property is present, FlexMatch considers placing the match only
in regions for which latency is reported.
If a matchmaker has a rule that evaluates player latency, players must report latency in order to be matched. If no latency is reported in this scenario, FlexMatch assumes that no regions are available to the player and the ticket is not matchable.
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.