Bazaar developer reference

CvEspionageAI::Init(CvPlayer *)

Defined in
CvEspionageClasses.cpp, line 4638
Class
CvEspionageAI
Hook name
CivHooks::CvEspionageAI_Init

Hooks

static bool BeforeCvEspionageAI_Init(CvEspionageAI* self, CvPlayer* pPlayer);static void AfterCvEspionageAI_Init(CvEspionageAI* self, CvPlayer* pPlayer);static void ReplaceCvEspionageAI_Init(void (*original)(CvEspionageAI*, CvPlayer*), CvEspionageAI* self, CvPlayer* pPlayer);CivRegisterBefore<CivHooks::CvEspionageAI_Init>(host, &BeforeCvEspionageAI_Init);CivRegisterAfter<CivHooks::CvEspionageAI_Init>(host, &AfterCvEspionageAI_Init);CivRegisterReplace<CivHooks::CvEspionageAI_Init>(host, &ReplaceCvEspionageAI_Init);

Code

4637/// Initialize class data4638void CvEspionageAI::Init(CvPlayer* pPlayer)4639{4640	m_pPlayer = pPlayer;46414642	Reset();4643}

Calls

Called by