Bazaar developer reference

CvDllPromotionInfo::GetType()

Defined in
CvDllPromotionInfo.cpp, line 81
Class
CvDllPromotionInfo
Hook name
CivHooks::CvDllPromotionInfo_GetType

Hooks

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

Code

81const char* CvDllPromotionInfo::GetType()82{83	return m_pPromotionInfo->GetType();84}

Calls