Bazaar developer reference

CvBaseInfo::GetText() const

Defined in
CvInfos.cpp, line 78
Class
CvBaseInfo
Hook name
CivHooks::CvBaseInfo_GetText

Hooks

static bool BeforeCvBaseInfo_GetText(const CvBaseInfo* self, const char*& result);static void AfterCvBaseInfo_GetText(const CvBaseInfo* self, const char*& result);static const char* ReplaceCvBaseInfo_GetText(const char* (*original)(const CvBaseInfo*), const CvBaseInfo* self);CivRegisterBefore<CivHooks::CvBaseInfo_GetText>(host, &BeforeCvBaseInfo_GetText);CivRegisterAfter<CivHooks::CvBaseInfo_GetText>(host, &AfterCvBaseInfo_GetText);CivRegisterReplace<CivHooks::CvBaseInfo_GetText>(host, &ReplaceCvBaseInfo_GetText);

Code

78const char* CvBaseInfo::GetText() const79{80	return (m_strText.empty())? NULL : m_strText.c_str();81}

Calls

Called by