Bazaar developer reference

CvGame::IsCombatWarned() const

Defined in
CvGame.cpp, line 10963
Class
CvGame
Hook name
CivHooks::CvGame_IsCombatWarned

Hooks

static bool BeforeCvGame_IsCombatWarned(const CvGame* self, bool& result);static void AfterCvGame_IsCombatWarned(const CvGame* self, bool& result);static bool ReplaceCvGame_IsCombatWarned(bool (*original)(const CvGame*), const CvGame* self);CivRegisterBefore<CivHooks::CvGame_IsCombatWarned>(host, &BeforeCvGame_IsCombatWarned);CivRegisterAfter<CivHooks::CvGame_IsCombatWarned>(host, &AfterCvGame_IsCombatWarned);CivRegisterReplace<CivHooks::CvGame_IsCombatWarned>(host, &ReplaceCvGame_IsCombatWarned);

Code

10963bool CvGame::IsCombatWarned() const10964{10965	return m_bCombatWarned;10966}

Called by