Bazaar developer reference

CvLuaGame::lGetMaxPopulation(lua_State *)

Defined in
Lua/CvLuaGame.cpp, line 1095
Class
CvLuaGame
Hook name
CivHooks::CvLuaGame_lGetMaxPopulation

Hooks

static bool BeforeCvLuaGame_lGetMaxPopulation(lua_State* L, int& result);static void AfterCvLuaGame_lGetMaxPopulation(lua_State* L, int& result);static int ReplaceCvLuaGame_lGetMaxPopulation(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaGame_lGetMaxPopulation>(host, &BeforeCvLuaGame_lGetMaxPopulation);CivRegisterAfter<CivHooks::CvLuaGame_lGetMaxPopulation>(host, &AfterCvLuaGame_lGetMaxPopulation);CivRegisterReplace<CivHooks::CvLuaGame_lGetMaxPopulation>(host, &ReplaceCvLuaGame_lGetMaxPopulation);

Code

1094//int getMaxPopulation();1095int CvLuaGame::lGetMaxPopulation(lua_State* L)1096{1097	return BasicLuaMethod(L, &CvGame::getMaxPopulation);1098}

Calls

Called by