Class PlayerListEntry
java.lang.Object
org.geysermc.mcprotocollib.protocol.data.game.PlayerListEntry
-
Constructor Summary
ConstructorsConstructorDescriptionPlayerListEntry(@NonNull UUID profileId, @Nullable com.github.steveice10.mc.auth.data.GameProfile profile, boolean listed, int latency, GameMode gameMode, @Nullable net.kyori.adventure.text.Component displayName, 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 []int@Nullable com.github.steveice10.mc.auth.data.GameProfile@NonNull UUID@Nullable PublicKeyinthashCode()booleanisListed()voidsetDisplayName(@Nullable net.kyori.adventure.text.Component displayName) voidsetExpiresAt(long expiresAt) voidsetGameMode(GameMode gameMode) voidsetKeySignature(byte @Nullable [] keySignature) voidsetLatency(int latency) voidsetListed(boolean listed) voidsetProfile(@Nullable com.github.steveice10.mc.auth.data.GameProfile profile) voidsetPublicKey(@Nullable PublicKey publicKey) voidsetSessionId(UUID sessionId) @NonNull StringtoString()
-
Constructor Details
-
PlayerListEntry
-
PlayerListEntry
public PlayerListEntry(@NonNull @NonNull UUID profileId, @Nullable com.github.steveice10.mc.auth.data.GameProfile profile, boolean listed, int latency, GameMode gameMode, @Nullable net.kyori.adventure.text.Component displayName, UUID sessionId, long expiresAt, @Nullable PublicKey publicKey, byte @Nullable [] keySignature)
-
-
Method Details
-
getProfileId
-
getProfile
public @Nullable com.github.steveice10.mc.auth.data.GameProfile getProfile() -
isListed
public boolean isListed() -
getLatency
public int getLatency() -
getGameMode
-
getDisplayName
public @Nullable net.kyori.adventure.text.Component getDisplayName() -
getSessionId
-
getExpiresAt
public long getExpiresAt() -
getPublicKey
-
getKeySignature
public byte @Nullable [] getKeySignature() -
setProfile
public void setProfile(@Nullable com.github.steveice10.mc.auth.data.GameProfile profile) -
setListed
public void setListed(boolean listed) -
setLatency
public void setLatency(int latency) -
setGameMode
-
setDisplayName
public void setDisplayName(@Nullable net.kyori.adventure.text.Component displayName) -
setSessionId
-
setExpiresAt
public void setExpiresAt(long expiresAt) -
setPublicKey
-
setKeySignature
public void setKeySignature(byte @Nullable [] keySignature) -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-