Bazaar developer reference

CvTraitEntry::GetNaturalWonderSubsequentFinderGold() const

Defined in
CvTraitClasses.cpp, line 457
Class
CvTraitEntry
Hook name
CivHooks::CvTraitEntry_GetNaturalWonderSubsequentFinderGold

Hooks

static bool BeforeCvTraitEntry_GetNaturalWonderSubsequentFinderGold(const CvTraitEntry* self, int& result);static void AfterCvTraitEntry_GetNaturalWonderSubsequentFinderGold(const CvTraitEntry* self, int& result);static int ReplaceCvTraitEntry_GetNaturalWonderSubsequentFinderGold(int (*original)(const CvTraitEntry*), const CvTraitEntry* self);CivRegisterBefore<CivHooks::CvTraitEntry_GetNaturalWonderSubsequentFinderGold>(host, &BeforeCvTraitEntry_GetNaturalWonderSubsequentFinderGold);CivRegisterAfter<CivHooks::CvTraitEntry_GetNaturalWonderSubsequentFinderGold>(host, &AfterCvTraitEntry_GetNaturalWonderSubsequentFinderGold);CivRegisterReplace<CivHooks::CvTraitEntry_GetNaturalWonderSubsequentFinderGold>(host, &ReplaceCvTraitEntry_GetNaturalWonderSubsequentFinderGold);

Code

456/// Accessor:: bonus gold for being first to find a natural wonder457int CvTraitEntry::GetNaturalWonderSubsequentFinderGold() const458{459	return m_iNaturalWonderSubsequentFinderGold;460}

Called by