Hooks
static bool BeforeCvDllNetMessageHandler_ResponseChangeWar(CvDllNetMessageHandler* self, PlayerTypes ePlayer, TeamTypes eRivalTeam, bool bWar);static void AfterCvDllNetMessageHandler_ResponseChangeWar(CvDllNetMessageHandler* self, PlayerTypes ePlayer, TeamTypes eRivalTeam, bool bWar);static void ReplaceCvDllNetMessageHandler_ResponseChangeWar(void (*original)(CvDllNetMessageHandler*, PlayerTypes, TeamTypes, bool), CvDllNetMessageHandler* self, PlayerTypes ePlayer, TeamTypes eRivalTeam, bool bWar);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllNetMessageHandler_ResponseChangeWar::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllNetMessageHandler_ResponseChangeWar);host->RegisterHook(host->pluginIndex, CivHooks::CvDllNetMessageHandler_ResponseChangeWar::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllNetMessageHandler_ResponseChangeWar);host->RegisterHook(host->pluginIndex, CivHooks::CvDllNetMessageHandler_ResponseChangeWar::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllNetMessageHandler_ResponseChangeWar);