Exemplo n.º 1
0
 public void Broadcast <P0, P1, P2, P3>(EventDispatchers eventDispatchers, string eventName, P0 p0, P1 p1, P2 p2,
                                        P3 p3)
 {
     eventDispatchersPluginDictComponent.Broadcast(eventDispatchers, eventName, p0, p1, p2, p3);
 }
Exemplo n.º 2
0
 public Action AddListener(EventDispatchers eventDispatchers, string eventName, Action handler)
 {
     return(eventDispatchersPluginDictComponent.AddListener(eventDispatchers, eventName, handler));
 }
Exemplo n.º 3
0
 public bool RemoveListener <P0, P1, P2, P3>(EventDispatchers eventDispatchers, string eventName,
                                             Action <P0, P1, P2, P3> handler)
 {
     return(eventDispatchersPluginDictComponent.RemoveListener(eventDispatchers, eventName, handler));
 }
Exemplo n.º 4
0
 public void Broadcast(EventDispatchers eventDispatchers, string eventName)
 {
     eventDispatchersPluginDictComponent.Broadcast(eventDispatchers, eventName);
 }
Exemplo n.º 5
0
 public void Broadcast <P0, P1>(EventDispatchers eventDispatchers, string eventName, P0 p0, P1 p1)
 {
     eventDispatchersPluginDictComponent.Broadcast(eventDispatchers, eventName, p0, p1);
 }
 public void Broadcast <P0, P1, P2>(EventDispatchers eventDispatchers, string eventName, P0 p0, P1 p1, P2 p2)
 {
     eventDispatchersPluginDict.Broadcast(eventDispatchers, eventName, p0, p1, p2);
 }
 public Action <P0, P1, P2, P3> AddListener <P0, P1, P2, P3>(EventDispatchers eventDispatchers, string eventName,
                                                             Action <P0, P1, P2, P3> handler)
 {
     return(eventDispatchersPluginDict.AddListener(eventDispatchers, eventName, handler));
 }
 public bool RemoveListener(EventDispatchers eventDispatchers, string eventName, Action handler)
 {
     return(eventDispatchersPluginDict.RemoveListener(eventDispatchers, eventName, handler));
 }
 public void Broadcast <P0>(EventDispatchers eventDispatchers, string eventName, P0 p0)
 {
     eventDispatchersPluginDict.Broadcast(eventDispatchers, eventName, p0);
 }
Exemplo n.º 10
0
 public EventDispatchersPlugin GetEventDispatchersPlugin(EventDispatchers eventDispatchers)
 {
     eventDispatchers = eventDispatchers ?? Client.instance.eventDispatchers;
     return(dict.GetOrAddDefault(eventDispatchers, () => new EventDispatchersPlugin(eventDispatchers)));
 }
Exemplo n.º 11
0
 public EventDispatchersPlugin(EventDispatchers eventDispatchers)
 {
     this.eventDispatchers = eventDispatchers;
 }
Exemplo n.º 12
0
 public void Broadcast <P0, P1, P2, P3>(EventDispatchers eventDispatchers, string eventName, P0 p0, P1 p1, P2 p2, P3 p3)
 {
     GetEventDispatchersPlugin(eventDispatchers).Broadcast(eventName, p0, p1, p2, p3);
 }
Exemplo n.º 13
0
 public bool RemoveListener <P0, P1, P2>(EventDispatchers eventDispatchers, string eventName, Action <P0, P1, P2> handler)
 {
     return(GetEventDispatchersPlugin(eventDispatchers).RemoveListener(eventName, handler));
 }
Exemplo n.º 14
0
 public void Broadcast <P0, P1>(EventDispatchers eventDispatchers, string eventName, P0 p0, P1 p1)
 {
     GetEventDispatchersPlugin(eventDispatchers).Broadcast(eventName, p0, p1);
 }
Exemplo n.º 15
0
 ////////////////////////////////////////////////////////////////////////////////////////////
 public Action <P0, P1> AddListener <P0, P1>(EventDispatchers eventDispatchers, string eventName, Action <P0, P1> handler)
 {
     return(GetEventDispatchersPlugin(eventDispatchers).AddListener(eventName, handler));
 }
Exemplo n.º 16
0
 public void Broadcast(EventDispatchers eventDispatchers, string eventName)
 {
     GetEventDispatchersPlugin(eventDispatchers).Broadcast(eventName);
 }