Bazaar developer reference

CvGlobals::getInstance()

Defined in
CvGlobals.cpp, line 2363
Class
CvGlobals
Hook name
CivHooks::CvGlobals_getInstance

Hooks

static bool BeforeCvGlobals_getInstance(CvGlobals*& result);static void AfterCvGlobals_getInstance(CvGlobals*& result);static CvGlobals& ReplaceCvGlobals_getInstance(CvGlobals& (*original)());CivRegisterBefore<CivHooks::CvGlobals_getInstance>(host, &BeforeCvGlobals_getInstance);CivRegisterAfter<CivHooks::CvGlobals_getInstance>(host, &AfterCvGlobals_getInstance);CivRegisterReplace<CivHooks::CvGlobals_getInstance>(host, &ReplaceCvGlobals_getInstance);

Code

2363CvGlobals& CvGlobals::getInstance()2364{2365	return gGlobals;2366}