Hooks
static bool BeforeCvDllNetMessageHandler_ResponseMinorCivBuyout(CvDllNetMessageHandler* self, PlayerTypes eMajor, PlayerTypes eMinor);static void AfterCvDllNetMessageHandler_ResponseMinorCivBuyout(CvDllNetMessageHandler* self, PlayerTypes eMajor, PlayerTypes eMinor);static void ReplaceCvDllNetMessageHandler_ResponseMinorCivBuyout(void (*original)(CvDllNetMessageHandler*, PlayerTypes, PlayerTypes), CvDllNetMessageHandler* self, PlayerTypes eMajor, PlayerTypes eMinor);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllNetMessageHandler_ResponseMinorCivBuyout::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllNetMessageHandler_ResponseMinorCivBuyout);host->RegisterHook(host->pluginIndex, CivHooks::CvDllNetMessageHandler_ResponseMinorCivBuyout::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllNetMessageHandler_ResponseMinorCivBuyout);host->RegisterHook(host->pluginIndex, CivHooks::CvDllNetMessageHandler_ResponseMinorCivBuyout::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllNetMessageHandler_ResponseMinorCivBuyout);