Hooks
static bool BeforeCvPlayer_CountAllTerrain(CvPlayer* self, TerrainTypes iTerrainType, int& result);static void AfterCvPlayer_CountAllTerrain(CvPlayer* self, TerrainTypes iTerrainType, int& result);static int ReplaceCvPlayer_CountAllTerrain(int (*original)(CvPlayer*, TerrainTypes), CvPlayer* self, TerrainTypes iTerrainType);CivRegisterBefore<CivHooks::CvPlayer_CountAllTerrain>(host, &BeforeCvPlayer_CountAllTerrain);CivRegisterAfter<CivHooks::CvPlayer_CountAllTerrain>(host, &AfterCvPlayer_CountAllTerrain);CivRegisterReplace<CivHooks::CvPlayer_CountAllTerrain>(host, &ReplaceCvPlayer_CountAllTerrain);