#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) |
![]() | |
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 53 of file lua_object.hpp.
|
inline |
Definition at line 58 of file lua_object.hpp.
|
inline |
Definition at line 64 of file lua_object.hpp.
|
inlineprotected |
Definition at line 178 of file lua_object.hpp.
|
inlineprotected |
Definition at line 235 of file lua_object.hpp.
References luaW_pushconfig().
|
inlineprotected |
Definition at line 110 of file lua_object.hpp.
|
inlineprotected |
Definition at line 191 of file lua_object.hpp.
|
inlineprotected |
Definition at line 165 of file lua_object.hpp.
|
inlineprotected |
Definition at line 215 of file lua_object.hpp.
|
inlineprotected |
Definition at line 94 of file lua_object.hpp.
Referenced by ai::lua_object< T >::push().
|
inlineprotected |
Definition at line 254 of file lua_object.hpp.
References loc, and luaW_pushlocation().
|
inlineprotected |
Definition at line 123 of file lua_object.hpp.
References utils::decayed_is_same.
|
inline |
Definition at line 70 of file lua_object.hpp.
References ai::lua_object< T >::value_.
|
inline |
Definition at line 80 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 75 of file lua_object.hpp.
References n, ai::lua_object< T >::to_type(), and ai::lua_object< T >::value_.
|
inlineprotected |
Definition at line 88 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 104 of file lua_object.hpp.
References n.
|
inlineprotected |
Definition at line 117 of file lua_object.hpp.
References n.
|
inlineprotected |
Definition at line 144 of file lua_object.hpp.
References i, luaW_toboolean(), n, and s.
|
inlineprotected |
Definition at line 172 of file lua_object.hpp.
References luaW_toboolean(), and n.
|
inlineprotected |
Definition at line 185 of file lua_object.hpp.
References n.
|
inlineprotected |
Definition at line 198 of file lua_object.hpp.
|
inlineprotected |
Definition at line 227 of file lua_object.hpp.
References cfg, luaW_toconfig(), and n.
|
inlineprotected |
Definition at line 242 of file lua_object.hpp.
References config::add_child(), cfg, resources::filter_con, luaW_tovconfig(), and n.
|
inlineprotected |
Definition at line 268 of file lua_object.hpp.
References ERR_OBJ_LUA, string_enums::enum_base< Definition >::get_enum(), i, and n.
|
inlineprotected |
Definition at line 325 of file lua_object.hpp.
References n.
|
protected |
|
protected |
Definition at line 100 of file lua_object.hpp.
Referenced by ai::lua_object< T >::get(), ai::lua_object< T >::push(), and ai::lua_object< T >::store().