public override void RegisterSceneEventItem(ISceneEventItem item) { if (item != null) { if (!m_mapAllSceneEventItem.ContainsKey(item.EventID)) { m_mapAllSceneEventItem.Add(item.EventID, item); } } }
public override ISceneEventItem GetSceneEventItemByID(byte eventId) { ISceneEventItem item = null; if (m_mapAllSceneEventItem.ContainsKey(eventId)) { item = m_mapAllSceneEventItem[eventId]; } return(item); }
public abstract void RegisterSceneEventItem(ISceneEventItem item);