NWNX:EE  8193.36.12
nwnx_nwsqliteext.nss
Go to the documentation of this file.
1 #include "nwnx"
6 
7 const string NWNX_NWSQLiteExtensions = "NWNX_NWSQLiteExtensions";
8 
14 int NWNX_NWSQLiteExtensions_CreateVirtual2DATable(string s2DA, string sColumnTypeHints = "", string sTableName = "");
15 
17 
18 int NWNX_NWSQLiteExtensions_CreateVirtual2DATable(string s2DA, string sColumnTypeHints = "", string sTableName = "")
19 {
20  NWNX_PushArgumentString(sTableName);
21  NWNX_PushArgumentString(sColumnTypeHints);
23  NWNX_CallFunction(NWNX_NWSQLiteExtensions, "CreateVirtual2DATable");
24  return NWNX_GetReturnValueInt();
25 }
NWNX_GetReturnValueInt
int NWNX_GetReturnValueInt()
Returns the specified type from the c++ side.
Definition: nwnx.nss:94
NWNX_CallFunction
void NWNX_CallFunction(string pluginName, string functionName)
Scripting interface to NWNX.
Definition: nwnx.nss:54
NWNX_PushArgumentString
void NWNX_PushArgumentString(string value)
Pushes the specified type to the c++ side.
Definition: nwnx.nss:74
NWNX_NWSQLiteExtensions_CreateVirtual2DATable
int NWNX_NWSQLiteExtensions_CreateVirtual2DATable(string s2DA, string sColumnTypeHints="", string sTableName="")
Create a virtual table for s2DA in the module sqlite database.
Definition: nwnx_nwsqliteext.nss:18