Bazaar developer reference

CvDllResourceInfo::GetType()

Defined in
CvDllResourceInfo.cpp, line 80
Class
CvDllResourceInfo
Hook name
CivHooks::CvDllResourceInfo_GetType

Hooks

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

Code

80const char* CvDllResourceInfo::GetType()81{82	return m_pResourceInfo->GetType();83}

Calls