Bazaar developer reference

CvGlobals::GetGameUnits() const

Defined in
CvGlobals.cpp, line 2994
Class
CvGlobals
Hook name
CivHooks::CvGlobals_GetGameUnits

Hooks

static bool BeforeCvGlobals_GetGameUnits(const CvGlobals* self, CvUnitXMLEntries*& result);static void AfterCvGlobals_GetGameUnits(const CvGlobals* self, CvUnitXMLEntries*& result);static CvUnitXMLEntries* ReplaceCvGlobals_GetGameUnits(CvUnitXMLEntries* (*original)(const CvGlobals*), const CvGlobals* self);CivRegisterBefore<CivHooks::CvGlobals_GetGameUnits>(host, &BeforeCvGlobals_GetGameUnits);CivRegisterAfter<CivHooks::CvGlobals_GetGameUnits>(host, &AfterCvGlobals_GetGameUnits);CivRegisterReplace<CivHooks::CvGlobals_GetGameUnits>(host, &ReplaceCvGlobals_GetGameUnits);

Code

2994CvUnitXMLEntries* CvGlobals::GetGameUnits() const2995{2996	return m_pUnits;2997}

Called by