Hooks
static bool BeforeCvLuaTeam_lGetTotalPopulation(lua_State* L, int& result);static void AfterCvLuaTeam_lGetTotalPopulation(lua_State* L, int& result);static int ReplaceCvLuaTeam_lGetTotalPopulation(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaTeam_lGetTotalPopulation>(host, &BeforeCvLuaTeam_lGetTotalPopulation);CivRegisterAfter<CivHooks::CvLuaTeam_lGetTotalPopulation>(host, &AfterCvLuaTeam_lGetTotalPopulation);CivRegisterReplace<CivHooks::CvLuaTeam_lGetTotalPopulation>(host, &ReplaceCvLuaTeam_lGetTotalPopulation);