Hooks
static bool BeforeCvArea_getUnitsPerPlayer(const CvArea* self, PlayerTypes eIndex, int& result);static void AfterCvArea_getUnitsPerPlayer(const CvArea* self, PlayerTypes eIndex, int& result);static int ReplaceCvArea_getUnitsPerPlayer(int (*original)(const CvArea*, PlayerTypes), const CvArea* self, PlayerTypes eIndex);CivRegisterBefore<CivHooks::CvArea_getUnitsPerPlayer>(host, &BeforeCvArea_getUnitsPerPlayer);CivRegisterAfter<CivHooks::CvArea_getUnitsPerPlayer>(host, &AfterCvArea_getUnitsPerPlayer);CivRegisterReplace<CivHooks::CvArea_getUnitsPerPlayer>(host, &ReplaceCvArea_getUnitsPerPlayer);