29 namespace ActionScript {
32 _preloadThisFlag(preloadThisFlag), _preloadSuperFlag(preloadSuperFlag), _preloadRootFlag(preloadRootFlag) {
48 bool preloadThisFlag,
bool preloadSuperFlag,
bool preloadRootFlag) :
49 Function(preloadThisFlag, preloadSuperFlag, preloadRootFlag), _stream(as), _buffer(as) {
63 :
Function(preloadThisFlag, preloadSuperFlag, preloadRootFlag), _function(function) {
Variable operator()(AVM &avm)
NativeFunction(boost::function< Variable(AVM &)> function, bool preloadThisFlag, bool preloadSuperFlag, bool preloadRootFlag)
bool getPreloadThisFlag()
void setConstantPool(std::vector< Common::UString > constantPool)
Variable operator()(AVM &avm)
ScriptedFunction(Common::SeekableReadStream *as, std::vector< Common::UString > constantPool, bool preloadThisFlag, bool preloadSuperFlag, bool preloadRootFlag)
Function objects for ActionScript.
Function(bool preloadThisFlag, bool preloadSuperFlag, bool preloadRootFlag)
bool getPreloadRootFlag()
An action script variable.
boost::function< Variable(AVM &)> _function
Common::SeekableReadStream * _stream
Variable getReturnValue()
Interface for a seekable & readable data stream.
bool getPreloadSuperFlag()
The Action script virtual machine (AVM).