Hooks
static bool BeforeCvPlayer_IsAtWarAnyMajor(const CvPlayer* self, bool& result);static void AfterCvPlayer_IsAtWarAnyMajor(const CvPlayer* self, bool& result);static bool ReplaceCvPlayer_IsAtWarAnyMajor(bool (*original)(const CvPlayer*), const CvPlayer* self);CivRegisterBefore<CivHooks::CvPlayer_IsAtWarAnyMajor>(host, &BeforeCvPlayer_IsAtWarAnyMajor);CivRegisterAfter<CivHooks::CvPlayer_IsAtWarAnyMajor>(host, &AfterCvPlayer_IsAtWarAnyMajor);CivRegisterReplace<CivHooks::CvPlayer_IsAtWarAnyMajor>(host, &ReplaceCvPlayer_IsAtWarAnyMajor);