Bazaar developer reference

CvPlayer::GetStrategicResourceMod() const

Defined in
CvPlayer.cpp, line 20066
Class
CvPlayer
Hook name
CivHooks::CvPlayer_GetStrategicResourceMod

Hooks

static bool BeforeCvPlayer_GetStrategicResourceMod(const CvPlayer* self, int& result);static void AfterCvPlayer_GetStrategicResourceMod(const CvPlayer* self, int& result);static int ReplaceCvPlayer_GetStrategicResourceMod(int (*original)(const CvPlayer*), const CvPlayer* self);CivRegisterBefore<CivHooks::CvPlayer_GetStrategicResourceMod>(host, &BeforeCvPlayer_GetStrategicResourceMod);CivRegisterAfter<CivHooks::CvPlayer_GetStrategicResourceMod>(host, &AfterCvPlayer_GetStrategicResourceMod);CivRegisterReplace<CivHooks::CvPlayer_GetStrategicResourceMod>(host, &ReplaceCvPlayer_GetStrategicResourceMod);

Code

20065/// Is our collection of Strategic Resources modified?20066int CvPlayer::GetStrategicResourceMod() const20067{20068	return m_iStrategicResourceMod;20069}

Calls

Called by