public class Player extends AbstractModel
Constructor and Description |
---|
Player() |
Player(Player source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
Long |
getCustomPlayerStatus()
Get Custom player status.
|
String |
getCustomProfile()
Get Custom player information.
|
String |
getId()
Get Player ID.
|
MatchAttribute[] |
getMatchAttributes()
Get Player attribute for matching.
|
String |
getName()
Get Player nickname.
|
RegionLatency[] |
getRegionLatencies()
Get Number of delays in each area.
|
String |
getTeam()
Get Team name.
|
void |
setCustomPlayerStatus(Long CustomPlayerStatus)
Set Custom player status.
|
void |
setCustomProfile(String CustomProfile)
Set Custom player information.
|
void |
setId(String Id)
Set Player ID.
|
void |
setMatchAttributes(MatchAttribute[] MatchAttributes)
Set Player attribute for matching.
|
void |
setName(String Name)
Set Player nickname.
|
void |
setRegionLatencies(RegionLatency[] RegionLatencies)
Set Number of delays in each area.
|
void |
setTeam(String Team)
Set Team name.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public Player()
public Player(Player source)
public String getId()
public void setId(String Id)
Id
- Player ID. It can contain up to 128 characters, supporting [a-zA-Z\d-\._]*.public String getName()
public void setName(String Name)
Name
- Player nickname. Up to 128 characters are allowed.public MatchAttribute[] getMatchAttributes()
public void setMatchAttributes(MatchAttribute[] MatchAttributes)
MatchAttributes
- Player attribute for matching. Up to 10 attributes are supported.public String getTeam()
public void setTeam(String Team)
Team
- Team name. A player can pass in a different team name, which can contain up to 128 characters, and support [a-zA-Z0-9-\.]*.public Long getCustomPlayerStatus()
public void setCustomPlayerStatus(Long CustomPlayerStatus)
CustomPlayerStatus
- Custom player status. This parameter will be passed through. Value range: [0, 99999]public String getCustomProfile()
public void setCustomProfile(String CustomProfile)
CustomProfile
- Custom player information. Up to 1024 characters are allowed. This parameter will be passed through.public RegionLatency[] getRegionLatencies()
public void setRegionLatencies(RegionLatency[] RegionLatencies)
RegionLatencies
- Number of delays in each area. Up to 20 delays are supported.Copyright © 2021. All rights reserved.