Bazaar developer reference

CvDiplomacyAI::GetNeediness() const

Defined in
CvDiplomacyAI.cpp, line 9584
Class
CvDiplomacyAI
Hook name
CivHooks::CvDiplomacyAI_GetNeediness

Hooks

static bool BeforeCvDiplomacyAI_GetNeediness(const CvDiplomacyAI* self, int& result);static void AfterCvDiplomacyAI_GetNeediness(const CvDiplomacyAI* self, int& result);static int ReplaceCvDiplomacyAI_GetNeediness(int (*original)(const CvDiplomacyAI*), const CvDiplomacyAI* self);CivRegisterBefore<CivHooks::CvDiplomacyAI_GetNeediness>(host, &BeforeCvDiplomacyAI_GetNeediness);CivRegisterAfter<CivHooks::CvDiplomacyAI_GetNeediness>(host, &AfterCvDiplomacyAI_GetNeediness);CivRegisterReplace<CivHooks::CvDiplomacyAI_GetNeediness>(host, &ReplaceCvDiplomacyAI_GetNeediness);

Code

9583/// How much does the AI want the support of its friends in rough times?9584int CvDiplomacyAI::GetNeediness() const9585{9586	return m_iNeediness;9587}

Called by