|
Toast Engine
|
Public Member Functions | |
| NodeProxy (toast::Box< toast::Node > box) noexcept | |
| auto | box () noexcept -> toast::Box< toast::Node > & |
| auto | box () const noexcept -> const toast::Box< toast::Node > & |
| auto | exists () const noexcept -> bool |
| auto | find (const std::string &query, lua_State *l) -> luabridge::LuaRef |
| auto | search (const std::string &query) -> std::vector< NodeProxy > |
| auto | parent (lua_State *l) -> luabridge::LuaRef |
| auto | root (lua_State *l) -> luabridge::LuaRef |
| auto | searchType (const std::string &type, lua_State *l) -> std::vector< NodeProxy > |
| auto | searchType (const TypeMarker &type, lua_State *l) -> std::vector< NodeProxy > |
| auto | getChildren (lua_State *l) -> std::vector< NodeProxy > |
| auto | getChildren (const std::string &type, lua_State *l) -> std::vector< NodeProxy > |
| auto | getChildren (const TypeMarker &type, lua_State *l) -> std::vector< NodeProxy > |
| auto | create (const std::string &type, lua_State *l) -> luabridge::LuaRef |
| void | addDependsOn (const NodeProxy &other) |
| void | interactsWith (const NodeProxy &other) |
| auto | name () const -> std::string |
| auto | uid () const -> uint64_t |
| auto | call (const std::string &fn_name, lua_State *l) -> luabridge::LuaRef |
| auto | hasField (std::string_view key) const noexcept -> bool |
| auto scripting::NodeProxy::call | ( | const std::string & | fn_name, |
| lua_State * | l ) -> luabridge::LuaRef |
Invokes the named reflected C++ method and fans out to any same-named Lua function on the node's ScriptRuntime
|
nodiscardnoexcept |