#include <lua_object.hpp>
Public Member Functions | |
lua_object () | |
lua_object (const T &init) | |
std::shared_ptr< T > | get () |
void | store (lua_State *L, int n) |
void | push (lua_State *L) |
Public Member Functions inherited from ai::lua_object_base | |
lua_object_base () | |
virtual | ~lua_object_base () |
Protected Member Functions | |
std::shared_ptr< T > | to_type (lua_State *, int) |
void | from_type (lua_State *L, std::shared_ptr< T >) |
std::shared_ptr< aspect_attacks_lua_filter > | to_type (lua_State *L, int n) |
std::shared_ptr< double > | to_type (lua_State *L, int n) |
void | from_type (lua_State *L, std::shared_ptr< double > value) |
std::shared_ptr< std::string > | to_type (lua_State *L, int n) |
void | from_type (lua_State *L, std::shared_ptr< utils::variant< bool, std::vector< std::string >>> value) |
std::shared_ptr< utils::variant< bool, std::vector< std::string > > > | to_type (lua_State *L, int n) |
void | from_type (lua_State *L, std::shared_ptr< std::string > value) |
std::shared_ptr< bool > | to_type (lua_State *L, int n) |
void | from_type (lua_State *L, std::shared_ptr< bool > value) |
std::shared_ptr< int > | to_type (lua_State *L, int n) |
void | from_type (lua_State *L, std::shared_ptr< int > value) |
std::shared_ptr< std::vector< std::string > > | to_type (lua_State *L, int n) |
void | from_type (lua_State *L, std::shared_ptr< std::vector< std::string > > value) |
std::shared_ptr< config > | to_type (lua_State *L, int n) |
void | from_type (lua_State *L, std::shared_ptr< config > value) |
std::shared_ptr< terrain_filter > | to_type (lua_State *L, int n) |
void | from_type (lua_State *L, std::shared_ptr< terrain_filter > value) |
std::shared_ptr< std::vector< target > > | to_type (lua_State *L, int n) |
std::shared_ptr< unit_advancements_aspect > | to_type (lua_State *L, int n) |
std::shared_ptr< aspect_attacks_lua_filter > | to_type (lua_State *L, int n) |
Protected Attributes | |
std::shared_ptr< T > | value_ |
Definition at line 52 of file lua_object.hpp.
|
inline |
Definition at line 57 of file lua_object.hpp.
|
inline |
Definition at line 63 of file lua_object.hpp.
|
inlineprotected |
Definition at line 177 of file lua_object.hpp.
|
inlineprotected |
Definition at line 234 of file lua_object.hpp.
References luaW_pushconfig().
|
inlineprotected |
Definition at line 109 of file lua_object.hpp.
|
inlineprotected |
Definition at line 190 of file lua_object.hpp.
|
inlineprotected |
Definition at line 164 of file lua_object.hpp.
|
inlineprotected |
Definition at line 214 of file lua_object.hpp.
|
inlineprotected |
Definition at line 93 of file lua_object.hpp.
Referenced by ai::lua_object< T >::push().
|
inlineprotected |
Definition at line 253 of file lua_object.hpp.
References luaW_pushlocation().
|
inlineprotected |
Definition at line 122 of file lua_object.hpp.
References utils::decayed_is_same.
|
inline |
Definition at line 69 of file lua_object.hpp.
References ai::lua_object< T >::value_.
|
inline |
Definition at line 79 of file lua_object.hpp.
References ai::lua_object< T >::from_type(), and ai::lua_object< T >::value_.
Referenced by ai::typesafe_aspect< T >::get_lua().
|
inlinevirtual |
Implements ai::lua_object_base.
Definition at line 74 of file lua_object.hpp.
References n, ai::lua_object< T >::to_type(), and ai::lua_object< T >::value_.
|
inlineprotected |
Definition at line 87 of file lua_object.hpp.
Referenced by ai::lua_object< T >::store().
|
protected |
Definition at line 38 of file lua_object.cpp.
References luaW_tovconfig(), and n.
|
inlineprotected |
Definition at line 103 of file lua_object.hpp.
References n.
|
inlineprotected |
Definition at line 116 of file lua_object.hpp.
References n.
|
inlineprotected |
Definition at line 143 of file lua_object.hpp.
References i, luaW_toboolean(), n, and s.
|
inlineprotected |
Definition at line 171 of file lua_object.hpp.
References luaW_toboolean(), and n.
|
inlineprotected |
Definition at line 184 of file lua_object.hpp.
References n.
|
inlineprotected |
Definition at line 197 of file lua_object.hpp.
|
inlineprotected |
Definition at line 226 of file lua_object.hpp.
References luaW_toconfig(), and n.
|
inlineprotected |
Definition at line 241 of file lua_object.hpp.
References resources::filter_con, luaW_tovconfig(), and n.
|
inlineprotected |
Definition at line 267 of file lua_object.hpp.
References ERR_OBJ_LUA, string_enums::enum_base< Definition >::get_enum(), i, and n.
|
inlineprotected |
Definition at line 324 of file lua_object.hpp.
References n.
|
protected |
|
protected |
Definition at line 99 of file lua_object.hpp.
Referenced by ai::lua_object< T >::get(), ai::lua_object< T >::push(), and ai::lua_object< T >::store().