25 #ifndef AURORA_NWSCRIPT_FUNCTIONCONTEXT_H 26 #define AURORA_NWSCRIPT_FUNCTIONCONTEXT_H 40 class VariableContainer;
104 #endif // AURORA_NWSCRIPT_FUNCTIONCONTEXT_H
const Signature & getSignature() const
std::vector< class Variable > Parameters
Object * getTriggerer() const
size_t _paramsSpecified
The number of parameters specified (not defaulted).
A class holding an UTF-8 string.
void setTriggerer(Object *obj)
Object * getCaller() const
ObjectReference _triggerer
The triggering person.
void setParamsSpecified(size_t params)
An NCS, BioWare's NWN Compile Script.
size_t getParamMin() const
void setCaller(Object *obj)
NCSFile * getCurrentScript() const
size_t getParamMax() const
size_t getParamsSpecified() const
FunctionContext & operator=(const FunctionContext &ctx)
const Common::UString & getScriptName() const
std::vector< Type > Signature
const Common::UString & getName() const
void setCurrentScript(NCSFile *script=0)
VariableContainer * getCurrentEnvironment() const
Reference to an NWScript object.
size_t _defaultCount
The number of default values.
Parameters _parameters
The function's parameters.
NCSFile * _currentScript
The script executing this function.
ObjectReference _caller
The calling object.
Variable _return
The function's return value.
void setSignature(const Signature &signature)
Signature _signature
The function's signature.
void setDefaults(const Parameters &defaults)
NWScript utility functions.
FunctionContext(const Common::UString &name="")