Bazaar developer reference

CvTraitEntry::GetNaturalWonderFirstFinderGold() const

Defined in
CvTraitClasses.cpp, line 451
Class
CvTraitEntry
Hook name
CivHooks::CvTraitEntry_GetNaturalWonderFirstFinderGold

Hooks

static bool BeforeCvTraitEntry_GetNaturalWonderFirstFinderGold(const CvTraitEntry* self, int& result);static void AfterCvTraitEntry_GetNaturalWonderFirstFinderGold(const CvTraitEntry* self, int& result);static int ReplaceCvTraitEntry_GetNaturalWonderFirstFinderGold(int (*original)(const CvTraitEntry*), const CvTraitEntry* self);CivRegisterBefore<CivHooks::CvTraitEntry_GetNaturalWonderFirstFinderGold>(host, &BeforeCvTraitEntry_GetNaturalWonderFirstFinderGold);CivRegisterAfter<CivHooks::CvTraitEntry_GetNaturalWonderFirstFinderGold>(host, &AfterCvTraitEntry_GetNaturalWonderFirstFinderGold);CivRegisterReplace<CivHooks::CvTraitEntry_GetNaturalWonderFirstFinderGold>(host, &ReplaceCvTraitEntry_GetNaturalWonderFirstFinderGold);

Code

450/// Accessor:: bonus gold for being first to find a natural wonder451int CvTraitEntry::GetNaturalWonderFirstFinderGold() const452{453	return m_iNaturalWonderFirstFinderGold;454}

Called by