Bazaar developer reference

CvPlayerCulture::SetSwappableArtIndex(int)

Defined in
CvCultureClasses.cpp, line 2013
Class
CvPlayerCulture
Hook name
CivHooks::CvPlayerCulture_SetSwappableArtIndex

Hooks

static bool BeforeCvPlayerCulture_SetSwappableArtIndex(CvPlayerCulture* self, int iIndex);static void AfterCvPlayerCulture_SetSwappableArtIndex(CvPlayerCulture* self, int iIndex);static void ReplaceCvPlayerCulture_SetSwappableArtIndex(void (*original)(CvPlayerCulture*, int), CvPlayerCulture* self, int iIndex);CivRegisterBefore<CivHooks::CvPlayerCulture_SetSwappableArtIndex>(host, &BeforeCvPlayerCulture_SetSwappableArtIndex);CivRegisterAfter<CivHooks::CvPlayerCulture_SetSwappableArtIndex>(host, &AfterCvPlayerCulture_SetSwappableArtIndex);CivRegisterReplace<CivHooks::CvPlayerCulture_SetSwappableArtIndex>(host, &ReplaceCvPlayerCulture_SetSwappableArtIndex);

Code

2013void CvPlayerCulture::SetSwappableArtIndex (int iIndex)2014{2015	m_iSwappableArtIndex = iIndex;2016}

Called by