Hooks
static bool BeforeCvDllCity_GetCityPlotFromIndex(const CvDllCity* self, int iIndex, ICvPlot1*& result);static void AfterCvDllCity_GetCityPlotFromIndex(const CvDllCity* self, int iIndex, ICvPlot1*& result);static ICvPlot1* ReplaceCvDllCity_GetCityPlotFromIndex(ICvPlot1* (*original)(const CvDllCity*, int), const CvDllCity* self, int iIndex);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllCity_GetCityPlotFromIndex::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllCity_GetCityPlotFromIndex);host->RegisterHook(host->pluginIndex, CivHooks::CvDllCity_GetCityPlotFromIndex::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllCity_GetCityPlotFromIndex);host->RegisterHook(host->pluginIndex, CivHooks::CvDllCity_GetCityPlotFromIndex::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllCity_GetCityPlotFromIndex);