Bazaar developer reference

CvLeague::IsUnitedNations() const

Defined in
CvVotingClasses.cpp, line 2210
Class
CvLeague
Hook name
CivHooks::CvLeague_IsUnitedNations

Hooks

static bool BeforeCvLeague_IsUnitedNations(const CvLeague* self, bool& result);static void AfterCvLeague_IsUnitedNations(const CvLeague* self, bool& result);static bool ReplaceCvLeague_IsUnitedNations(bool (*original)(const CvLeague*), const CvLeague* self);CivRegisterBefore<CivHooks::CvLeague_IsUnitedNations>(host, &BeforeCvLeague_IsUnitedNations);CivRegisterAfter<CivHooks::CvLeague_IsUnitedNations>(host, &AfterCvLeague_IsUnitedNations);CivRegisterReplace<CivHooks::CvLeague_IsUnitedNations>(host, &ReplaceCvLeague_IsUnitedNations);

Code

2210bool CvLeague::IsUnitedNations() const2211{2212	return m_bUnitedNations;2213}

Called by