#include <riven_scripts.h>
Public Types | |
typedef Common::Array< uint16 > | ArgumentArray |
Public Member Functions | |
RivenSimpleCommand (MohawkEngine_Riven *vm, RivenCommandType type, const ArgumentArray &arguments) | |
void | dump (byte tabs) override |
void | execute () override |
RivenCommandType | getType () const override |
Public Member Functions inherited from Mohawk::RivenCommand | |
RivenCommand (MohawkEngine_Riven *vm) | |
virtual void | applyCardPatches (uint32 globalId, int scriptType, uint16 hotspotId) |
Static Public Member Functions | |
static RivenSimpleCommand * | createFromStream (MohawkEngine_Riven *vm, RivenCommandType type, Common::ReadStream *stream) |
Additional Inherited Members | |
Protected Attributes inherited from Mohawk::RivenCommand | |
MohawkEngine_Riven * | _vm |
A simple Command
Simple commands have a type and a list of arguments. The operation to be executed when running the command depends on the type.
|
overridevirtual |
Print details about the command to standard output
Implements Mohawk::RivenCommand.
|
overridevirtual |
Execute the command
Implements Mohawk::RivenCommand.
|
overridevirtual |
Get the command's type
Implements Mohawk::RivenCommand.