Hooks
static bool BeforeCvGame_getUnitCreatedCount(CvGame* self, UnitTypes eIndex, int& result);static void AfterCvGame_getUnitCreatedCount(CvGame* self, UnitTypes eIndex, int& result);static int ReplaceCvGame_getUnitCreatedCount(int (*original)(CvGame*, UnitTypes), CvGame* self, UnitTypes eIndex);CivRegisterBefore<CivHooks::CvGame_getUnitCreatedCount>(host, &BeforeCvGame_getUnitCreatedCount);CivRegisterAfter<CivHooks::CvGame_getUnitCreatedCount>(host, &AfterCvGame_getUnitCreatedCount);CivRegisterReplace<CivHooks::CvGame_getUnitCreatedCount>(host, &ReplaceCvGame_getUnitCreatedCount);