Bazaar developer reference

CvPlayer::IsAtPeaceAllMinors() const

Defined in
CvPlayer.cpp, line 28248
Class
CvPlayer
Hook name
CivHooks::CvPlayer_IsAtPeaceAllMinors

Hooks

static bool BeforeCvPlayer_IsAtPeaceAllMinors(const CvPlayer* self, bool& result);static void AfterCvPlayer_IsAtPeaceAllMinors(const CvPlayer* self, bool& result);static bool ReplaceCvPlayer_IsAtPeaceAllMinors(bool (*original)(const CvPlayer*), const CvPlayer* self);CivRegisterBefore<CivHooks::CvPlayer_IsAtPeaceAllMinors>(host, &BeforeCvPlayer_IsAtPeaceAllMinors);CivRegisterAfter<CivHooks::CvPlayer_IsAtPeaceAllMinors>(host, &AfterCvPlayer_IsAtPeaceAllMinors);CivRegisterReplace<CivHooks::CvPlayer_IsAtPeaceAllMinors>(host, &ReplaceCvPlayer_IsAtPeaceAllMinors);

Code

28248bool CvPlayer::IsAtPeaceAllMinors() const28249{28250	return !IsAtWarAnyMinor();28251}

Calls

Called by