public static void Subscribe(EventSubscription subscription) { TransientEvents.Subscribe(subscription); EventSubs.Add(subscription); }
public static void SubscribeForever(EventSubscription subscription) { PersistentEvents.Subscribe(subscription); }
public static void Subscribe <T>(Action <T> onEvent, object owner) { Subscribe(EventSubscription.Create <T>(onEvent, owner)); }
public static void NetSubscribe(EventSubscription subscription) { NetEvents.Subscribe(subscription); EventSubs.Add(subscription); }