Bazaar developer reference

CvPromotionEntry::GetGreatGeneralModifier() const

Defined in
CvPromotionClasses.cpp, line 1228
Class
CvPromotionEntry
Hook name
CivHooks::CvPromotionEntry_GetGreatGeneralModifier

Hooks

static bool BeforeCvPromotionEntry_GetGreatGeneralModifier(const CvPromotionEntry* self, int& result);static void AfterCvPromotionEntry_GetGreatGeneralModifier(const CvPromotionEntry* self, int& result);static int ReplaceCvPromotionEntry_GetGreatGeneralModifier(int (*original)(const CvPromotionEntry*), const CvPromotionEntry* self);CivRegisterBefore<CivHooks::CvPromotionEntry_GetGreatGeneralModifier>(host, &BeforeCvPromotionEntry_GetGreatGeneralModifier);CivRegisterAfter<CivHooks::CvPromotionEntry_GetGreatGeneralModifier>(host, &AfterCvPromotionEntry_GetGreatGeneralModifier);CivRegisterReplace<CivHooks::CvPromotionEntry_GetGreatGeneralModifier>(host, &ReplaceCvPromotionEntry_GetGreatGeneralModifier);

Code

1227/// Accessor: Increase in rate of great general creation1228int CvPromotionEntry::GetGreatGeneralModifier() const1229{1230	return m_iGreatGeneralModifier;1231}

Called by