Bazaar developer reference

CvPromotionXMLEntries::GetEntry(int)

Defined in
CvPromotionClasses.cpp, line 2127
Class
CvPromotionXMLEntries
Hook name
CivHooks::CvPromotionXMLEntries_GetEntry

Hooks

static bool BeforeCvPromotionXMLEntries_GetEntry(CvPromotionXMLEntries* self, int index, CvPromotionEntry*& result);static void AfterCvPromotionXMLEntries_GetEntry(CvPromotionXMLEntries* self, int index, CvPromotionEntry*& result);static CvPromotionEntry* ReplaceCvPromotionXMLEntries_GetEntry(CvPromotionEntry* (*original)(CvPromotionXMLEntries*, int), CvPromotionXMLEntries* self, int index);CivRegisterBefore<CivHooks::CvPromotionXMLEntries_GetEntry>(host, &BeforeCvPromotionXMLEntries_GetEntry);CivRegisterAfter<CivHooks::CvPromotionXMLEntries_GetEntry>(host, &AfterCvPromotionXMLEntries_GetEntry);CivRegisterReplace<CivHooks::CvPromotionXMLEntries_GetEntry>(host, &ReplaceCvPromotionXMLEntries_GetEntry);

Code

2126/// Get a specific entry2127CvPromotionEntry* CvPromotionXMLEntries::GetEntry(int index)2128{2129	return m_paPromotionEntries[index];2130}

Calls

Called by