Hooks
static bool BeforeCvEconomicAI_IsSavingForThisPurchase(CvEconomicAI* self, PurchaseType ePurchase, bool& result);static void AfterCvEconomicAI_IsSavingForThisPurchase(CvEconomicAI* self, PurchaseType ePurchase, bool& result);static bool ReplaceCvEconomicAI_IsSavingForThisPurchase(bool (*original)(CvEconomicAI*, PurchaseType), CvEconomicAI* self, PurchaseType ePurchase);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvEconomicAI_IsSavingForThisPurchase::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvEconomicAI_IsSavingForThisPurchase);host->RegisterHook(host->pluginIndex, CivHooks::CvEconomicAI_IsSavingForThisPurchase::ID, CIV_HOOK_AFTER, (void*)&AfterCvEconomicAI_IsSavingForThisPurchase);host->RegisterHook(host->pluginIndex, CivHooks::CvEconomicAI_IsSavingForThisPurchase::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvEconomicAI_IsSavingForThisPurchase);