示例#1
0
 public void RaiseEvent(int key, Object obj_info)
 {
     if (_event_set == null)
     {
         return;
     }
     _event_set.RaiseEvent(key, obj_info);
 }
示例#2
0
 public void RaiseEvent(E_EntityEvent key, EventSetData objInfo)
 {
     if (_outEventSet == null)
     {
         return;
     }
     _outEventSet.RaiseEvent(key, objInfo);
 }
示例#3
0
        public bool RaiseEvent(TKey key, EventSetData param)
        {
            I_Condition condition;

            _conditionSet.TryGetValue(key, out condition);
            if (condition != null && !condition.IsTrue(param))
            {
                return(false);
            }
            return(_eventSet.RaiseEvent(key, param));
        }
示例#4
0
 // 被内部调用,由内部触发
 public void RaiseEvent(E_EntityInTrigger key, EventSetData param)
 {
     _inEventSet.RaiseEvent(key, param);
 }
示例#5
0
 public bool RaiseEvent(E_GLOBAL_EVT key, Object param = null, bool bDelay = false)
 {
     return(_eventSet.RaiseEvent(key, param, bDelay));
 }
示例#6
0
 public bool RaiseEvent(string key, Object param = null, bool bDelay = false)
 {
     return(_eventSet.RaiseEvent(key, param, bDelay));
 }