Class WrapperPlayServerPlayerInfo.PlayerData
java.lang.Object
com.github.retrooper.packetevents.wrapper.play.server.WrapperPlayServerPlayerInfo.PlayerData
- Enclosing class:
- WrapperPlayServerPlayerInfo
-
Constructor Summary
ConstructorsConstructorDescriptionPlayerData(@Nullable net.kyori.adventure.text.Component displayName, @Nullable UserProfile userProfile, @Nullable GameMode gameMode, int ping) PlayerData(@Nullable net.kyori.adventure.text.Component displayName, @Nullable UserProfile userProfile, @Nullable GameMode gameMode, @Nullable SignatureData signatureData, int ping) -
Method Summary
Modifier and TypeMethodDescription@Nullable net.kyori.adventure.text.Component@Nullable GameModeintgetPing()@Nullable UserProfilegetUser()voidsetDisplayName(@Nullable net.kyori.adventure.text.Component displayName) voidsetGameMode(@Nullable GameMode gameMode) voidsetPing(int ping) voidsetSignatureData(SignatureData signatureData) voidsetUser(@Nullable UserProfile userProfile) voidsetUserProfile(UserProfile userProfile)
-
Constructor Details
-
PlayerData
public PlayerData(@Nullable @Nullable net.kyori.adventure.text.Component displayName, @Nullable @Nullable UserProfile userProfile, @Nullable @Nullable GameMode gameMode, @Nullable @Nullable SignatureData signatureData, int ping) -
PlayerData
public PlayerData(@Nullable @Nullable net.kyori.adventure.text.Component displayName, @Nullable @Nullable UserProfile userProfile, @Nullable @Nullable GameMode gameMode, int ping)
-
-
Method Details
-
getUserProfile
-
setUserProfile
-
getSignatureData
-
setSignatureData
-
getUser
-
setUser
-
getGameMode
-
setGameMode
-
getPing
public int getPing() -
setPing
public void setPing(int ping) -
getDisplayName
@Nullable public @Nullable net.kyori.adventure.text.Component getDisplayName() -
setDisplayName
public void setDisplayName(@Nullable @Nullable net.kyori.adventure.text.Component displayName)
-