Bazaar developer reference

CvDllPlayer::SetStartTime(uint)

Defined in
CvDllPlayer.cpp, line 178
Class
CvDllPlayer
Hook name
CivHooks::CvDllPlayer_SetStartTime

Hooks

static bool BeforeCvDllPlayer_SetStartTime(CvDllPlayer* self, uint uiStartTime);static void AfterCvDllPlayer_SetStartTime(CvDllPlayer* self, uint uiStartTime);static void ReplaceCvDllPlayer_SetStartTime(void (*original)(CvDllPlayer*, uint), CvDllPlayer* self, uint uiStartTime);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllPlayer_SetStartTime::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPlayer_SetStartTime);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPlayer_SetStartTime::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPlayer_SetStartTime);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPlayer_SetStartTime::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPlayer_SetStartTime);

Code

178void CvDllPlayer::SetStartTime(uint uiStartTime)179{180	m_pPlayer->setStartTime(uiStartTime);181}

Calls