GammaAge/_module/nss/on_pubsub.nss
Jaysyn904 b927d0faf8 File re-organization.
File re-organization.  Added module builder & hak builder.
2021-09-16 10:15:32 -04:00

15 lines
323 B
Plaintext

/// @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);
}
/// @}