Bazaar developer reference

CvMinorCivQuest::GetMinor() const

Defined in
CvMinorCivAI.cpp, line 77
Class
CvMinorCivQuest
Hook name
CivHooks::CvMinorCivQuest_GetMinor

Hooks

static bool BeforeCvMinorCivQuest_GetMinor(const CvMinorCivQuest* self, PlayerTypes& result);static void AfterCvMinorCivQuest_GetMinor(const CvMinorCivQuest* self, PlayerTypes& result);static PlayerTypes ReplaceCvMinorCivQuest_GetMinor(PlayerTypes (*original)(const CvMinorCivQuest*), const CvMinorCivQuest* self);CivRegisterBefore<CivHooks::CvMinorCivQuest_GetMinor>(host, &BeforeCvMinorCivQuest_GetMinor);CivRegisterAfter<CivHooks::CvMinorCivQuest_GetMinor>(host, &AfterCvMinorCivQuest_GetMinor);CivRegisterReplace<CivHooks::CvMinorCivQuest_GetMinor>(host, &ReplaceCvMinorCivQuest_GetMinor);

Code

76// The minor that gave this quest77PlayerTypes CvMinorCivQuest::GetMinor() const78{79	return m_eMinor;80}

Called by