CvPlayer::IsCramped() const
- Defined in
- CvPlayer.cpp, line 18390
- Class
- CvPlayer
- Hook name
CivHooks::CvPlayer_IsCramped
Hooks
static bool BeforeCvPlayer_IsCramped(const CvPlayer* self, bool& result);static void AfterCvPlayer_IsCramped(const CvPlayer* self, bool& result);static bool ReplaceCvPlayer_IsCramped(bool (*original)(const CvPlayer*), const CvPlayer* self);CivRegisterBefore<CivHooks::CvPlayer_IsCramped>(host, &BeforeCvPlayer_IsCramped);CivRegisterAfter<CivHooks::CvPlayer_IsCramped>(host, &AfterCvPlayer_IsCramped);CivRegisterReplace<CivHooks::CvPlayer_IsCramped>(host, &ReplaceCvPlayer_IsCramped);
Code
18389/// Is the player is cramped in his current area?18390bool CvPlayer::IsCramped() const18391{18392 return m_bCramped;18393}
Calls
FAutoVariable::operator const bool &