NWNX:EE
8193.36.12
nwnx_redis_ps.nss
Go to the documentation of this file.
1
#include "nwnx"
6
8
struct
NWNX_Redis_PubSubMessageData
{
9
string
channel
;
10
string
message
;
11
};
12
15
struct
NWNX_Redis_PubSubMessageData
NWNX_Redis_GetPubSubMessageData
()
16
{
17
struct
NWNX_Redis_PubSubMessageData
ret;
18
NWNX_CallFunction
(
"NWNX_Redis"
,
"GetPubSubData"
);
19
ret.
message
=
NWNX_GetReturnValueString
();
20
ret.
channel
=
NWNX_GetReturnValueString
();
21
return
ret;
22
}
NWNX_Redis_PubSubMessageData
A redis PUBSUB message.
Definition:
nwnx_redis_ps.nss:8
NWNX_CallFunction
void NWNX_CallFunction(string pluginName, string functionName)
Scripting interface to NWNX.
Definition:
nwnx.nss:54
NWNX_GetReturnValueString
string NWNX_GetReturnValueString()
Returns the specified type from the c++ side.
Definition:
nwnx.nss:109
NWNX_Redis_PubSubMessageData::channel
string channel
The channel.
Definition:
nwnx_redis_ps.nss:9
NWNX_Redis_PubSubMessageData::message
string message
The message.
Definition:
nwnx_redis_ps.nss:10
NWNX_Redis_GetPubSubMessageData
struct NWNX_Redis_PubSubMessageData NWNX_Redis_GetPubSubMessageData()
Get a PUBSUB message.
Definition:
nwnx_redis_ps.nss:15
Plugins
Redis
NWScript
nwnx_redis_ps.nss
Generated on Tue Oct 22 2024 12:19:43 for NWNX:EE by
1.8.17.
Dark version