Hooks
static bool BeforeCvDllNetMessageHandler_ResponseMinorCivGiftGold(CvDllNetMessageHandler* self, PlayerTypes ePlayer, PlayerTypes eMinor, int iGold);static void AfterCvDllNetMessageHandler_ResponseMinorCivGiftGold(CvDllNetMessageHandler* self, PlayerTypes ePlayer, PlayerTypes eMinor, int iGold);static void ReplaceCvDllNetMessageHandler_ResponseMinorCivGiftGold(void (*original)(CvDllNetMessageHandler*, PlayerTypes, PlayerTypes, int), CvDllNetMessageHandler* self, PlayerTypes ePlayer, PlayerTypes eMinor, int iGold);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllNetMessageHandler_ResponseMinorCivGiftGold::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllNetMessageHandler_ResponseMinorCivGiftGold);host->RegisterHook(host->pluginIndex, CivHooks::CvDllNetMessageHandler_ResponseMinorCivGiftGold::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllNetMessageHandler_ResponseMinorCivGiftGold);host->RegisterHook(host->pluginIndex, CivHooks::CvDllNetMessageHandler_ResponseMinorCivGiftGold::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllNetMessageHandler_ResponseMinorCivGiftGold);