コード例 #1
0
 public bool RegisterHandler(TKey key, EventSet <TKey, EventSetData> .EventHandler handler, I_Condition condition = null)
 {
     if (condition != null)
     {
         _conditionSet.Add(key, condition);
     }
     return(_eventSet.RegisterHandler(key, handler));
 }
コード例 #2
0
 public bool RegisterHandler(int key, EventSet <int, Object> .EventHandler handler)
 {
     return(_event_set.RegisterHandler(key, handler));
 }
コード例 #3
0
 public bool RegisterHandler(E_EntityEvent key, EventSet <E_EntityEvent, EventSetData> .EventHandler handler)
 {
     return(_outEventSet.RegisterHandler(key, handler));
 }
コード例 #4
0
 public bool RegisterHandler(E_EntityInTrigger key, EventSet <E_EntityInTrigger, EventSetData> .EventHandler handler)
 {
     return(_inEventSet.RegisterHandler(key, handler));
 }
コード例 #5
0
 public bool RegisterHandler(E_GLOBAL_EVT key, EventSet <E_GLOBAL_EVT, Object> .EventHandler handler)
 {
     return(_eventSet.RegisterHandler(key, handler));
 }
コード例 #6
0
 public bool RegisterHandler(E_NetModule key, EventSet <E_NetModule, Object> .EventHandler handler)
 {
     return(_event_set.RegisterHandler(key, handler));
 }
コード例 #7
0
 public bool RegisterHandler(string key, EventSet <string, Object> .EventHandler handler)
 {
     return(_eventSet.RegisterHandler(key, handler));
 }