Package cn.nukkit.scoreboard.scorer
Class PlayerScorer
java.lang.Object
cn.nukkit.scoreboard.scorer.PlayerScorer
- All Implemented Interfaces:
IScorer
-
Constructor Summary
ConstructorDescriptionPlayerScorer
(Player player) PlayerScorer
(String uuid) PlayerScorer
(UUID uuid) -
Method Summary
Modifier and TypeMethodDescriptionboolean
getName()
获取名称获取追踪对象类型getUuid()
int
hashCode()
boolean
isOnline()
toNetworkInfo
(IScoreboard scoreboard, IScoreboardLine line) 内部方法 转换到network信息
-
Constructor Details
-
PlayerScorer
-
PlayerScorer
-
PlayerScorer
-
-
Method Details
-
getPlayer
-
isOnline
public boolean isOnline() -
getScorerType
Description copied from interface:IScorer
获取追踪对象类型- Specified by:
getScorerType
in interfaceIScorer
- Returns:
- 追踪对象类型
-
hashCode
public int hashCode() -
equals
-
getName
Description copied from interface:IScorer
获取名称 -
toNetworkInfo
Description copied from interface:IScorer
内部方法 转换到network信息- Specified by:
toNetworkInfo
in interfaceIScorer
- Parameters:
scoreboard
- 所属计分板line
- 所属行- Returns:
- network信息
-
getUuid
-