Bazaar developer reference

CvImprovementEntry::GetPillageGold() const

Defined in
CvImprovementClasses.cpp, line 664
Class
CvImprovementEntry
Hook name
CivHooks::CvImprovementEntry_GetPillageGold

Hooks

static bool BeforeCvImprovementEntry_GetPillageGold(const CvImprovementEntry* self, int& result);static void AfterCvImprovementEntry_GetPillageGold(const CvImprovementEntry* self, int& result);static int ReplaceCvImprovementEntry_GetPillageGold(int (*original)(const CvImprovementEntry*), const CvImprovementEntry* self);CivRegisterBefore<CivHooks::CvImprovementEntry_GetPillageGold>(host, &BeforeCvImprovementEntry_GetPillageGold);CivRegisterAfter<CivHooks::CvImprovementEntry_GetPillageGold>(host, &AfterCvImprovementEntry_GetPillageGold);CivRegisterReplace<CivHooks::CvImprovementEntry_GetPillageGold>(host, &ReplaceCvImprovementEntry_GetPillageGold);

Code

663/// How much gold this improvement provides the pillager664int CvImprovementEntry::GetPillageGold() const665{666	return m_iPillageGold;667}

Called by