NWNX:EE
8193.36.12
nwnx_ruby.nss
Go to the documentation of this file.
1
#include "nwnx"
6
7
const
string
NWNX_Ruby =
"NWNX_Ruby"
;
8
9
string
NWNX_Ruby_Evaluate
(
string
sCode);
10
14
string
NWNX_Ruby_Evaluate
(
string
sCode)
15
{
16
string
sFunc =
"Evaluate"
;
17
18
NWNX_PushArgumentString
(sCode);
19
NWNX_CallFunction
(NWNX_Ruby, sFunc);
20
return
NWNX_GetReturnValueString
();
21
}
22
NWNX_CallFunction
void NWNX_CallFunction(string pluginName, string functionName)
Scripting interface to NWNX.
Definition:
nwnx.nss:54
NWNX_GetReturnValueString
string NWNX_GetReturnValueString()
Returns the specified type from the c++ side.
Definition:
nwnx.nss:109
NWNX_PushArgumentString
void NWNX_PushArgumentString(string value)
Pushes the specified type to the c++ side.
Definition:
nwnx.nss:74
NWNX_Ruby_Evaluate
string NWNX_Ruby_Evaluate(string sCode)
Evaluates some ruby code.
Definition:
nwnx_ruby.nss:14
Plugins
Ruby
NWScript
nwnx_ruby.nss
Generated on Tue Oct 22 2024 12:19:43 for NWNX:EE by
1.8.17.
Dark version