Updated for NWNEE 37-13

Updated for NWNEE 37-13.  Updated NWNxEE scripts.  CODI Core AI tweaks.  Added Diamond Golem AI.  Full compile.  Updated release archive.
This commit is contained in:
Jaysyn904
2025-01-10 19:01:12 -05:00
parent 37c79b6d57
commit ce72b8d120
685 changed files with 6642 additions and 7699 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)