Bazaar developer reference

CvGlobals::getFootstepAudioTags(int)

Defined in
CvGlobals.cpp, line 4064
Class
CvGlobals
Hook name
CivHooks::CvGlobals_getFootstepAudioTags_with_int

Hooks

static bool BeforeCvGlobals_getFootstepAudioTags_with_int(CvGlobals* self, int i, CvString*& result);static void AfterCvGlobals_getFootstepAudioTags_with_int(CvGlobals* self, int i, CvString*& result);static CvString& ReplaceCvGlobals_getFootstepAudioTags_with_int(CvString& (*original)(CvGlobals*, int), CvGlobals* self, int i);CivRegisterBefore<CivHooks::CvGlobals_getFootstepAudioTags_with_int>(host, &BeforeCvGlobals_getFootstepAudioTags_with_int);CivRegisterAfter<CivHooks::CvGlobals_getFootstepAudioTags_with_int>(host, &AfterCvGlobals_getFootstepAudioTags_with_int);CivRegisterReplace<CivHooks::CvGlobals_getFootstepAudioTags_with_int>(host, &ReplaceCvGlobals_getFootstepAudioTags_with_int);

Code

4064CvString& CvGlobals::getFootstepAudioTags(int i)4065{4066//	CvAssertMsg(i < getNumFootstepAudioTags(), "Index out of bounds")4067	CvAssertMsg(i > -1, "Index out of bounds");4068	return m_paszFootstepAudioTags[i];4069}