Bazaar developer reference

CvUnit::GetGoldenAgeValueFromKills() const

Defined in
CvUnit.cpp, line 14539
Class
CvUnit
Hook name
CivHooks::CvUnit_GetGoldenAgeValueFromKills

Hooks

static bool BeforeCvUnit_GetGoldenAgeValueFromKills(const CvUnit* self, int& result);static void AfterCvUnit_GetGoldenAgeValueFromKills(const CvUnit* self, int& result);static int ReplaceCvUnit_GetGoldenAgeValueFromKills(int (*original)(const CvUnit*), const CvUnit* self);CivRegisterBefore<CivHooks::CvUnit_GetGoldenAgeValueFromKills>(host, &BeforeCvUnit_GetGoldenAgeValueFromKills);CivRegisterAfter<CivHooks::CvUnit_GetGoldenAgeValueFromKills>(host, &AfterCvUnit_GetGoldenAgeValueFromKills);CivRegisterReplace<CivHooks::CvUnit_GetGoldenAgeValueFromKills>(host, &ReplaceCvUnit_GetGoldenAgeValueFromKills);

Code

14539int CvUnit::GetGoldenAgeValueFromKills() const14540{14541	VALIDATE_OBJECT14542		return m_iGoldenAgeValueFromKills;14543}

Called by