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