Bazaar developer reference

CvTreasury::GetLifetimeGrossGold()

Defined in
CvTreasury.cpp, line 486
Class
CvTreasury
Hook name
CivHooks::CvTreasury_GetLifetimeGrossGold

Hooks

static bool BeforeCvTreasury_GetLifetimeGrossGold(CvTreasury* self, int& result);static void AfterCvTreasury_GetLifetimeGrossGold(CvTreasury* self, int& result);static int ReplaceCvTreasury_GetLifetimeGrossGold(int (*original)(CvTreasury*), CvTreasury* self);CivRegisterBefore<CivHooks::CvTreasury_GetLifetimeGrossGold>(host, &BeforeCvTreasury_GetLifetimeGrossGold);CivRegisterAfter<CivHooks::CvTreasury_GetLifetimeGrossGold>(host, &AfterCvTreasury_GetLifetimeGrossGold);CivRegisterReplace<CivHooks::CvTreasury_GetLifetimeGrossGold>(host, &ReplaceCvTreasury_GetLifetimeGrossGold);

Code

485/// Gross income across entire game486int CvTreasury::GetLifetimeGrossGold()487{488	return m_iLifetimeGrossGoldIncome;489}

Called by