Bazaar developer reference

CvDllTeam::IsAlive() const

Defined in
CvDllTeam.cpp, line 114
Class
CvDllTeam
Hook name
CivHooks::CvDllTeam_IsAlive

Hooks

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

Code

114bool CvDllTeam::IsAlive() const115{116	return m_pTeam->isAlive();117}

Calls