Bazaar developer reference

CvPlayer::GetDiplomacyAI() const

Defined in
CvPlayer.cpp, line 24535
Class
CvPlayer
Hook name
CivHooks::CvPlayer_GetDiplomacyAI

Hooks

static bool BeforeCvPlayer_GetDiplomacyAI(const CvPlayer* self, CvDiplomacyAI*& result);static void AfterCvPlayer_GetDiplomacyAI(const CvPlayer* self, CvDiplomacyAI*& result);static CvDiplomacyAI* ReplaceCvPlayer_GetDiplomacyAI(CvDiplomacyAI* (*original)(const CvPlayer*), const CvPlayer* self);CivRegisterBefore<CivHooks::CvPlayer_GetDiplomacyAI>(host, &BeforeCvPlayer_GetDiplomacyAI);CivRegisterAfter<CivHooks::CvPlayer_GetDiplomacyAI>(host, &AfterCvPlayer_GetDiplomacyAI);CivRegisterReplace<CivHooks::CvPlayer_GetDiplomacyAI>(host, &ReplaceCvPlayer_GetDiplomacyAI);

Code

24535CvDiplomacyAI* CvPlayer::GetDiplomacyAI() const24536{24537	return m_pDiplomacyAI;24538}

Called by

260 functions in 36 files