Bazaar developer reference

CvDllTechInfo::GetType() const

Defined in
CvDllTechInfo.cpp, line 94
Class
CvDllTechInfo
Hook name
CivHooks::CvDllTechInfo_GetType

Hooks

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

Code

94const char* CvDllTechInfo::GetType() const95{96	return m_pTechInfo->GetType();97}

Calls