Bazaar developer reference

CvDllGameAsynch::IsTeamGame() const

Defined in
CvDllGameAsynch.cpp, line 157
Class
CvDllGameAsynch
Hook name
CivHooks::CvDllGameAsynch_IsTeamGame

Hooks

static bool BeforeCvDllGameAsynch_IsTeamGame(const CvDllGameAsynch* self, bool& result);static void AfterCvDllGameAsynch_IsTeamGame(const CvDllGameAsynch* self, bool& result);static bool ReplaceCvDllGameAsynch_IsTeamGame(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_IsTeamGame::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllGameAsynch_IsTeamGame);host->RegisterHook(host->pluginIndex, CivHooks::CvDllGameAsynch_IsTeamGame::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllGameAsynch_IsTeamGame);host->RegisterHook(host->pluginIndex, CivHooks::CvDllGameAsynch_IsTeamGame::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllGameAsynch_IsTeamGame);

Code

157bool CvDllGameAsynch::IsTeamGame() const158{159	return m_pGame->isTeamGame();160}

Calls