Hooks
static bool BeforeCvDllCity_GetYieldRate(const CvDllCity* self, int eIndex, int& result);static void AfterCvDllCity_GetYieldRate(const CvDllCity* self, int eIndex, int& result);static int ReplaceCvDllCity_GetYieldRate(int (*original)(const CvDllCity*, int), const CvDllCity* self, int eIndex);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllCity_GetYieldRate::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllCity_GetYieldRate);host->RegisterHook(host->pluginIndex, CivHooks::CvDllCity_GetYieldRate::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllCity_GetYieldRate);host->RegisterHook(host->pluginIndex, CivHooks::CvDllCity_GetYieldRate::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllCity_GetYieldRate);