Bazaar developer reference

CvDllGameAsynch::IsNetworkMultiPlayer() const

Defined in
CvDllGameAsynch.cpp, line 137
Class
CvDllGameAsynch
Hook name
CivHooks::CvDllGameAsynch_IsNetworkMultiPlayer

Hooks

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

Code

137bool CvDllGameAsynch::IsNetworkMultiPlayer() const138{139	return m_pGame->isNetworkMultiPlayer();140}

Calls