Initial Commit

Initial Commit.
This commit is contained in:
Jaysyn904
2025-09-14 15:40:46 -04:00
parent 7083b33d71
commit 1eefc84201
19230 changed files with 11539227 additions and 0 deletions

21
_module/nss/nwnx_core.nss Normal file
View File

@@ -0,0 +1,21 @@
/// @addtogroup nwnx NWNX
/// @brief Core NWNX Functions.
/// @{
/// @file nwnx_core.nss
const string NWNX_Core = "NWNX_Core"; ///< @private
/// @brief Determines if the given plugin exists and is enabled.
/// @param sPlugin The name of the plugin to check. This is the case sensitive plugin name as used by NWNXCall
/// @note Example usage: NWNX_PluginExists("NWNX_Creature");
/// @return TRUE if the plugin exists and is enabled, otherwise FALSE.
int NWNX_Core_PluginExists(string sPlugin);
/// @}
int NWNX_Core_PluginExists(string sPlugin)
{
NWNXPushString(sPlugin);
NWNXCall(NWNX_Core, "PluginExists");
return NWNXPopInt();
}