Bazaar developer reference

CvDllEraInfo::GetArtPrefix()

Defined in
CvDllEraInfo.cpp, line 100
Class
CvDllEraInfo
Hook name
CivHooks::CvDllEraInfo_GetArtPrefix

Hooks

static bool BeforeCvDllEraInfo_GetArtPrefix(CvDllEraInfo* self, const char*& result);static void AfterCvDllEraInfo_GetArtPrefix(CvDllEraInfo* self, const char*& result);static const char* ReplaceCvDllEraInfo_GetArtPrefix(const char* (*original)(CvDllEraInfo*), CvDllEraInfo* self);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllEraInfo_GetArtPrefix::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllEraInfo_GetArtPrefix);host->RegisterHook(host->pluginIndex, CivHooks::CvDllEraInfo_GetArtPrefix::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllEraInfo_GetArtPrefix);host->RegisterHook(host->pluginIndex, CivHooks::CvDllEraInfo_GetArtPrefix::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllEraInfo_GetArtPrefix);

Code

100const char* CvDllEraInfo::GetArtPrefix()101{102	return m_pEraInfo->getArtPrefix();103}

Calls