Hooks
static bool BeforeCvPlayer_ChangeUnitGoldMaintenanceMod(CvPlayer* self, int iChange);static void AfterCvPlayer_ChangeUnitGoldMaintenanceMod(CvPlayer* self, int iChange);static void ReplaceCvPlayer_ChangeUnitGoldMaintenanceMod(void (*original)(CvPlayer*, int), CvPlayer* self, int iChange);CivRegisterBefore<CivHooks::CvPlayer_ChangeUnitGoldMaintenanceMod>(host, &BeforeCvPlayer_ChangeUnitGoldMaintenanceMod);CivRegisterAfter<CivHooks::CvPlayer_ChangeUnitGoldMaintenanceMod>(host, &AfterCvPlayer_ChangeUnitGoldMaintenanceMod);CivRegisterReplace<CivHooks::CvPlayer_ChangeUnitGoldMaintenanceMod>(host, &ReplaceCvPlayer_ChangeUnitGoldMaintenanceMod);