Bazaar developer reference

CvDllPlayer::Disconnected()

Defined in
CvDllPlayer.cpp, line 321
Class
CvDllPlayer
Hook name
CivHooks::CvDllPlayer_Disconnected

Hooks

static bool BeforeCvDllPlayer_Disconnected(CvDllPlayer* self);static void AfterCvDllPlayer_Disconnected(CvDllPlayer* self);static void ReplaceCvDllPlayer_Disconnected(void (*original)(CvDllPlayer*), CvDllPlayer* self);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllPlayer_Disconnected::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPlayer_Disconnected);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPlayer_Disconnected::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPlayer_Disconnected);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPlayer_Disconnected::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPlayer_Disconnected);

Code

321void CvDllPlayer::Disconnected()322{323	m_pPlayer->disconnected();324}

Calls