|
CorsixTH engine (the C++ part)
Open source implementation of Theme Hospital
|
Interface used for depersisting Lua objects. More...
#include <persist_lua.h>
Public Member Functions | |
| virtual | ~lua_persist_reader ()=default |
| virtual lua_State * | get_stack ()=0 |
| virtual bool | read_stack_object ()=0 |
| virtual bool | read_byte_stream (uint8_t *pBytes, size_t iCount)=0 |
| virtual void | set_error (const char *sError)=0 |
| template<class T > | |
| bool | read_uint (T &tValue) |
| template<class T > | |
| bool | read_int (T &tValue) |
| template<class T > | |
| bool | read_float (T &fValue) |
Interface used for depersisting Lua objects.
When userdata are depersisted, they get an instance of this interface for reading binary data and other Lua objects.
|
virtualdefault |
Implemented in lua_persist_basic_reader.
Implemented in lua_persist_basic_reader.
Implemented in lua_persist_basic_reader.
Implemented in lua_persist_basic_reader.