Bazaar developer reference

CvLuaGame::lGetProductionPerPopulation(lua_State *)

Defined in
Lua/CvLuaGame.cpp, line 597
Class
CvLuaGame
Hook name
CivHooks::CvLuaGame_lGetProductionPerPopulation

Hooks

static bool BeforeCvLuaGame_lGetProductionPerPopulation(lua_State* L, int& result);static void AfterCvLuaGame_lGetProductionPerPopulation(lua_State* L, int& result);static int ReplaceCvLuaGame_lGetProductionPerPopulation(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaGame_lGetProductionPerPopulation>(host, &BeforeCvLuaGame_lGetProductionPerPopulation);CivRegisterAfter<CivHooks::CvLuaGame_lGetProductionPerPopulation>(host, &AfterCvLuaGame_lGetProductionPerPopulation);CivRegisterReplace<CivHooks::CvLuaGame_lGetProductionPerPopulation>(host, &ReplaceCvLuaGame_lGetProductionPerPopulation);

Code

596// int getProductionPerPopulation(HurryTypes eHurry);597int CvLuaGame::lGetProductionPerPopulation(lua_State* L)598{599	return BasicLuaMethod(L, &CvGame::getProductionPerPopulation);600}

Calls

Called by