Bazaar developer reference

CvLuaCity::lGetConscriptUnit(lua_State *)

Defined in
Lua/CvLuaCity.cpp, line 1625
Class
CvLuaCity
Hook name
CivHooks::CvLuaCity_lGetConscriptUnit

Hooks

static bool BeforeCvLuaCity_lGetConscriptUnit(lua_State* L, int& result);static void AfterCvLuaCity_lGetConscriptUnit(lua_State* L, int& result);static int ReplaceCvLuaCity_lGetConscriptUnit(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaCity_lGetConscriptUnit>(host, &BeforeCvLuaCity_lGetConscriptUnit);CivRegisterAfter<CivHooks::CvLuaCity_lGetConscriptUnit>(host, &AfterCvLuaCity_lGetConscriptUnit);CivRegisterReplace<CivHooks::CvLuaCity_lGetConscriptUnit>(host, &ReplaceCvLuaCity_lGetConscriptUnit);

Code

1624//UnitTypes getConscriptUnit()1625int CvLuaCity::lGetConscriptUnit(lua_State* L)1626{1627	return BasicLuaMethod(L, &CvCity::getConscriptUnit);1628}

Calls

Called by