Bazaar developer reference

CvUnit::GetEmbarkDeepWaterCount() const

Defined in
CvUnit.cpp, line 5294
Class
CvUnit
Hook name
CivHooks::CvUnit_GetEmbarkDeepWaterCount

Hooks

static bool BeforeCvUnit_GetEmbarkDeepWaterCount(const CvUnit* self, int& result);static void AfterCvUnit_GetEmbarkDeepWaterCount(const CvUnit* self, int& result);static int ReplaceCvUnit_GetEmbarkDeepWaterCount(int (*original)(const CvUnit*), const CvUnit* self);CivRegisterBefore<CivHooks::CvUnit_GetEmbarkDeepWaterCount>(host, &BeforeCvUnit_GetEmbarkDeepWaterCount);CivRegisterAfter<CivHooks::CvUnit_GetEmbarkDeepWaterCount>(host, &AfterCvUnit_GetEmbarkDeepWaterCount);CivRegisterReplace<CivHooks::CvUnit_GetEmbarkDeepWaterCount>(host, &ReplaceCvUnit_GetEmbarkDeepWaterCount);

Code

5294int CvUnit::GetEmbarkDeepWaterCount() const5295{5296	return m_iEmbarkedDeepWaterCount;5297}

Called by