Bazaar developer reference

CvLeague::GetConsecutiveHostedSessions() const

Defined in
CvVotingClasses.cpp, line 3590
Class
CvLeague
Hook name
CivHooks::CvLeague_GetConsecutiveHostedSessions

Hooks

static bool BeforeCvLeague_GetConsecutiveHostedSessions(const CvLeague* self, int& result);static void AfterCvLeague_GetConsecutiveHostedSessions(const CvLeague* self, int& result);static int ReplaceCvLeague_GetConsecutiveHostedSessions(int (*original)(const CvLeague*), const CvLeague* self);CivRegisterBefore<CivHooks::CvLeague_GetConsecutiveHostedSessions>(host, &BeforeCvLeague_GetConsecutiveHostedSessions);CivRegisterAfter<CivHooks::CvLeague_GetConsecutiveHostedSessions>(host, &AfterCvLeague_GetConsecutiveHostedSessions);CivRegisterReplace<CivHooks::CvLeague_GetConsecutiveHostedSessions>(host, &ReplaceCvLeague_GetConsecutiveHostedSessions);

Code

3590int CvLeague::GetConsecutiveHostedSessions() const3591{3592	return m_iConsecutiveHostedSessions;3593}

Called by