public bool IsRegistered(ScheduledEvent evt) { return((events != null && events.Contains(evt)) || (eventsToAddNextTick != null && eventsToAddNextTick.Contains(evt))); }
public void RegisterEventPrototype(string name, ScheduledEvent eventPrototype) { PrototypeManager.SchedulerEvent.Add(name, eventPrototype); }
/// <summary> /// Registers an event prototype with PrototypeManager. /// </summary> public void RegisterEventPrototype(ScheduledEvent eventPrototype) { PrototypeManager.ScheduledEvent.Add(eventPrototype); }