Bazaar developer reference

CvPlayer::GetDealAI() const

Defined in
CvPlayer.cpp, line 24559
Class
CvPlayer
Hook name
CivHooks::CvPlayer_GetDealAI

Hooks

static bool BeforeCvPlayer_GetDealAI(const CvPlayer* self, CvDealAI*& result);static void AfterCvPlayer_GetDealAI(const CvPlayer* self, CvDealAI*& result);static CvDealAI* ReplaceCvPlayer_GetDealAI(CvDealAI* (*original)(const CvPlayer*), const CvPlayer* self);CivRegisterBefore<CivHooks::CvPlayer_GetDealAI>(host, &BeforeCvPlayer_GetDealAI);CivRegisterAfter<CivHooks::CvPlayer_GetDealAI>(host, &AfterCvPlayer_GetDealAI);CivRegisterReplace<CivHooks::CvPlayer_GetDealAI>(host, &ReplaceCvPlayer_GetDealAI);

Code

24559CvDealAI* CvPlayer::GetDealAI() const24560{24561	return m_pDealAI;24562}

Called by