xoreos
0.0.5
|
#include <function.h>
Public Member Functions | |
NativeFunction (boost::function< Variable(AVM &)> function, bool preloadThisFlag, bool preloadSuperFlag, bool preloadRootFlag) | |
Variable | operator() (AVM &avm) |
Public Member Functions inherited from Aurora::ActionScript::Function | |
Function (bool preloadThisFlag, bool preloadSuperFlag, bool preloadRootFlag) | |
bool | getPreloadThisFlag () |
bool | getPreloadSuperFlag () |
bool | getPreloadRootFlag () |
Public Member Functions inherited from Aurora::ActionScript::Object | |
Object () | |
Object (Object *object) | |
virtual | ~Object () |
std::vector< Common::UString > | getSlots () const |
bool | hasMember (const Common::UString &id) |
virtual Variable | getMember (const Variable &id) |
virtual void | setMember (const Variable &id, const Variable &value) |
virtual void | setMember (const Common::UString &id, Function *function) |
Variable | call (const Common::UString &function, AVM &avm, const std::vector< Variable > &arguments=std::vector< Variable >()) |
Private Attributes | |
boost::function< Variable(AVM &)> | _function |
Definition at line 77 of file function.h.
Aurora::ActionScript::NativeFunction::NativeFunction | ( | boost::function< Variable(AVM &)> | function, |
bool | preloadThisFlag, | ||
bool | preloadSuperFlag, | ||
bool | preloadRootFlag | ||
) |
Definition at line 62 of file function.cpp.
Implements Aurora::ActionScript::Function.
Definition at line 66 of file function.cpp.
References _function.
Definition at line 84 of file function.h.
Referenced by operator()().