Bazaar developer reference

CvCity::isMadeAttack() const

Defined in
CvCity.cpp, line 15934
Class
CvCity
Hook name
CivHooks::CvCity_isMadeAttack

Hooks

static bool BeforeCvCity_isMadeAttack(const CvCity* self, bool& result);static void AfterCvCity_isMadeAttack(const CvCity* self, bool& result);static bool ReplaceCvCity_isMadeAttack(bool (*original)(const CvCity*), const CvCity* self);CivRegisterBefore<CivHooks::CvCity_isMadeAttack>(host, &BeforeCvCity_isMadeAttack);CivRegisterAfter<CivHooks::CvCity_isMadeAttack>(host, &AfterCvCity_isMadeAttack);CivRegisterReplace<CivHooks::CvCity_isMadeAttack>(host, &ReplaceCvCity_isMadeAttack);

Code

15934bool CvCity::isMadeAttack() const15935{15936	VALIDATE_OBJECT15937	return m_bMadeAttack;15938}

Calls

Called by