CvGameDeals::Init()
- Defined in
- CvDealClasses.cpp, line 2004
- Class
- CvGameDeals
- Hook name
CivHooks::CvGameDeals_Init
Hooks
static bool BeforeCvGameDeals_Init(CvGameDeals* self);static void AfterCvGameDeals_Init(CvGameDeals* self);static void ReplaceCvGameDeals_Init(void (*original)(CvGameDeals*), CvGameDeals* self);CivRegisterBefore<CivHooks::CvGameDeals_Init>(host, &BeforeCvGameDeals_Init);CivRegisterAfter<CivHooks::CvGameDeals_Init>(host, &AfterCvGameDeals_Init);CivRegisterReplace<CivHooks::CvGameDeals_Init>(host, &ReplaceCvGameDeals_Init);
Code
2003/// Initialize2004void CvGameDeals::Init()2005{2006 m_ProposedDeals.clear();2007 m_CurrentDeals.clear();2008 m_HistoricalDeals.clear();2009}
Calls
BaseVector::clear