Bazaar developer reference

CvTraitEntry::GetExtraEmbarkMoves() const

Defined in
CvTraitClasses.cpp, line 439
Class
CvTraitEntry
Hook name
CivHooks::CvTraitEntry_GetExtraEmbarkMoves

Hooks

static bool BeforeCvTraitEntry_GetExtraEmbarkMoves(const CvTraitEntry* self, int& result);static void AfterCvTraitEntry_GetExtraEmbarkMoves(const CvTraitEntry* self, int& result);static int ReplaceCvTraitEntry_GetExtraEmbarkMoves(int (*original)(const CvTraitEntry*), const CvTraitEntry* self);CivRegisterBefore<CivHooks::CvTraitEntry_GetExtraEmbarkMoves>(host, &BeforeCvTraitEntry_GetExtraEmbarkMoves);CivRegisterAfter<CivHooks::CvTraitEntry_GetExtraEmbarkMoves>(host, &AfterCvTraitEntry_GetExtraEmbarkMoves);CivRegisterReplace<CivHooks::CvTraitEntry_GetExtraEmbarkMoves>(host, &ReplaceCvTraitEntry_GetExtraEmbarkMoves);

Code

438/// Accessor:: combat bonus during golden ages439int CvTraitEntry::GetExtraEmbarkMoves() const440{441	return m_iExtraEmbarkMoves;442}

Called by