CvPlayer::isPlayable() const
- Defined in
- CvPlayer.cpp, line 19810
- Class
- CvPlayer
- Hook name
CivHooks::CvPlayer_isPlayable
Hooks
static bool BeforeCvPlayer_isPlayable(const CvPlayer* self, bool& result);static void AfterCvPlayer_isPlayable(const CvPlayer* self, bool& result);static bool ReplaceCvPlayer_isPlayable(bool (*original)(const CvPlayer*), const CvPlayer* self);CivRegisterBefore<CivHooks::CvPlayer_isPlayable>(host, &BeforeCvPlayer_isPlayable);CivRegisterAfter<CivHooks::CvPlayer_isPlayable>(host, &AfterCvPlayer_isPlayable);CivRegisterReplace<CivHooks::CvPlayer_isPlayable>(host, &ReplaceCvPlayer_isPlayable);
Code
19810bool CvPlayer::isPlayable() const19811{19812 return CvPreGame::isPlayable(GetID());19813}