Bazaar developer reference

CvLuaCity::lGetHighestPopulation(lua_State *)

Defined in
Lua/CvLuaCity.cpp, line 2155
Class
CvLuaCity
Hook name
CivHooks::CvLuaCity_lGetHighestPopulation

Hooks

static bool BeforeCvLuaCity_lGetHighestPopulation(lua_State* L, int& result);static void AfterCvLuaCity_lGetHighestPopulation(lua_State* L, int& result);static int ReplaceCvLuaCity_lGetHighestPopulation(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaCity_lGetHighestPopulation>(host, &BeforeCvLuaCity_lGetHighestPopulation);CivRegisterAfter<CivHooks::CvLuaCity_lGetHighestPopulation>(host, &AfterCvLuaCity_lGetHighestPopulation);CivRegisterReplace<CivHooks::CvLuaCity_lGetHighestPopulation>(host, &ReplaceCvLuaCity_lGetHighestPopulation);

Code

2154//int getHighestPopulation();2155int CvLuaCity::lGetHighestPopulation(lua_State* L)2156{2157	return BasicLuaMethod(L, &CvCity::getHighestPopulation);2158}

Calls

Called by