Bazaar developer reference

CvVictoryInfo::GetVictoryPointAward(int) const

Defined in
CvInfos.cpp, line 2604
Class
CvVictoryInfo
Hook name
CivHooks::CvVictoryInfo_GetVictoryPointAward

Hooks

static bool BeforeCvVictoryInfo_GetVictoryPointAward(const CvVictoryInfo* self, int i, int& result);static void AfterCvVictoryInfo_GetVictoryPointAward(const CvVictoryInfo* self, int i, int& result);static int ReplaceCvVictoryInfo_GetVictoryPointAward(int (*original)(const CvVictoryInfo*, int), const CvVictoryInfo* self, int i);CivRegisterBefore<CivHooks::CvVictoryInfo_GetVictoryPointAward>(host, &BeforeCvVictoryInfo_GetVictoryPointAward);CivRegisterAfter<CivHooks::CvVictoryInfo_GetVictoryPointAward>(host, &AfterCvVictoryInfo_GetVictoryPointAward);CivRegisterReplace<CivHooks::CvVictoryInfo_GetVictoryPointAward>(host, &ReplaceCvVictoryInfo_GetVictoryPointAward);

Code

2604int CvVictoryInfo::GetVictoryPointAward(int i) const2605{2606	return m_piVictoryPointAwards[i];2607}

Called by