Bazaar developer reference

CvDllGameAsynch::GetGameSpeedType() const

Defined in
CvDllGameAsynch.cpp, line 92
Class
CvDllGameAsynch
Hook name
CivHooks::CvDllGameAsynch_GetGameSpeedType

Hooks

static bool BeforeCvDllGameAsynch_GetGameSpeedType(const CvDllGameAsynch* self, GameSpeedTypes& result);static void AfterCvDllGameAsynch_GetGameSpeedType(const CvDllGameAsynch* self, GameSpeedTypes& result);static GameSpeedTypes ReplaceCvDllGameAsynch_GetGameSpeedType(GameSpeedTypes (*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_GetGameSpeedType::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllGameAsynch_GetGameSpeedType);host->RegisterHook(host->pluginIndex, CivHooks::CvDllGameAsynch_GetGameSpeedType::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllGameAsynch_GetGameSpeedType);host->RegisterHook(host->pluginIndex, CivHooks::CvDllGameAsynch_GetGameSpeedType::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllGameAsynch_GetGameSpeedType);

Code

92GameSpeedTypes CvDllGameAsynch::GetGameSpeedType() const93{94	return m_pGame->getGameSpeedType();95}

Calls