Bazaar developer reference

CvLuaCity::lGetPopulation(lua_State *)

Defined in
Lua/CvLuaCity.cpp, line 2117
Class
CvLuaCity
Hook name
CivHooks::CvLuaCity_lGetPopulation

Hooks

static bool BeforeCvLuaCity_lGetPopulation(lua_State* L, int& result);static void AfterCvLuaCity_lGetPopulation(lua_State* L, int& result);static int ReplaceCvLuaCity_lGetPopulation(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaCity_lGetPopulation>(host, &BeforeCvLuaCity_lGetPopulation);CivRegisterAfter<CivHooks::CvLuaCity_lGetPopulation>(host, &AfterCvLuaCity_lGetPopulation);CivRegisterReplace<CivHooks::CvLuaCity_lGetPopulation>(host, &ReplaceCvLuaCity_lGetPopulation);

Code

2116//int getPopulation();2117int CvLuaCity::lGetPopulation(lua_State* L)2118{2119	return BasicLuaMethod(L, &CvCity::getPopulation);2120}

Calls

Called by