Hooks
static bool BeforeCvDllMap_GetPlot(const CvDllMap* self, int iX, int iY, ICvPlot1*& result);static void AfterCvDllMap_GetPlot(const CvDllMap* self, int iX, int iY, ICvPlot1*& result);static ICvPlot1* ReplaceCvDllMap_GetPlot(ICvPlot1* (*original)(const CvDllMap*, int, int), const CvDllMap* self, int iX, int iY);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllMap_GetPlot::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllMap_GetPlot);host->RegisterHook(host->pluginIndex, CivHooks::CvDllMap_GetPlot::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllMap_GetPlot);host->RegisterHook(host->pluginIndex, CivHooks::CvDllMap_GetPlot::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllMap_GetPlot);