Bazaar developer reference

CvGlobals::getTechInfo()

Defined in
CvGlobals.cpp, line 3913
Class
CvGlobals
Hook name
CivHooks::CvGlobals_getTechInfo

Hooks

static bool BeforeCvGlobals_getTechInfo(CvGlobals* self, std::vector<CvTechEntry*>*& result);static void AfterCvGlobals_getTechInfo(CvGlobals* self, std::vector<CvTechEntry*>*& result);static std::vector<CvTechEntry*>& ReplaceCvGlobals_getTechInfo(std::vector<CvTechEntry*>& (*original)(CvGlobals*), CvGlobals* self);CivRegisterBefore<CivHooks::CvGlobals_getTechInfo>(host, &BeforeCvGlobals_getTechInfo);CivRegisterAfter<CivHooks::CvGlobals_getTechInfo>(host, &AfterCvGlobals_getTechInfo);CivRegisterReplace<CivHooks::CvGlobals_getTechInfo>(host, &ReplaceCvGlobals_getTechInfo);

Code

3913std::vector<CvTechEntry*>& CvGlobals::getTechInfo()3914{3915	return m_pTechs->GetTechEntries();3916}

Calls

Called by