Bazaar developer reference

CvDllPlayer::LaterInit()

Defined in
CvDllPlayer.cpp, line 104
Class
CvDllPlayer
Hook name
CivHooks::CvDllPlayer_LaterInit

Hooks

static bool BeforeCvDllPlayer_LaterInit(CvDllPlayer* self);static void AfterCvDllPlayer_LaterInit(CvDllPlayer* self);static void ReplaceCvDllPlayer_LaterInit(void (*original)(CvDllPlayer*), CvDllPlayer* self);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllPlayer_LaterInit::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPlayer_LaterInit);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPlayer_LaterInit::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPlayer_LaterInit);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPlayer_LaterInit::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPlayer_LaterInit);

Code

104void CvDllPlayer::LaterInit()105{106	m_pPlayer->gameStartInit();107}

Calls