NWNX:EE  8193.36.12
nwnx_redis_lib.nss File Reference

Allows connection and interfacing with a redis server. More...

#include "nwnx"

Go to the source code of this file.

Functions

int NWNX_Redis_GetResultType (int resultId)
 Returns the result type as a int. More...
 
int NWNX_Redis_GetArrayLength (int resultId)
 Gets the length of the given result. More...
 
int NWNX_Redis_GetArrayElement (int resultId, int idx)
 Gets a list entry as a string. More...
 
float NWNX_Redis_GetResultAsFloat (int resultId)
 Gets the given result as a float. More...
 
int NWNX_Redis_GetResultAsInt (int resultId)
 Gets the given result as an integer. More...
 
string NWNX_Redis_GetResultAsString (int resultId)
 Gets the given result as a string. More...
 

Variables

Redis Results

const int NWNX_REDIS_RESULT_ARRAY = 1
 Array result. More...
 
const int NWNX_REDIS_RESULT_ERROR = 3
 Error result. More...
 
const int NWNX_REDIS_RESULT_INTEGER = 4
 Integer result. More...
 
const int NWNX_REDIS_RESULT_STRING = 5
 String result. More...
 
const int NWNX_REDIS_RESULT_NULL = 6
 Null result. More...
 

Detailed Description

Allows connection and interfacing with a redis server.

Definition in file nwnx_redis_lib.nss.