Bazaar developer reference

CvDllTeam::CanEmbarkAllWaterPassage() const

Defined in
CvDllTeam.cpp, line 79
Class
CvDllTeam
Hook name
CivHooks::CvDllTeam_CanEmbarkAllWaterPassage

Hooks

static bool BeforeCvDllTeam_CanEmbarkAllWaterPassage(const CvDllTeam* self, bool& result);static void AfterCvDllTeam_CanEmbarkAllWaterPassage(const CvDllTeam* self, bool& result);static bool ReplaceCvDllTeam_CanEmbarkAllWaterPassage(bool (*original)(const CvDllTeam*), const CvDllTeam* self);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllTeam_CanEmbarkAllWaterPassage::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllTeam_CanEmbarkAllWaterPassage);host->RegisterHook(host->pluginIndex, CivHooks::CvDllTeam_CanEmbarkAllWaterPassage::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllTeam_CanEmbarkAllWaterPassage);host->RegisterHook(host->pluginIndex, CivHooks::CvDllTeam_CanEmbarkAllWaterPassage::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllTeam_CanEmbarkAllWaterPassage);

Code

79bool CvDllTeam::CanEmbarkAllWaterPassage() const80{81	return m_pTeam->canEmbarkAllWaterPassage();82}

Calls