This class stores all the data for a single 'side' (in game nomenclature).
void luaW_pushteam(lua_State *, team &)
Create a full userdata containing a pointer to the team.
team & luaW_checkteam(lua_State *, int)
Test if the top stack element is a team, and if not, error.
team * luaW_toteam(lua_State *, int)
Test if the top stack element is a team, and if so, return it.
This namespace contains bindings for lua to hold a pointer to a team, and to access and modify it.
std::string register_metatable(lua_State *L)