Hooks
static bool BeforeCvDllTeam_GetAtWarCount(const CvDllTeam* self, bool bIgnoreMinors, int& result);static void AfterCvDllTeam_GetAtWarCount(const CvDllTeam* self, bool bIgnoreMinors, int& result);static int ReplaceCvDllTeam_GetAtWarCount(int (*original)(const CvDllTeam*, bool), const CvDllTeam* self, bool bIgnoreMinors);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllTeam_GetAtWarCount::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllTeam_GetAtWarCount);host->RegisterHook(host->pluginIndex, CivHooks::CvDllTeam_GetAtWarCount::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllTeam_GetAtWarCount);host->RegisterHook(host->pluginIndex, CivHooks::CvDllTeam_GetAtWarCount::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllTeam_GetAtWarCount);