Hooks
static bool BeforeCvPlayer_getGoldPerUnit(const CvPlayer* self, int& result);static void AfterCvPlayer_getGoldPerUnit(const CvPlayer* self, int& result);static int ReplaceCvPlayer_getGoldPerUnit(int (*original)(const CvPlayer*), const CvPlayer* self);CivRegisterBefore<CivHooks::CvPlayer_getGoldPerUnit>(host, &BeforeCvPlayer_getGoldPerUnit);CivRegisterAfter<CivHooks::CvPlayer_getGoldPerUnit>(host, &AfterCvPlayer_getGoldPerUnit);CivRegisterReplace<CivHooks::CvPlayer_getGoldPerUnit>(host, &ReplaceCvPlayer_getGoldPerUnit);