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 自定义玩家状态 透传参数 [0, 99999]
|
String |
getCustomProfile()
Get 自定义玩家信息 透传参数 长度 1024
|
String |
getId()
Get 玩家 PlayerId 长度 128 [a-zA-Z\d-\._]*
|
MatchAttribute[] |
getMatchAttributes()
Get 玩家匹配属性,最多 10 条
|
String |
getName()
Get 玩家昵称,长度 128
|
RegionLatency[] |
getRegionLatencies()
Get 各区域延迟,最多 20 条
|
String |
getTeam()
Get 队伍名,可以传递不同队伍名,长度 128 [a-zA-Z0-9-\.]*
|
void |
setCustomPlayerStatus(Long CustomPlayerStatus)
Set 自定义玩家状态 透传参数 [0, 99999]
|
void |
setCustomProfile(String CustomProfile)
Set 自定义玩家信息 透传参数 长度 1024
|
void |
setId(String Id)
Set 玩家 PlayerId 长度 128 [a-zA-Z\d-\._]*
|
void |
setMatchAttributes(MatchAttribute[] MatchAttributes)
Set 玩家匹配属性,最多 10 条
|
void |
setName(String Name)
Set 玩家昵称,长度 128
|
void |
setRegionLatencies(RegionLatency[] RegionLatencies)
Set 各区域延迟,最多 20 条
|
void |
setTeam(String Team)
Set 队伍名,可以传递不同队伍名,长度 128 [a-zA-Z0-9-\.]*
|
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
- 玩家 PlayerId 长度 128 [a-zA-Z\d-\._]*public String getName()
public void setName(String Name)
Name
- 玩家昵称,长度 128public MatchAttribute[] getMatchAttributes()
public void setMatchAttributes(MatchAttribute[] MatchAttributes)
MatchAttributes
- 玩家匹配属性,最多 10 条public String getTeam()
public void setTeam(String Team)
Team
- 队伍名,可以传递不同队伍名,长度 128 [a-zA-Z0-9-\.]*public Long getCustomPlayerStatus()
public void setCustomPlayerStatus(Long CustomPlayerStatus)
CustomPlayerStatus
- 自定义玩家状态 透传参数 [0, 99999]public String getCustomProfile()
public void setCustomProfile(String CustomProfile)
CustomProfile
- 自定义玩家信息 透传参数 长度 1024public RegionLatency[] getRegionLatencies()
public void setRegionLatencies(RegionLatency[] RegionLatencies)
RegionLatencies
- 各区域延迟,最多 20 条Copyright © 2021. All rights reserved.