Bazaar developer reference

CvPlayerTechs::GetTechs() const

Defined in
CvTechClasses.cpp, line 1512
Class
CvPlayerTechs
Hook name
CivHooks::CvPlayerTechs_GetTechs

Hooks

static bool BeforeCvPlayerTechs_GetTechs(const CvPlayerTechs* self, CvTechXMLEntries*& result);static void AfterCvPlayerTechs_GetTechs(const CvPlayerTechs* self, CvTechXMLEntries*& result);static CvTechXMLEntries* ReplaceCvPlayerTechs_GetTechs(CvTechXMLEntries* (*original)(const CvPlayerTechs*), const CvPlayerTechs* self);CivRegisterBefore<CivHooks::CvPlayerTechs_GetTechs>(host, &BeforeCvPlayerTechs_GetTechs);CivRegisterAfter<CivHooks::CvPlayerTechs_GetTechs>(host, &AfterCvPlayerTechs_GetTechs);CivRegisterReplace<CivHooks::CvPlayerTechs_GetTechs>(host, &ReplaceCvPlayerTechs_GetTechs);

Code

1511/// Return the tech data (from XML)1512CvTechXMLEntries* CvPlayerTechs::GetTechs() const1513{1514	return m_pTechs;1515}

Called by