OpenMoHAA ..
Loading...
Searching...
No Matches
ScriptVMStack Class Reference

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

Member Function Documentation

◆ Pop()

ScriptVariable & ScriptVMStack::Pop ( )

Pop and return the previous value.

◆ Push()

ScriptVariable & ScriptVMStack::Push ( )

Push and return the previous value.

Member Data Documentation

◆ m_bMarkStack

bool ScriptVMStack::m_bMarkStack

Whether or not the stack is marked. changed by OP_MARK_STACK_POS and OP_RESTORE_STACK_POS


The documentation for this class was generated from the following files: