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