Bazaar developer reference

CvEraInfo::getSpiesGrantedForPlayer() const

Defined in
CvInfos.cpp, line 6764
Class
CvEraInfo
Hook name
CivHooks::CvEraInfo_getSpiesGrantedForPlayer

Hooks

static bool BeforeCvEraInfo_getSpiesGrantedForPlayer(const CvEraInfo* self, int& result);static void AfterCvEraInfo_getSpiesGrantedForPlayer(const CvEraInfo* self, int& result);static int ReplaceCvEraInfo_getSpiesGrantedForPlayer(int (*original)(const CvEraInfo*), const CvEraInfo* self);CivRegisterBefore<CivHooks::CvEraInfo_getSpiesGrantedForPlayer>(host, &BeforeCvEraInfo_getSpiesGrantedForPlayer);CivRegisterAfter<CivHooks::CvEraInfo_getSpiesGrantedForPlayer>(host, &AfterCvEraInfo_getSpiesGrantedForPlayer);CivRegisterReplace<CivHooks::CvEraInfo_getSpiesGrantedForPlayer>(host, &ReplaceCvEraInfo_getSpiesGrantedForPlayer);

Code

6764int CvEraInfo::getSpiesGrantedForPlayer() const6765{6766	return m_iSpiesGrantedForPlayer;6767}

Called by