Hooks
static bool BeforeCvPlayer_GetHappinessPerGarrisonedUnit(const CvPlayer* self, int& result);static void AfterCvPlayer_GetHappinessPerGarrisonedUnit(const CvPlayer* self, int& result);static int ReplaceCvPlayer_GetHappinessPerGarrisonedUnit(int (*original)(const CvPlayer*), const CvPlayer* self);CivRegisterBefore<CivHooks::CvPlayer_GetHappinessPerGarrisonedUnit>(host, &BeforeCvPlayer_GetHappinessPerGarrisonedUnit);CivRegisterAfter<CivHooks::CvPlayer_GetHappinessPerGarrisonedUnit>(host, &AfterCvPlayer_GetHappinessPerGarrisonedUnit);CivRegisterReplace<CivHooks::CvPlayer_GetHappinessPerGarrisonedUnit>(host, &ReplaceCvPlayer_GetHappinessPerGarrisonedUnit);