Bazaar developer reference

CvDllTechInfo::GetEra() const

Defined in
CvDllTechInfo.cpp, line 79
Class
CvDllTechInfo
Hook name
CivHooks::CvDllTechInfo_GetEra

Hooks

static bool BeforeCvDllTechInfo_GetEra(const CvDllTechInfo* self, int& result);static void AfterCvDllTechInfo_GetEra(const CvDllTechInfo* self, int& result);static int ReplaceCvDllTechInfo_GetEra(int (*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_GetEra::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllTechInfo_GetEra);host->RegisterHook(host->pluginIndex, CivHooks::CvDllTechInfo_GetEra::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllTechInfo_GetEra);host->RegisterHook(host->pluginIndex, CivHooks::CvDllTechInfo_GetEra::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllTechInfo_GetEra);

Code

79int CvDllTechInfo::GetEra() const80{81	return m_pTechInfo->GetEra();82}

Calls