OpenMoHAA 0.82.0
|
Public Member Functions | |
ScriptVMStack (size_t stackSize) | |
ScriptVMStack (const ScriptVMStack &other)=delete | |
ScriptVMStack & | operator= (const ScriptVMStack &other)=delete |
ScriptVMStack (ScriptVMStack &&other) | |
ScriptVMStack & | operator= (ScriptVMStack &&other) |
size_t | GetStackSize () const |
ScriptVariable & | SetTop (ScriptVariable &newTop) |
ScriptVariable & | GetTop () const |
ScriptVariable & | GetTop (size_t offset) const |
ScriptVariable * | GetTopPtr () const |
ScriptVariable * | GetTopPtr (size_t offset) const |
ScriptVariable * | GetTopArray (size_t offset=0) const |
uintptr_t | GetIndex () const |
void | MoveTop (ScriptVariable &&other) |
ScriptVariable & | Pop () |
ScriptVariable & | Pop (size_t offset) |
ScriptVariable & | PopAndGet () |
ScriptVariable & | PopAndGet (size_t offset) |
ScriptVariable & | Push () |
ScriptVariable & | Push (size_t offset) |
ScriptVariable & | PushAndGet () |
ScriptVariable & | PushAndGet (size_t offset) |
void | Archive (Archiver &arc) |
Public Attributes | |
bool | m_bMarkStack |
ScriptVariable & ScriptVMStack::Pop | ( | ) |
Pop and return the previous value.
ScriptVariable & ScriptVMStack::Push | ( | ) |
Push and return the previous value.
bool ScriptVMStack::m_bMarkStack |
Whether or not the stack is marked. changed by OP_MARK_STACK_POS and OP_RESTORE_STACK_POS