public void OnExpired() { MaginciaLottoSystem.UnregisterPlot(m_Plot); m_Plot = null; m_Expired = true; m_Expires = DateTime.MinValue; InvalidateProperties(); }
public override void OnAfterDelete() { if (m_Plot != null) { MaginciaLottoSystem.UnregisterPlot(m_Plot); } base.OnAfterDelete(); }