Class WrapperPlayServerPlayerInfoUpdate.PlayerInfo

java.lang.Object
com.github.retrooper.packetevents.wrapper.play.server.WrapperPlayServerPlayerInfoUpdate.PlayerInfo
Enclosing class:
WrapperPlayServerPlayerInfoUpdate

public static class WrapperPlayServerPlayerInfoUpdate.PlayerInfo extends Object
  • Constructor Details

    • PlayerInfo

      public PlayerInfo(UserProfile gameProfile, boolean listed, int latency, GameMode gameMode, @Nullable @Nullable net.kyori.adventure.text.Component displayName, @Nullable @Nullable RemoteChatSession chatSession)
  • Method Details

    • getProfileId

      @Deprecated public UUID getProfileId()
      Deprecated.
    • getGameProfile

      public UserProfile getGameProfile()
    • isListed

      public boolean isListed()
    • getLatency

      public int getLatency()
    • getGameMode

      public GameMode getGameMode()
    • getDisplayName

      @Nullable public @Nullable net.kyori.adventure.text.Component getDisplayName()
    • getChatSession

      @Nullable public @Nullable RemoteChatSession getChatSession()
    • setGameProfile

      public void setGameProfile(UserProfile gameProfile)
    • setListed

      public void setListed(boolean listed)
    • setLatency

      public void setLatency(int latency)
    • setGameMode

      public void setGameMode(GameMode gameMode)
    • setDisplayName

      public void setDisplayName(@Nullable @Nullable net.kyori.adventure.text.Component displayName)
    • setChatSession

      public void setChatSession(@Nullable @Nullable RemoteChatSession chatSession)