Hooks
static bool BeforeCvPlayer_GetExtraHappinessPerLuxury(const CvPlayer* self, int& result);static void AfterCvPlayer_GetExtraHappinessPerLuxury(const CvPlayer* self, int& result);static int ReplaceCvPlayer_GetExtraHappinessPerLuxury(int (*original)(const CvPlayer*), const CvPlayer* self);CivRegisterBefore<CivHooks::CvPlayer_GetExtraHappinessPerLuxury>(host, &BeforeCvPlayer_GetExtraHappinessPerLuxury);CivRegisterAfter<CivHooks::CvPlayer_GetExtraHappinessPerLuxury>(host, &AfterCvPlayer_GetExtraHappinessPerLuxury);CivRegisterReplace<CivHooks::CvPlayer_GetExtraHappinessPerLuxury>(host, &ReplaceCvPlayer_GetExtraHappinessPerLuxury);