diff options
author | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2021-12-11 22:24:13 +0000 |
---|---|---|
committer | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2021-12-11 22:24:13 +0000 |
commit | db552e7bcf5b1c6b01dd655163e1dc0a9d840ab0 (patch) | |
tree | eb480b2754e4ba4653940571d7a7d089d07c37d6 /NorthstarDedicatedTest/scriptmodmenu.cpp | |
parent | 12b5d0b85a4a1cb55b068a3fbb357c30a52c1e20 (diff) | |
download | NorthstarLauncher-db552e7bcf5b1c6b01dd655163e1dc0a9d840ab0.tar.gz NorthstarLauncher-db552e7bcf5b1c6b01dd655163e1dc0a9d840ab0.zip |
write_persistence fixes and custom mainmenupromos
Diffstat (limited to 'NorthstarDedicatedTest/scriptmodmenu.cpp')
-rw-r--r-- | NorthstarDedicatedTest/scriptmodmenu.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/NorthstarDedicatedTest/scriptmodmenu.cpp b/NorthstarDedicatedTest/scriptmodmenu.cpp index d7c675ea..47fa971d 100644 --- a/NorthstarDedicatedTest/scriptmodmenu.cpp +++ b/NorthstarDedicatedTest/scriptmodmenu.cpp @@ -4,7 +4,7 @@ #include "squirrel.h" #include "dedicated.h" -// array<string> NSGetModNames() +// array<string> function NSGetModNames() SQRESULT SQ_GetModNames(void* sqvm) { ClientSq_newarray(sqvm, 0); @@ -18,7 +18,7 @@ SQRESULT SQ_GetModNames(void* sqvm) return SQRESULT_NOTNULL; } -// bool NSIsModEnabled(string modName) +// bool function NSIsModEnabled(string modName) SQRESULT SQ_IsModEnabled(void* sqvm) { const SQChar* modName = ClientSq_getstring(sqvm, 1); @@ -36,7 +36,7 @@ SQRESULT SQ_IsModEnabled(void* sqvm) return SQRESULT_NULL; } -// void NSSetModEnabled(string modName, bool enabled) +// void function NSSetModEnabled(string modName, bool enabled) SQRESULT SQ_SetModEnabled(void* sqvm) { const SQChar* modName = ClientSq_getstring(sqvm, 1); @@ -55,7 +55,7 @@ SQRESULT SQ_SetModEnabled(void* sqvm) return SQRESULT_NULL; } -// string NSGetModDescriptionByModName(string modName) +// string function NSGetModDescriptionByModName(string modName) SQRESULT SQ_GetModDescription(void* sqvm) { const SQChar* modName = ClientSq_getstring(sqvm, 1); @@ -73,7 +73,7 @@ SQRESULT SQ_GetModDescription(void* sqvm) return SQRESULT_NULL; } -// string NSGetModVersionByModName(string modName) +// string function NSGetModVersionByModName(string modName) SQRESULT SQ_GetModVersion(void* sqvm) { const SQChar* modName = ClientSq_getstring(sqvm, 1); @@ -91,7 +91,7 @@ SQRESULT SQ_GetModVersion(void* sqvm) return SQRESULT_NULL; } -// string NSGetModDownloadLinkByModName(string modName) +// string function NSGetModDownloadLinkByModName(string modName) SQRESULT SQ_GetModDownloadLink(void* sqvm) { const SQChar* modName = ClientSq_getstring(sqvm, 1); @@ -109,7 +109,7 @@ SQRESULT SQ_GetModDownloadLink(void* sqvm) return SQRESULT_NULL; } -// int NSGetModLoadPriority(string modName) +// int function NSGetModLoadPriority(string modName) SQRESULT SQ_GetModLoadPriority(void* sqvm) { const SQChar* modName = ClientSq_getstring(sqvm, 1); @@ -127,7 +127,7 @@ SQRESULT SQ_GetModLoadPriority(void* sqvm) return SQRESULT_NULL; } -// bool NSIsModRequiredOnClient(string modName) +// bool function NSIsModRequiredOnClient(string modName) SQRESULT SQ_IsModRequiredOnClient(void* sqvm) { const SQChar* modName = ClientSq_getstring(sqvm, 1); @@ -145,7 +145,7 @@ SQRESULT SQ_IsModRequiredOnClient(void* sqvm) return SQRESULT_NULL; } -// array<string> NSGetModConvarsByModName(string modName) +// array<string> function NSGetModConvarsByModName(string modName) SQRESULT SQ_GetModConvars(void* sqvm) { const SQChar* modName = ClientSq_getstring(sqvm, 1); @@ -169,7 +169,7 @@ SQRESULT SQ_GetModConvars(void* sqvm) return SQRESULT_NOTNULL; // return empty array } -// void NSReloadMods() +// void function NSReloadMods() SQRESULT SQ_ReloadMods(void* sqvm) { g_ModManager->LoadMods(); |