Changed folder name.

Changed folder name.
This commit is contained in:
Jaysyn904
2022-10-07 21:08:37 -04:00
parent 1c33c2843e
commit 8d97886c3f
7060 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
/// @ingroup redis
/// @brief Interface to Redis PUBSUB
/// @{
/// @file nwnx_redis_ps.nss
#include "nwnx"
/// A redis PUBSUB message
struct NWNX_Redis_PubSubMessageData {
string channel; ///< The channel
string message; ///< The message
};
/// @brief Get a PUBSUB message
/// @return A NWNX_Redis_PubSubMessageData struct.
struct NWNX_Redis_PubSubMessageData NWNX_Redis_GetPubSubMessageData()
{
struct NWNX_Redis_PubSubMessageData ret;
NWNX_CallFunction("NWNX_Redis", "GetPubSubData");
ret.message = NWNX_GetReturnValueString();
ret.channel = NWNX_GetReturnValueString();
return ret;
}
/// @}