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);