Hooks
static bool BeforeCvDllNetMessageHandler_ResponseAutoMission(CvDllNetMessageHandler* self, PlayerTypes ePlayer, int iUnitID);static void AfterCvDllNetMessageHandler_ResponseAutoMission(CvDllNetMessageHandler* self, PlayerTypes ePlayer, int iUnitID);static void ReplaceCvDllNetMessageHandler_ResponseAutoMission(void (*original)(CvDllNetMessageHandler*, PlayerTypes, int), CvDllNetMessageHandler* self, PlayerTypes ePlayer, int iUnitID);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllNetMessageHandler_ResponseAutoMission::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllNetMessageHandler_ResponseAutoMission);host->RegisterHook(host->pluginIndex, CivHooks::CvDllNetMessageHandler_ResponseAutoMission::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllNetMessageHandler_ResponseAutoMission);host->RegisterHook(host->pluginIndex, CivHooks::CvDllNetMessageHandler_ResponseAutoMission::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllNetMessageHandler_ResponseAutoMission);