xoreos
0.0.5
|
#include <function.h>
Public Member Functions | |
ScriptedFunction (Common::SeekableReadStream *as, std::vector< Common::UString > constantPool, bool preloadThisFlag, bool preloadSuperFlag, bool preloadRootFlag) | |
~ScriptedFunction () | |
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 | |
Common::SeekableReadStream * | _stream |
ASBuffer | _buffer |
Definition at line 59 of file function.h.
Aurora::ActionScript::ScriptedFunction::ScriptedFunction | ( | Common::SeekableReadStream * | as, |
std::vector< Common::UString > | constantPool, | ||
bool | preloadThisFlag, | ||
bool | preloadSuperFlag, | ||
bool | preloadRootFlag | ||
) |
Definition at line 47 of file function.cpp.
References _buffer, and Aurora::ActionScript::ASBuffer::setConstantPool().
Aurora::ActionScript::ScriptedFunction::~ScriptedFunction | ( | ) |
Definition at line 53 of file function.cpp.
References _stream.
Implements Aurora::ActionScript::Function.
Definition at line 57 of file function.cpp.
References _buffer, Aurora::ActionScript::AVM::getReturnValue(), and Aurora::ActionScript::ASBuffer::run().
|
private |
Definition at line 74 of file function.h.
Referenced by operator()(), and ScriptedFunction().
|
private |
Definition at line 73 of file function.h.
Referenced by ~ScriptedFunction().