|
CorsixTH engine (the C++ part)
Open source implementation of Theme Hospital
|
Interface used for persisting Lua objects. More...
#include <persist_lua.h>
Public Member Functions | |
| virtual | ~lua_persist_writer ()=default |
| virtual lua_State * | get_stack ()=0 |
| virtual void | write_stack_object (int iIndex)=0 |
| virtual void | write_byte_stream (const uint8_t *pBytes, size_t iCount)=0 |
| virtual void | set_error (const char *sError)=0 |
| virtual void | fast_write_stack_object (int iIndex)=0 |
| template<class T > | |
| void | write_uint (T tValue) |
| template<class T > | |
| void | write_int (T tValue) |
| template<class T > | |
| void | write_float (T fValue) |
Interface used for persisting Lua objects.
When userdata are persisted, they get an instance of this interface for writing binary data and other Lua objects.
|
virtualdefault |
Implemented in lua_persist_basic_writer.
Implemented in lua_persist_basic_writer.
Implemented in lua_persist_basic_writer.
|
pure virtual |
Implemented in lua_persist_basic_writer.
Implemented in lua_persist_basic_writer.