Bazaar developer reference

CvDllPlayer::IsEverAlive() const

Defined in
CvDllPlayer.cpp, line 193
Class
CvDllPlayer
Hook name
CivHooks::CvDllPlayer_IsEverAlive

Hooks

static bool BeforeCvDllPlayer_IsEverAlive(const CvDllPlayer* self, bool& result);static void AfterCvDllPlayer_IsEverAlive(const CvDllPlayer* self, bool& result);static bool ReplaceCvDllPlayer_IsEverAlive(bool (*original)(const CvDllPlayer*), const CvDllPlayer* self);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllPlayer_IsEverAlive::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPlayer_IsEverAlive);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPlayer_IsEverAlive::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPlayer_IsEverAlive);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPlayer_IsEverAlive::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPlayer_IsEverAlive);

Code

193bool CvDllPlayer::IsEverAlive() const194{195	return m_pPlayer->isEverAlive();196}

Calls