java.lang.Object
org.geysermc.mcprotocollib.protocol.data.status.PlayerInfo

public class PlayerInfo extends Object
  • Constructor Details

    • PlayerInfo

      public PlayerInfo(int maxPlayers, int onlinePlayers, @NonNull @NonNull List<com.github.steveice10.mc.auth.data.GameProfile> players)
  • Method Details

    • getMaxPlayers

      public int getMaxPlayers()
    • getOnlinePlayers

      public int getOnlinePlayers()
    • getPlayers

      @NonNull public @NonNull List<com.github.steveice10.mc.auth.data.GameProfile> getPlayers()
    • equals

      public boolean equals(@Nullable Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(@Nullable Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public @NonNull String toString()
      Overrides:
      toString in class Object