Bazaar developer reference

CvDllGame::IsCityScreenBlocked()

Defined in
CvDllGame.cpp, line 318
Class
CvDllGame
Hook name
CivHooks::CvDllGame_IsCityScreenBlocked

Hooks

static bool BeforeCvDllGame_IsCityScreenBlocked(CvDllGame* self, bool& result);static void AfterCvDllGame_IsCityScreenBlocked(CvDllGame* self, bool& result);static bool ReplaceCvDllGame_IsCityScreenBlocked(bool (*original)(CvDllGame*), CvDllGame* self);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllGame_IsCityScreenBlocked::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllGame_IsCityScreenBlocked);host->RegisterHook(host->pluginIndex, CivHooks::CvDllGame_IsCityScreenBlocked::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllGame_IsCityScreenBlocked);host->RegisterHook(host->pluginIndex, CivHooks::CvDllGame_IsCityScreenBlocked::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllGame_IsCityScreenBlocked);

Code

318bool CvDllGame::IsCityScreenBlocked()319{320	return m_pGame->IsCityScreenBlocked();321}

Calls