Bazaar developer reference

CvMinorCivAI::GetMajorBoughtOutBy() const

Defined in
CvMinorCivAI.cpp, line 8730
Class
CvMinorCivAI
Hook name
CivHooks::CvMinorCivAI_GetMajorBoughtOutBy

Hooks

static bool BeforeCvMinorCivAI_GetMajorBoughtOutBy(const CvMinorCivAI* self, PlayerTypes& result);static void AfterCvMinorCivAI_GetMajorBoughtOutBy(const CvMinorCivAI* self, PlayerTypes& result);static PlayerTypes ReplaceCvMinorCivAI_GetMajorBoughtOutBy(PlayerTypes (*original)(const CvMinorCivAI*), const CvMinorCivAI* self);CivRegisterBefore<CivHooks::CvMinorCivAI_GetMajorBoughtOutBy>(host, &BeforeCvMinorCivAI_GetMajorBoughtOutBy);CivRegisterAfter<CivHooks::CvMinorCivAI_GetMajorBoughtOutBy>(host, &AfterCvMinorCivAI_GetMajorBoughtOutBy);CivRegisterReplace<CivHooks::CvMinorCivAI_GetMajorBoughtOutBy>(host, &ReplaceCvMinorCivAI_GetMajorBoughtOutBy);

Code

8729/// What player has bought out this minor?8730PlayerTypes CvMinorCivAI::GetMajorBoughtOutBy() const8731{8732	return m_eMajorBoughtOutBy;8733}

Called by