67 NWNXPushInt(resultId);
68 NWNXCall(
"NWNX_Redis",
"GetResultType");
74 NWNXPushInt(resultId);
75 NWNXCall(
"NWNX_Redis",
"GetResultArrayLength");
82 NWNXPushInt(resultId);
84 NWNXCall(
"NWNX_Redis",
"GetResultArrayElement");
90 NWNXPushInt(resultId);
91 NWNXCall(
"NWNX_Redis",
"GetResultAsString");
92 return StringToFloat(NWNXPopString());
97 NWNXPushInt(resultId);
98 NWNXCall(
"NWNX_Redis",
"GetResultAsString");
99 return StringToInt(NWNXPopString());
104 NWNXPushInt(resultId);
105 NWNXCall(
"NWNX_Redis",
"GetResultAsString");
106 return NWNXPopString();
const int NWNX_REDIS_RESULT_NULL
Null result.
int NWNX_Redis_GetResultAsInt(int resultId)
Gets the given result as an integer.
const int NWNX_REDIS_RESULT_INTEGER
Integer result.
float NWNX_Redis_GetResultAsFloat(int resultId)
Gets the given result as a float.
string NWNX_Redis_GetResultAsString(int resultId)
Gets the given result as a string.
int NWNX_Redis_GetResultType(int resultId)
Returns the result type as a int.
const int NWNX_REDIS_RESULT_ERROR
Error result.
const int NWNX_REDIS_RESULT_ARRAY
Array result.
int NWNX_Redis_GetArrayLength(int resultId)
Gets the length of the given result.
int NWNX_Redis_GetArrayElement(int resultId, int idx)
Gets a list entry as a string.
const int NWNX_REDIS_RESULT_STRING
String result.