The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Namespaces | Functions
lua_team.hpp File Reference
#include <string>
Include dependency graph for lua_team.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 lua_team
 This namespace contains bindings for lua to hold a pointer to a team, and to access and modify it.
 

Functions

std::string lua_team::register_metatable (lua_State *L)
 
void luaW_pushteam (lua_State *, team &)
 

Function Documentation

void luaW_pushteam ( lua_State ,
team  
)

Definition at line 173 of file lua_team.cpp.

References lua_newuserdata(), luaL_setmetatable(), and Team.

Referenced by game_lua_kernel::intf_get_sides().