Hooks
static bool BeforeCvPlayer_CountAllWorkedTerrain(CvPlayer* self, TerrainTypes iTerrainType, int& result);static void AfterCvPlayer_CountAllWorkedTerrain(CvPlayer* self, TerrainTypes iTerrainType, int& result);static int ReplaceCvPlayer_CountAllWorkedTerrain(int (*original)(CvPlayer*, TerrainTypes), CvPlayer* self, TerrainTypes iTerrainType);CivRegisterBefore<CivHooks::CvPlayer_CountAllWorkedTerrain>(host, &BeforeCvPlayer_CountAllWorkedTerrain);CivRegisterAfter<CivHooks::CvPlayer_CountAllWorkedTerrain>(host, &AfterCvPlayer_CountAllWorkedTerrain);CivRegisterReplace<CivHooks::CvPlayer_CountAllWorkedTerrain>(host, &ReplaceCvPlayer_CountAllWorkedTerrain);