Bazaar developer reference

CvLeague::IsInSpecialSession()

Defined in
CvVotingClasses.cpp, line 2034
Class
CvLeague
Hook name
CivHooks::CvLeague_IsInSpecialSession

Hooks

static bool BeforeCvLeague_IsInSpecialSession(CvLeague* self, bool& result);static void AfterCvLeague_IsInSpecialSession(CvLeague* self, bool& result);static bool ReplaceCvLeague_IsInSpecialSession(bool (*original)(CvLeague*), CvLeague* self);CivRegisterBefore<CivHooks::CvLeague_IsInSpecialSession>(host, &BeforeCvLeague_IsInSpecialSession);CivRegisterAfter<CivHooks::CvLeague_IsInSpecialSession>(host, &AfterCvLeague_IsInSpecialSession);CivRegisterReplace<CivHooks::CvLeague_IsInSpecialSession>(host, &ReplaceCvLeague_IsInSpecialSession);

Code

2034bool CvLeague::IsInSpecialSession()2035{2036	return (IsInSession() && GetCurrentSpecialSession() != NO_LEAGUE_SPECIAL_SESSION);2037}

Calls

Called by