Update for 37-13

Update for NWNEE 37-13.  Updated NWNxEE.  Full compile.
This commit is contained in:
Jaysyn904
2025-01-09 12:55:50 -05:00
parent f8835e0b32
commit 49e8177b4e
519 changed files with 5007 additions and 6378 deletions

View File

@@ -2,7 +2,6 @@
/// @brief Send messages to external entities through web hooks.
/// @{
/// @file nwnx_webhook.nss
#include "nwnx"
const string NWNX_WebHook = "NWNX_WebHook"; ///< @private
@@ -28,13 +27,12 @@ void NWNX_WebHook_ResendWebHookHTTPS(string host, string path, string sMessage,
void NWNX_WebHook_SendWebHookHTTPS(string host, string path, string message, string username = "", int mrkdwn = 1)
{
string sFunc = "SendWebHookHTTPS";
NWNX_PushArgumentInt(mrkdwn);
NWNX_PushArgumentString(username);
NWNX_PushArgumentString(message);
NWNX_PushArgumentString(path);
NWNX_PushArgumentString(host);
NWNX_CallFunction(NWNX_WebHook, sFunc);
NWNXPushInt(mrkdwn);
NWNXPushString(username);
NWNXPushString(message);
NWNXPushString(path);
NWNXPushString(host);
NWNXCall(NWNX_WebHook, "SendWebHookHTTPS");
}
void NWNX_WebHook_ResendWebHookHTTPS(string host, string path, string sMessage, float delay = 0.0f)