/// <summary> /// Remove a MessageEvent from this event manager. /// </summary> /// <param name="messageEvent"></param> public void removeEvent(MessageEvent messageEvent) { EventLayer layer; if (eventLayers.TryGetValue(messageEvent.EventLayerKey, out layer)) { layer.removeEvent(messageEvent); } else { Logging.Log.Warning($"Could not unbind message event to layer {messageEvent.EventLayerKey}"); } }
public void removeEvent(MessageEvent evt) { messageEvents.Remove(evt); }
public void addEvent(MessageEvent evt) { messageEvents.Add(evt); }
/// <summary> /// Remove an event from this event layer. /// </summary> /// <param name="evt">The event to remove.</param> public void removeEvent(MessageEvent evt) { eventList.Remove(evt); }
/// <summary> /// Add an event to this event layer. /// </summary> /// <param name="evt">The event to add.</param> public void addEvent(MessageEvent evt) { eventList.Add(evt); }