Bazaar developer reference

CvGlobals::getNumDirections() const

Defined in
CvGlobals.cpp, line 6352
Class
CvGlobals
Hook name
CivHooks::CvGlobals_getNumDirections

Hooks

static bool BeforeCvGlobals_getNumDirections(const CvGlobals* self, int& result);static void AfterCvGlobals_getNumDirections(const CvGlobals* self, int& result);static int ReplaceCvGlobals_getNumDirections(int (*original)(const CvGlobals*), const CvGlobals* self);CivRegisterBefore<CivHooks::CvGlobals_getNumDirections>(host, &BeforeCvGlobals_getNumDirections);CivRegisterAfter<CivHooks::CvGlobals_getNumDirections>(host, &AfterCvGlobals_getNumDirections);CivRegisterReplace<CivHooks::CvGlobals_getNumDirections>(host, &ReplaceCvGlobals_getNumDirections);

Code

6352int CvGlobals::getNumDirections() const6353{6354	return NUM_DIRECTION_TYPES;6355}