Bazaar developer reference

CvDllGame::Init2()

Defined in
CvDllGame.cpp, line 303
Class
CvDllGame
Hook name
CivHooks::CvDllGame_Init2

Hooks

static bool BeforeCvDllGame_Init2(CvDllGame* self, bool& result);static void AfterCvDllGame_Init2(CvDllGame* self, bool& result);static bool ReplaceCvDllGame_Init2(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_Init2::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllGame_Init2);host->RegisterHook(host->pluginIndex, CivHooks::CvDllGame_Init2::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllGame_Init2);host->RegisterHook(host->pluginIndex, CivHooks::CvDllGame_Init2::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllGame_Init2);

Code

303bool CvDllGame::Init2()304{305	return m_pGame->init2();306}

Calls