Bazaar developer reference

CvLuaGame::lGetInitPopulation(lua_State *)

Defined in
Lua/CvLuaGame.cpp, line 1101
Class
CvLuaGame
Hook name
CivHooks::CvLuaGame_lGetInitPopulation

Hooks

static bool BeforeCvLuaGame_lGetInitPopulation(lua_State* L, int& result);static void AfterCvLuaGame_lGetInitPopulation(lua_State* L, int& result);static int ReplaceCvLuaGame_lGetInitPopulation(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaGame_lGetInitPopulation>(host, &BeforeCvLuaGame_lGetInitPopulation);CivRegisterAfter<CivHooks::CvLuaGame_lGetInitPopulation>(host, &AfterCvLuaGame_lGetInitPopulation);CivRegisterReplace<CivHooks::CvLuaGame_lGetInitPopulation>(host, &ReplaceCvLuaGame_lGetInitPopulation);

Code

1100//int getInitPopulation();1101int CvLuaGame::lGetInitPopulation(lua_State* L)1102{1103	return BasicLuaMethod(L, &CvGame::getInitPopulation);1104}

Calls

Called by