Bazaar developer reference

CvLuaCity::lConscript(lua_State *)

Defined in
Lua/CvLuaCity.cpp, line 1649
Class
CvLuaCity
Hook name
CivHooks::CvLuaCity_lConscript

Hooks

static bool BeforeCvLuaCity_lConscript(lua_State* L, int& result);static void AfterCvLuaCity_lConscript(lua_State* L, int& result);static int ReplaceCvLuaCity_lConscript(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaCity_lConscript>(host, &BeforeCvLuaCity_lConscript);CivRegisterAfter<CivHooks::CvLuaCity_lConscript>(host, &AfterCvLuaCity_lConscript);CivRegisterReplace<CivHooks::CvLuaCity_lConscript>(host, &ReplaceCvLuaCity_lConscript);

Code

1648//void conscript();1649int CvLuaCity::lConscript(lua_State* L)1650{1651	CvCity* pkCity = GetInstance(L);1652	pkCity->conscript();16531654	return 1;1655}

Calls

Called by