Bazaar developer reference

CvDiplomacyAI::GetChattiness() const

Defined in
CvDiplomacyAI.cpp, line 9596
Class
CvDiplomacyAI
Hook name
CivHooks::CvDiplomacyAI_GetChattiness

Hooks

static bool BeforeCvDiplomacyAI_GetChattiness(const CvDiplomacyAI* self, int& result);static void AfterCvDiplomacyAI_GetChattiness(const CvDiplomacyAI* self, int& result);static int ReplaceCvDiplomacyAI_GetChattiness(int (*original)(const CvDiplomacyAI*), const CvDiplomacyAI* self);CivRegisterBefore<CivHooks::CvDiplomacyAI_GetChattiness>(host, &BeforeCvDiplomacyAI_GetChattiness);CivRegisterAfter<CivHooks::CvDiplomacyAI_GetChattiness>(host, &AfterCvDiplomacyAI_GetChattiness);CivRegisterReplace<CivHooks::CvDiplomacyAI_GetChattiness>(host, &ReplaceCvDiplomacyAI_GetChattiness);

Code

9595/// How much does the AI like to pop up and talk9596int CvDiplomacyAI::GetChattiness() const9597{9598	return m_iChattiness;9599}

Called by