Bazaar developer reference

CvLeagueSpecialSessionXMLEntries::GetEntry(int)

Defined in
CvVotingClasses.cpp, line 10132
Class
CvLeagueSpecialSessionXMLEntries
Hook name
CivHooks::CvLeagueSpecialSessionXMLEntries_GetEntry

Hooks

static bool BeforeCvLeagueSpecialSessionXMLEntries_GetEntry(CvLeagueSpecialSessionXMLEntries* self, int index, CvLeagueSpecialSessionEntry*& result);static void AfterCvLeagueSpecialSessionXMLEntries_GetEntry(CvLeagueSpecialSessionXMLEntries* self, int index, CvLeagueSpecialSessionEntry*& result);static CvLeagueSpecialSessionEntry* ReplaceCvLeagueSpecialSessionXMLEntries_GetEntry(CvLeagueSpecialSessionEntry* (*original)(CvLeagueSpecialSessionXMLEntries*, int), CvLeagueSpecialSessionXMLEntries* self, int index);CivRegisterBefore<CivHooks::CvLeagueSpecialSessionXMLEntries_GetEntry>(host, &BeforeCvLeagueSpecialSessionXMLEntries_GetEntry);CivRegisterAfter<CivHooks::CvLeagueSpecialSessionXMLEntries_GetEntry>(host, &AfterCvLeagueSpecialSessionXMLEntries_GetEntry);CivRegisterReplace<CivHooks::CvLeagueSpecialSessionXMLEntries_GetEntry>(host, &ReplaceCvLeagueSpecialSessionXMLEntries_GetEntry);

Code

10131// Returns a specific league project entry10132CvLeagueSpecialSessionEntry* CvLeagueSpecialSessionXMLEntries::GetEntry(int index)10133{10134	return m_paLeagueSpecialSessionEntries[index];10135}

Calls