Class PlayerListEntry
java.lang.Object
org.geysermc.mcprotocollib.protocol.data.game.PlayerListEntry
-
Constructor Summary
ConstructorsConstructorDescriptionPlayerListEntry(@NonNull UUID profileId, @Nullable GameProfile profile, boolean listed, int latency, GameMode gameMode, @Nullable net.kyori.adventure.text.Component displayName, boolean showHat, int listOrder, UUID sessionId, long expiresAt, @Nullable PublicKey publicKey, byte @Nullable [] keySignature) PlayerListEntry(UUID profileId) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanboolean@Nullable net.kyori.adventure.text.Componentlongbyte @Nullable []intint@Nullable GameProfile@NonNull UUID@Nullable PublicKeyinthashCode()booleanisListed()booleanvoidsetDisplayName(@Nullable net.kyori.adventure.text.Component displayName) voidsetExpiresAt(long expiresAt) voidsetGameMode(GameMode gameMode) voidsetKeySignature(byte @Nullable [] keySignature) voidsetLatency(int latency) voidsetListed(boolean listed) voidsetListOrder(int listOrder) voidsetProfile(@Nullable GameProfile profile) voidsetPublicKey(@Nullable PublicKey publicKey) voidsetSessionId(UUID sessionId) voidsetShowHat(boolean showHat) @NonNull StringtoString()
-
Constructor Details
-
PlayerListEntry
-
PlayerListEntry
public PlayerListEntry(@NonNull @NonNull UUID profileId, @Nullable GameProfile profile, boolean listed, int latency, GameMode gameMode, @Nullable net.kyori.adventure.text.Component displayName, boolean showHat, int listOrder, UUID sessionId, long expiresAt, @Nullable PublicKey publicKey, byte @Nullable [] keySignature)
-
-
Method Details
-
getProfileId
-
getProfile
-
isListed
public boolean isListed() -
getLatency
public int getLatency() -
getGameMode
-
getDisplayName
public @Nullable net.kyori.adventure.text.Component getDisplayName() -
isShowHat
public boolean isShowHat() -
getListOrder
public int getListOrder() -
getSessionId
-
getExpiresAt
public long getExpiresAt() -
getPublicKey
-
getKeySignature
public byte @Nullable [] getKeySignature() -
setProfile
-
setListed
public void setListed(boolean listed) -
setLatency
public void setLatency(int latency) -
setGameMode
-
setDisplayName
public void setDisplayName(@Nullable net.kyori.adventure.text.Component displayName) -
setShowHat
public void setShowHat(boolean showHat) -
setListOrder
public void setListOrder(int listOrder) -
setSessionId
-
setExpiresAt
public void setExpiresAt(long expiresAt) -
setPublicKey
-
setKeySignature
public void setKeySignature(byte @Nullable [] keySignature) -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-