Class RealmsServerPlayerList


  • public class RealmsServerPlayerList
    extends ValueObject
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static com.google.gson.JsonParser JSON_PARSER  
      private static org.apache.logging.log4j.Logger LOGGER  
      java.util.List<java.lang.String> players  
      long serverId  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static RealmsServerPlayerList parse​(com.google.gson.JsonObject p_230785_0_)  
      private static java.util.List<java.lang.String> parsePlayers​(com.google.gson.JsonArray p_230784_0_)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • LOGGER

        private static final org.apache.logging.log4j.Logger LOGGER
      • JSON_PARSER

        private static final com.google.gson.JsonParser JSON_PARSER
      • serverId

        public long serverId
      • players

        public java.util.List<java.lang.String> players
    • Constructor Detail

      • RealmsServerPlayerList

        public RealmsServerPlayerList()
    • Method Detail

      • parsePlayers

        private static java.util.List<java.lang.String> parsePlayers​(com.google.gson.JsonArray p_230784_0_)