Bazaar developer reference

CvResolutionEntry::GetOneTimeGoldPercent() const

Defined in
CvVotingClasses.cpp, line 10573
Class
CvResolutionEntry
Hook name
CivHooks::CvResolutionEntry_GetOneTimeGoldPercent

Hooks

static bool BeforeCvResolutionEntry_GetOneTimeGoldPercent(const CvResolutionEntry* self, int& result);static void AfterCvResolutionEntry_GetOneTimeGoldPercent(const CvResolutionEntry* self, int& result);static int ReplaceCvResolutionEntry_GetOneTimeGoldPercent(int (*original)(const CvResolutionEntry*), const CvResolutionEntry* self);CivRegisterBefore<CivHooks::CvResolutionEntry_GetOneTimeGoldPercent>(host, &BeforeCvResolutionEntry_GetOneTimeGoldPercent);CivRegisterAfter<CivHooks::CvResolutionEntry_GetOneTimeGoldPercent>(host, &AfterCvResolutionEntry_GetOneTimeGoldPercent);CivRegisterReplace<CivHooks::CvResolutionEntry_GetOneTimeGoldPercent>(host, &ReplaceCvResolutionEntry_GetOneTimeGoldPercent);

Code

10573int CvResolutionEntry::GetOneTimeGoldPercent() const10574{10575	return m_iOneTimeGoldPercent;10576}

Called by