Hooks
static bool BeforeCvDllNetMessageHandler_ResponsePledgeMinorProtection(CvDllNetMessageHandler* self, PlayerTypes ePlayer, PlayerTypes eMinor, bool bValue, bool bPledgeNowBroken);static void AfterCvDllNetMessageHandler_ResponsePledgeMinorProtection(CvDllNetMessageHandler* self, PlayerTypes ePlayer, PlayerTypes eMinor, bool bValue, bool bPledgeNowBroken);static void ReplaceCvDllNetMessageHandler_ResponsePledgeMinorProtection(void (*original)(CvDllNetMessageHandler*, PlayerTypes, PlayerTypes, bool, bool), CvDllNetMessageHandler* self, PlayerTypes ePlayer, PlayerTypes eMinor, bool bValue, bool bPledgeNowBroken);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllNetMessageHandler_ResponsePledgeMinorProtection::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllNetMessageHandler_ResponsePledgeMinorProtection);host->RegisterHook(host->pluginIndex, CivHooks::CvDllNetMessageHandler_ResponsePledgeMinorProtection::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllNetMessageHandler_ResponsePledgeMinorProtection);host->RegisterHook(host->pluginIndex, CivHooks::CvDllNetMessageHandler_ResponsePledgeMinorProtection::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllNetMessageHandler_ResponsePledgeMinorProtection);