Bazaar developer reference

CvDllBuildingInfo::GetType() const

Defined in
CvDllBuildingInfo.cpp, line 74
Class
CvDllBuildingInfo
Hook name
CivHooks::CvDllBuildingInfo_GetType

Hooks

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

Code

74const char* CvDllBuildingInfo::GetType() const75{76	return m_pBuildingInfo->GetType();77}

Calls