Class QueryResponse
- java.lang.Object
-
- net.lax1dude.eaglercraft.v1_8.internal.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 Summary
Fields Modifier and Type Field Description long
clientTime
long
ping
java.lang.String
responseType
java.lang.String
serverBrand
boolean
serverCracked
java.lang.String
serverName
long
serverTime
java.lang.String
serverVersion
-
Constructor Summary
Constructors Constructor Description QueryResponse(JSONObject obj, long ping)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JSONObject
getResponseJSON()
java.lang.String
getResponseString()
boolean
isResponseJSON()
boolean
isResponseString()
-
-
-
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()
-
-