Initial Commit

Initial Commit [v1.32PRC8]
This commit is contained in:
Jaysyn904
2025-04-03 13:38:45 -04:00
parent 1213977d8c
commit b464d8da05
6922 changed files with 6176025 additions and 2 deletions

14
_module/nss/on_pubsub.nss Normal file
View File

@@ -0,0 +1,14 @@
/// @ingroup redis
/// @brief Script to handle PubSub event
/// @{
/// @file on_pubsub.nss
#include "nwnx_redis_ps"
void main()
{
struct NWNX_Redis_PubSubMessageData data = NWNX_Redis_GetPubSubMessageData();
WriteTimestampedLogEntry("Pubsub Event: channel=" + data.channel +
" message=" + data.message);
}
/// @}