Hooks
static bool BeforeCvDllUnit_GetDeclareWarMove(const CvDllUnit* self, ICvPlot1* pPlot, TeamTypes& result);static void AfterCvDllUnit_GetDeclareWarMove(const CvDllUnit* self, ICvPlot1* pPlot, TeamTypes& result);static TeamTypes ReplaceCvDllUnit_GetDeclareWarMove(TeamTypes (*original)(const CvDllUnit*, ICvPlot1*), const CvDllUnit* self, ICvPlot1* pPlot);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllUnit_GetDeclareWarMove::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllUnit_GetDeclareWarMove);host->RegisterHook(host->pluginIndex, CivHooks::CvDllUnit_GetDeclareWarMove::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllUnit_GetDeclareWarMove);host->RegisterHook(host->pluginIndex, CivHooks::CvDllUnit_GetDeclareWarMove::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllUnit_GetDeclareWarMove);