Bazaar developer reference

CvNotificationEntry::CacheResults(Database::Results &, CvDatabaseUtility &)

Defined in
CvNotificationClasses.cpp, line 28
Class
CvNotificationEntry
Hook name
CivHooks::CvNotificationEntry_CacheResults

Hooks

static bool BeforeCvNotificationEntry_CacheResults(CvNotificationEntry* self, Database::Results& kResults, CvDatabaseUtility& arg1, bool& result);static void AfterCvNotificationEntry_CacheResults(CvNotificationEntry* self, Database::Results& kResults, CvDatabaseUtility& arg1, bool& result);static bool ReplaceCvNotificationEntry_CacheResults(bool (*original)(CvNotificationEntry*, Database::Results&, CvDatabaseUtility&), CvNotificationEntry* self, Database::Results& kResults, CvDatabaseUtility& arg1);CivRegisterBefore<CivHooks::CvNotificationEntry_CacheResults>(host, &BeforeCvNotificationEntry_CacheResults);CivRegisterAfter<CivHooks::CvNotificationEntry_CacheResults>(host, &AfterCvNotificationEntry_CacheResults);CivRegisterReplace<CivHooks::CvNotificationEntry_CacheResults>(host, &ReplaceCvNotificationEntry_CacheResults);

Code

27/// Read from XML file (pass 1)28bool CvNotificationEntry::CacheResults(Database::Results& kResults, CvDatabaseUtility&)29{30	m_strNotificationType = kResults.GetText("NotificationType");31	return true;32}

Calls