Bazaar developer reference

CvPlayer::SetAlwaysSeeBarbCampsCount(int)

Defined in
CvPlayer.cpp, line 13262
Class
CvPlayer
Hook name
CivHooks::CvPlayer_SetAlwaysSeeBarbCampsCount

Hooks

static bool BeforeCvPlayer_SetAlwaysSeeBarbCampsCount(CvPlayer* self, int iValue);static void AfterCvPlayer_SetAlwaysSeeBarbCampsCount(CvPlayer* self, int iValue);static void ReplaceCvPlayer_SetAlwaysSeeBarbCampsCount(void (*original)(CvPlayer*, int), CvPlayer* self, int iValue);CivRegisterBefore<CivHooks::CvPlayer_SetAlwaysSeeBarbCampsCount>(host, &BeforeCvPlayer_SetAlwaysSeeBarbCampsCount);CivRegisterAfter<CivHooks::CvPlayer_SetAlwaysSeeBarbCampsCount>(host, &AfterCvPlayer_SetAlwaysSeeBarbCampsCount);CivRegisterReplace<CivHooks::CvPlayer_SetAlwaysSeeBarbCampsCount>(host, &ReplaceCvPlayer_SetAlwaysSeeBarbCampsCount);

Code

13261/// Sets if we always see where Barb Camps appear13262void CvPlayer::SetAlwaysSeeBarbCampsCount(int iValue)13263{13264	m_iAlwaysSeeBarbCampsCount = iValue;13265}

Calls

Called by