Bazaar developer reference

CvPlayerCulture::SetSwappableWritingIndex(int)

Defined in
CvCultureClasses.cpp, line 2008
Class
CvPlayerCulture
Hook name
CivHooks::CvPlayerCulture_SetSwappableWritingIndex

Hooks

static bool BeforeCvPlayerCulture_SetSwappableWritingIndex(CvPlayerCulture* self, int iIndex);static void AfterCvPlayerCulture_SetSwappableWritingIndex(CvPlayerCulture* self, int iIndex);static void ReplaceCvPlayerCulture_SetSwappableWritingIndex(void (*original)(CvPlayerCulture*, int), CvPlayerCulture* self, int iIndex);CivRegisterBefore<CivHooks::CvPlayerCulture_SetSwappableWritingIndex>(host, &BeforeCvPlayerCulture_SetSwappableWritingIndex);CivRegisterAfter<CivHooks::CvPlayerCulture_SetSwappableWritingIndex>(host, &AfterCvPlayerCulture_SetSwappableWritingIndex);CivRegisterReplace<CivHooks::CvPlayerCulture_SetSwappableWritingIndex>(host, &ReplaceCvPlayerCulture_SetSwappableWritingIndex);

Code

2008void CvPlayerCulture::SetSwappableWritingIndex (int iIndex)2009{2010	m_iSwappableWritingIndex = iIndex;2011}

Called by