Bazaar developer reference

CvDeal::GetRequestingPlayer() const

Defined in
CvDealClasses.cpp, line 918
Class
CvDeal
Hook name
CivHooks::CvDeal_GetRequestingPlayer

Hooks

static bool BeforeCvDeal_GetRequestingPlayer(const CvDeal* self, PlayerTypes& result);static void AfterCvDeal_GetRequestingPlayer(const CvDeal* self, PlayerTypes& result);static PlayerTypes ReplaceCvDeal_GetRequestingPlayer(PlayerTypes (*original)(const CvDeal*), const CvDeal* self);CivRegisterBefore<CivHooks::CvDeal_GetRequestingPlayer>(host, &BeforeCvDeal_GetRequestingPlayer);CivRegisterAfter<CivHooks::CvDeal_GetRequestingPlayer>(host, &AfterCvDeal_GetRequestingPlayer);CivRegisterReplace<CivHooks::CvDeal_GetRequestingPlayer>(host, &ReplaceCvDeal_GetRequestingPlayer);

Code

917/// Who (if anyone) is making a request in this Deal?918PlayerTypes CvDeal::GetRequestingPlayer() const919{920	return m_eRequestingPlayer;921}

Called by