Bazaar developer reference

CvPlayer::canPopRush()

Defined in
CvPlayer.cpp, line 20812
Class
CvPlayer
Hook name
CivHooks::CvPlayer_canPopRush

Hooks

static bool BeforeCvPlayer_canPopRush(CvPlayer* self, bool& result);static void AfterCvPlayer_canPopRush(CvPlayer* self, bool& result);static bool ReplaceCvPlayer_canPopRush(bool (*original)(CvPlayer*), CvPlayer* self);CivRegisterBefore<CivHooks::CvPlayer_canPopRush>(host, &BeforeCvPlayer_canPopRush);CivRegisterAfter<CivHooks::CvPlayer_canPopRush>(host, &AfterCvPlayer_canPopRush);CivRegisterReplace<CivHooks::CvPlayer_canPopRush>(host, &ReplaceCvPlayer_canPopRush);

Code

20812bool CvPlayer::canPopRush()20813{20814	return (m_iPopRushHurryCount > 0);20815}

Calls