|
API Documentation
|
|
|
static void updateEnvironment(nkScripts::Environment *env)
Defines an environment in which scripts can execute.
Definition: Environment.h:14
static nkScripts::OutputValue saveFileToDisk(const nkScripts::DataStack &stack)
static nkScripts::OutputValue checkFileExists(const nkScripts::DataStack &stack)
A view over data.
Definition: BufferView.h:18
static nkScripts::OutputValue loadFileIntoMemory(const nkScripts::DataStack &stack)
static nkScripts::OutputValue checkFolderExists(const nkScripts::DataStack &stack)
Encompasses the wrapping of nkResources for scripting.
Definition: Constants.h:7
static nkScripts::OutputValue getFromWorkingDirFromAbsolute(const nkScripts::DataStack &stack)
A function parameter, used within the stack of arguments.
Definition: FunctionParameter.h:25
static nkScripts::OutputValue getAbsoluteFromWorkingDir(const nkScripts::DataStack &stack)
static nkScripts::OutputValue getRelativeFromWorkingDir(const nkScripts::DataStack &stack)
static nkScripts::OutputValue getFromWorkingDirFromRelative(const nkScripts::DataStack &stack)
Wraps a nkResources::ResourceManager and offer functions for use in scripting.
Definition: ResourceManagerWrapper.h:12
static nkScripts::OutputValue getAbsoluteFromRelative(const nkScripts::DataStack &stack)
static nkScripts::OutputValue getRelativeFromAbsolute(const nkScripts::DataStack &stack)
static nkScripts::OutputValue getLaunchedPath(const nkScripts::DataStack &stack)
static nkScripts::OutputValue getWorkingPathAbsolute(const nkScripts::DataStack &stack)
static nkScripts::OutputValue getWorkingPath(const nkScripts::DataStack &stack)