Class QueryResponse


  • public class QueryResponse
    extends java.lang.Object
    Copyright (c) 2022-2023 LAX1DUDE. All Rights Reserved. WITH THE EXCEPTION OF PATCH FILES, MINIFIED JAVASCRIPT, AND ALL FILES NORMALLY FOUND IN AN UNMODIFIED MINECRAFT RESOURCE PACK, YOU ARE NOT ALLOWED TO SHARE, DISTRIBUTE, OR REPURPOSE ANY FILE USED BY OR PRODUCED BY THE SOFTWARE IN THIS REPOSITORY WITHOUT PRIOR PERMISSION FROM THE PROJECT AUTHOR. NOT FOR COMMERCIAL OR MALICIOUS USE (please read the 'LICENSE' file this repo's root directory for more info)
    • Field Detail

      • responseType

        public final java.lang.String responseType
      • serverVersion

        public final java.lang.String serverVersion
      • serverBrand

        public final java.lang.String serverBrand
      • serverName

        public final java.lang.String serverName
      • serverTime

        public final long serverTime
      • clientTime

        public final long clientTime
      • serverCracked

        public final boolean serverCracked
      • ping

        public final long ping
    • Constructor Detail

      • QueryResponse

        public QueryResponse​(JSONObject obj,
                             long ping)
    • Method Detail

      • isResponseString

        public boolean isResponseString()
      • isResponseJSON

        public boolean isResponseJSON()
      • getResponseString

        public java.lang.String getResponseString()
      • getResponseJSON

        public JSONObject getResponseJSON()