Bazaar developer reference

CvTechEntry::IsWaterWork() const

Defined in
CvTechClasses.cpp, line 482
Class
CvTechEntry
Hook name
CivHooks::CvTechEntry_IsWaterWork

Hooks

static bool BeforeCvTechEntry_IsWaterWork(const CvTechEntry* self, bool& result);static void AfterCvTechEntry_IsWaterWork(const CvTechEntry* self, bool& result);static bool ReplaceCvTechEntry_IsWaterWork(bool (*original)(const CvTechEntry*), const CvTechEntry* self);CivRegisterBefore<CivHooks::CvTechEntry_IsWaterWork>(host, &BeforeCvTechEntry_IsWaterWork);CivRegisterAfter<CivHooks::CvTechEntry_IsWaterWork>(host, &AfterCvTechEntry_IsWaterWork);CivRegisterReplace<CivHooks::CvTechEntry_IsWaterWork>(host, &ReplaceCvTechEntry_IsWaterWork);

Code

481/// Enable working of water tiles?482bool CvTechEntry::IsWaterWork() const483{484	return m_bWaterWork;485}

Called by