Bazaar developer reference

CvResolution::GetLeague() const

Defined in
CvVotingClasses.cpp, line 965
Class
CvResolution
Hook name
CivHooks::CvResolution_GetLeague

Hooks

static bool BeforeCvResolution_GetLeague(const CvResolution* self, LeagueTypes& result);static void AfterCvResolution_GetLeague(const CvResolution* self, LeagueTypes& result);static LeagueTypes ReplaceCvResolution_GetLeague(LeagueTypes (*original)(const CvResolution*), const CvResolution* self);CivRegisterBefore<CivHooks::CvResolution_GetLeague>(host, &BeforeCvResolution_GetLeague);CivRegisterAfter<CivHooks::CvResolution_GetLeague>(host, &AfterCvResolution_GetLeague);CivRegisterReplace<CivHooks::CvResolution_GetLeague>(host, &ReplaceCvResolution_GetLeague);

Code

965LeagueTypes CvResolution::GetLeague() const966{967	return m_eLeague;968}

Called by