Bazaar developer reference

CvLuaCity::lGetTeam(lua_State *)

Defined in
Lua/CvLuaCity.cpp, line 3167
Class
CvLuaCity
Hook name
CivHooks::CvLuaCity_lGetTeam

Hooks

static bool BeforeCvLuaCity_lGetTeam(lua_State* L, int& result);static void AfterCvLuaCity_lGetTeam(lua_State* L, int& result);static int ReplaceCvLuaCity_lGetTeam(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaCity_lGetTeam>(host, &BeforeCvLuaCity_lGetTeam);CivRegisterAfter<CivHooks::CvLuaCity_lGetTeam>(host, &AfterCvLuaCity_lGetTeam);CivRegisterReplace<CivHooks::CvLuaCity_lGetTeam>(host, &ReplaceCvLuaCity_lGetTeam);

Code

3166//TeamTypes getTeam();3167int CvLuaCity::lGetTeam(lua_State* L)3168{3169	return BasicLuaMethod(L, &CvCity::getTeam);3170}

Calls

Called by