Bazaar developer reference

CvPlayerAI::freeStatics()

Defined in
CvPlayerAI.cpp, line 55
Class
CvPlayerAI
Hook name
CivHooks::CvPlayerAI_freeStatics

Hooks

static bool BeforeCvPlayerAI_freeStatics();static void AfterCvPlayerAI_freeStatics();static void ReplaceCvPlayerAI_freeStatics(void (*original)());CivRegisterBefore<CivHooks::CvPlayerAI_freeStatics>(host, &BeforeCvPlayerAI_freeStatics);CivRegisterAfter<CivHooks::CvPlayerAI_freeStatics>(host, &AfterCvPlayerAI_freeStatics);CivRegisterReplace<CivHooks::CvPlayerAI_freeStatics>(host, &ReplaceCvPlayerAI_freeStatics);

Code

55void CvPlayerAI::freeStatics()56{57	SAFE_DELETE_ARRAY(m_aPlayers);58}

Calls

Called by