Bazaar developer reference

CvDeal::GetDemandingPlayer() const

Defined in
CvDealClasses.cpp, line 903
Class
CvDeal
Hook name
CivHooks::CvDeal_GetDemandingPlayer

Hooks

static bool BeforeCvDeal_GetDemandingPlayer(const CvDeal* self, PlayerTypes& result);static void AfterCvDeal_GetDemandingPlayer(const CvDeal* self, PlayerTypes& result);static PlayerTypes ReplaceCvDeal_GetDemandingPlayer(PlayerTypes (*original)(const CvDeal*), const CvDeal* self);CivRegisterBefore<CivHooks::CvDeal_GetDemandingPlayer>(host, &BeforeCvDeal_GetDemandingPlayer);CivRegisterAfter<CivHooks::CvDeal_GetDemandingPlayer>(host, &AfterCvDeal_GetDemandingPlayer);CivRegisterReplace<CivHooks::CvDeal_GetDemandingPlayer>(host, &ReplaceCvDeal_GetDemandingPlayer);

Code

902/// Who (if anyone) is making a demand in this Deal?903PlayerTypes CvDeal::GetDemandingPlayer() const904{905	return m_eDemandingPlayer;906}

Called by