Bazaar developer reference

CvDllPlayer::HasBusyUnit() const

Defined in
CvDllPlayer.cpp, line 146
Class
CvDllPlayer
Hook name
CivHooks::CvDllPlayer_HasBusyUnit

Hooks

static bool BeforeCvDllPlayer_HasBusyUnit(const CvDllPlayer* self, bool& result);static void AfterCvDllPlayer_HasBusyUnit(const CvDllPlayer* self, bool& result);static bool ReplaceCvDllPlayer_HasBusyUnit(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_HasBusyUnit::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPlayer_HasBusyUnit);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPlayer_HasBusyUnit::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPlayer_HasBusyUnit);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPlayer_HasBusyUnit::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPlayer_HasBusyUnit);

Code

146bool CvDllPlayer::HasBusyUnit() const147{148	return m_pPlayer->hasBusyUnit();149}

Calls