Bazaar developer reference

CvBuildingEntry::GetGold() const

Defined in
CvBuildingClasses.cpp, line 1258
Class
CvBuildingEntry
Hook name
CivHooks::CvBuildingEntry_GetGold

Hooks

static bool BeforeCvBuildingEntry_GetGold(const CvBuildingEntry* self, int& result);static void AfterCvBuildingEntry_GetGold(const CvBuildingEntry* self, int& result);static int ReplaceCvBuildingEntry_GetGold(int (*original)(const CvBuildingEntry*), const CvBuildingEntry* self);CivRegisterBefore<CivHooks::CvBuildingEntry_GetGold>(host, &BeforeCvBuildingEntry_GetGold);CivRegisterAfter<CivHooks::CvBuildingEntry_GetGold>(host, &AfterCvBuildingEntry_GetGold);CivRegisterReplace<CivHooks::CvBuildingEntry_GetGold>(host, &ReplaceCvBuildingEntry_GetGold);

Code

1257/// Gold generated by this building1258int CvBuildingEntry::GetGold() const1259{1260	return m_iGold;1261}

Called by