Bazaar developer reference

CvNotificationXMLEntries::GetEntry(int)

Defined in
CvNotificationClasses.cpp, line 79
Class
CvNotificationXMLEntries
Hook name
CivHooks::CvNotificationXMLEntries_GetEntry

Hooks

static bool BeforeCvNotificationXMLEntries_GetEntry(CvNotificationXMLEntries* self, int index, CvNotificationEntry*& result);static void AfterCvNotificationXMLEntries_GetEntry(CvNotificationXMLEntries* self, int index, CvNotificationEntry*& result);static CvNotificationEntry* ReplaceCvNotificationXMLEntries_GetEntry(CvNotificationEntry* (*original)(CvNotificationXMLEntries*, int), CvNotificationXMLEntries* self, int index);CivRegisterBefore<CivHooks::CvNotificationXMLEntries_GetEntry>(host, &BeforeCvNotificationXMLEntries_GetEntry);CivRegisterAfter<CivHooks::CvNotificationXMLEntries_GetEntry>(host, &AfterCvNotificationXMLEntries_GetEntry);CivRegisterReplace<CivHooks::CvNotificationXMLEntries_GetEntry>(host, &ReplaceCvNotificationXMLEntries_GetEntry);

Code

78/// Get a specific entry79CvNotificationEntry* CvNotificationXMLEntries::GetEntry(int index)80{81	FAssert(index < static_cast<int>(m_paNotificationEntries.size()));8283	if(index < static_cast<int>(m_paNotificationEntries.size()))84		return m_paNotificationEntries[index];85	return NULL;86}

Calls

Called by