Hooks
static bool BeforeCvGame_getUnitClassCreatedCount(CvGame* self, UnitClassTypes eIndex, int& result);static void AfterCvGame_getUnitClassCreatedCount(CvGame* self, UnitClassTypes eIndex, int& result);static int ReplaceCvGame_getUnitClassCreatedCount(int (*original)(CvGame*, UnitClassTypes), CvGame* self, UnitClassTypes eIndex);CivRegisterBefore<CivHooks::CvGame_getUnitClassCreatedCount>(host, &BeforeCvGame_getUnitClassCreatedCount);CivRegisterAfter<CivHooks::CvGame_getUnitClassCreatedCount>(host, &AfterCvGame_getUnitClassCreatedCount);CivRegisterReplace<CivHooks::CvGame_getUnitClassCreatedCount>(host, &ReplaceCvGame_getUnitClassCreatedCount);