Bazaar developer reference

CvBeliefEntry::GetGoldWhenCityAdopts() const

Defined in
CvBeliefClasses.cpp, line 278
Class
CvBeliefEntry
Hook name
CivHooks::CvBeliefEntry_GetGoldWhenCityAdopts

Hooks

static bool BeforeCvBeliefEntry_GetGoldWhenCityAdopts(const CvBeliefEntry* self, int& result);static void AfterCvBeliefEntry_GetGoldWhenCityAdopts(const CvBeliefEntry* self, int& result);static int ReplaceCvBeliefEntry_GetGoldWhenCityAdopts(int (*original)(const CvBeliefEntry*), const CvBeliefEntry* self);CivRegisterBefore<CivHooks::CvBeliefEntry_GetGoldWhenCityAdopts>(host, &BeforeCvBeliefEntry_GetGoldWhenCityAdopts);CivRegisterAfter<CivHooks::CvBeliefEntry_GetGoldWhenCityAdopts>(host, &AfterCvBeliefEntry_GetGoldWhenCityAdopts);CivRegisterReplace<CivHooks::CvBeliefEntry_GetGoldWhenCityAdopts>(host, &ReplaceCvBeliefEntry_GetGoldWhenCityAdopts);

Code

277/// Accessor:: amount of extra gold from each city following this religion278int CvBeliefEntry::GetGoldWhenCityAdopts() const279{280	return m_iGoldWhenCityAdopts;281}

Called by