Bazaar developer reference

CvDllTeam::Init(TeamTypes)

Defined in
CvDllTeam.cpp, line 109
Class
CvDllTeam
Hook name
CivHooks::CvDllTeam_Init

Hooks

static bool BeforeCvDllTeam_Init(CvDllTeam* self, TeamTypes eID);static void AfterCvDllTeam_Init(CvDllTeam* self, TeamTypes eID);static void ReplaceCvDllTeam_Init(void (*original)(CvDllTeam*, TeamTypes), CvDllTeam* self, TeamTypes eID);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllTeam_Init::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllTeam_Init);host->RegisterHook(host->pluginIndex, CivHooks::CvDllTeam_Init::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllTeam_Init);host->RegisterHook(host->pluginIndex, CivHooks::CvDllTeam_Init::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllTeam_Init);

Code

109void CvDllTeam::Init(TeamTypes eID)110{111	m_pTeam->init(eID);112}

Calls