Bazaar developer reference

CvUnit::GetEmbarkAllWaterCount() const

Defined in
CvUnit.cpp, line 5274
Class
CvUnit
Hook name
CivHooks::CvUnit_GetEmbarkAllWaterCount

Hooks

static bool BeforeCvUnit_GetEmbarkAllWaterCount(const CvUnit* self, int& result);static void AfterCvUnit_GetEmbarkAllWaterCount(const CvUnit* self, int& result);static int ReplaceCvUnit_GetEmbarkAllWaterCount(int (*original)(const CvUnit*), const CvUnit* self);CivRegisterBefore<CivHooks::CvUnit_GetEmbarkAllWaterCount>(host, &BeforeCvUnit_GetEmbarkAllWaterCount);CivRegisterAfter<CivHooks::CvUnit_GetEmbarkAllWaterCount>(host, &AfterCvUnit_GetEmbarkAllWaterCount);CivRegisterReplace<CivHooks::CvUnit_GetEmbarkAllWaterCount>(host, &ReplaceCvUnit_GetEmbarkAllWaterCount);

Code

5274int CvUnit::GetEmbarkAllWaterCount() const5275{5276	return m_iEmbarkedAllWaterCount;5277}

Called by