DataResponse ​
A response to a request for game data.
Kind: Class
Namespace: ConnectorLib.JSON
Inheritance: SimpleJSONResponse
Public Constructors
Creates a new instance of the ConnectorLib.JSON.DataResponse class.
Public Static Functions
DataResponse
Creates a success response if the value is defined (not null or empty).
DataResponse
Creates a success response with the specified key and value.
DataResponse
Creates a success response with the specified key and value.
DataResponse
Creates a failure response with the specified key.
DataResponse
Creates a failure response with the specified key.
DataResponse
Creates a failure response with the specified key.
DataResponse
Creates a retry response with the specified key and message.
Public Attributes
string
key
The key corresponding to the requested value.
JToken
value
The value returned by the client.
EffectStatus
status
The status of the request.
long
timeRemaining
The due time of the request, if applicable.
string
message
The message from the client (if any).
