The Battle for Wesnoth  1.19.5+dev
Public Member Functions | Public Attributes | List of all members
current_tag Struct Reference

Public Member Functions

 current_tag (game_lua_kernel &k)
 
auto & pc () const
 
auto ss () const
 
auto & gd () const
 
auto & ev () const
 
void push_schedule (lua_State *L) const
 

Public Attributes

game_lua_kernelref
 

Detailed Description

Definition at line 1837 of file game_lua_kernel.cpp.

Constructor & Destructor Documentation

◆ current_tag()

current_tag::current_tag ( game_lua_kernel k)
inline

Definition at line 1839 of file game_lua_kernel.cpp.

Member Function Documentation

◆ ev()

auto& current_tag::ev ( ) const
inline

Definition at line 1843 of file game_lua_kernel.cpp.

References game_lua_kernel::get_event_info(), and ref.

◆ gd()

auto& current_tag::gd ( ) const
inline

Definition at line 1842 of file game_lua_kernel.cpp.

References game_lua_kernel::gamedata(), and ref.

◆ pc()

auto& current_tag::pc ( ) const
inline

Definition at line 1840 of file game_lua_kernel.cpp.

References game_lua_kernel::play_controller_, and ref.

◆ push_schedule()

void current_tag::push_schedule ( lua_State *  L) const
inline

Definition at line 1844 of file game_lua_kernel.cpp.

References game_lua_kernel::luaW_push_schedule(), and ref.

◆ ss()

auto current_tag::ss ( ) const
inline

Definition at line 1841 of file game_lua_kernel.cpp.

References ref, and game_lua_kernel::synced_state().

Member Data Documentation

◆ ref

game_lua_kernel& current_tag::ref

Definition at line 1838 of file game_lua_kernel.cpp.

Referenced by ev(), gd(), pc(), push_schedule(), and ss().


The documentation for this struct was generated from the following file: