Hooks
static bool BeforeCvDllNetMessageHandler_ResponseGoodyChoice(CvDllNetMessageHandler* self, PlayerTypes ePlayer, int iPlotX, int iPlotY, GoodyTypes eGoody, int iUnitID);static void AfterCvDllNetMessageHandler_ResponseGoodyChoice(CvDllNetMessageHandler* self, PlayerTypes ePlayer, int iPlotX, int iPlotY, GoodyTypes eGoody, int iUnitID);static void ReplaceCvDllNetMessageHandler_ResponseGoodyChoice(void (*original)(CvDllNetMessageHandler*, PlayerTypes, int, int, GoodyTypes, int), CvDllNetMessageHandler* self, PlayerTypes ePlayer, int iPlotX, int iPlotY, GoodyTypes eGoody, int iUnitID);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllNetMessageHandler_ResponseGoodyChoice::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllNetMessageHandler_ResponseGoodyChoice);host->RegisterHook(host->pluginIndex, CivHooks::CvDllNetMessageHandler_ResponseGoodyChoice::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllNetMessageHandler_ResponseGoodyChoice);host->RegisterHook(host->pluginIndex, CivHooks::CvDllNetMessageHandler_ResponseGoodyChoice::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllNetMessageHandler_ResponseGoodyChoice);