Bazaar developer reference

CvGameLeagues::GetNumActiveLeagues()

Defined in
CvVotingClasses.cpp, line 7082
Class
CvGameLeagues
Hook name
CivHooks::CvGameLeagues_GetNumActiveLeagues

Hooks

static bool BeforeCvGameLeagues_GetNumActiveLeagues(CvGameLeagues* self, int& result);static void AfterCvGameLeagues_GetNumActiveLeagues(CvGameLeagues* self, int& result);static int ReplaceCvGameLeagues_GetNumActiveLeagues(int (*original)(CvGameLeagues*), CvGameLeagues* self);CivRegisterBefore<CivHooks::CvGameLeagues_GetNumActiveLeagues>(host, &BeforeCvGameLeagues_GetNumActiveLeagues);CivRegisterAfter<CivHooks::CvGameLeagues_GetNumActiveLeagues>(host, &AfterCvGameLeagues_GetNumActiveLeagues);CivRegisterReplace<CivHooks::CvGameLeagues_GetNumActiveLeagues>(host, &ReplaceCvGameLeagues_GetNumActiveLeagues);

Code

7082int CvGameLeagues::GetNumActiveLeagues()7083{7084	return m_vActiveLeagues.size();7085}

Calls

Called by