CvPlot::uninit()
- Defined in
- CvPlot.cpp, line 198
- Class
- CvPlot
- Hook name
CivHooks::CvPlot_uninit
Hooks
static bool BeforeCvPlot_uninit(CvPlot* self);static void AfterCvPlot_uninit(CvPlot* self);static void ReplaceCvPlot_uninit(void (*original)(CvPlot*), CvPlot* self);CivRegisterBefore<CivHooks::CvPlot_uninit>(host, &BeforeCvPlot_uninit);CivRegisterAfter<CivHooks::CvPlot_uninit>(host, &AfterCvPlot_uninit);CivRegisterReplace<CivHooks::CvPlot_uninit>(host, &ReplaceCvPlot_uninit);
Code
198void CvPlot::uninit()199{200 SAFE_DELETE_ARRAY(m_szScriptData);201202#if defined(SHOW_PLOT_POPUP)203 m_fPopupDelay = 0.5;204#endif205206 m_pCenterUnit = NULL;207208 SAFE_DELETE_ARRAY(m_paiBuildProgress);209210 m_units.clear();211}
Calls
FFastSmallFixedList::clearFObjectHandle::operator=SAFE_DELETE_ARRAYSAFE_DELETE_ARRAY