示例#1
0
 public override void DoEvent(int nEventID, NFIDataList valueList)
 {
     if (mhtEvent.ContainsKey(nEventID))
     {
         NFIEvent identEvent = (NFIEvent)mhtEvent[nEventID];
         identEvent.DoEvent(valueList);
     }
 }
示例#2
0
        public override void RegisterCallback(int nEventID, NFIEvent.EventHandler handler, NFIDataList valueList)
        {
            if (!mhtEvent.ContainsKey(nEventID))
            {
                mhtEvent.Add(nEventID, new NFCEvent(mSelf, nEventID, valueList));
            }

            NFIEvent identEvent = (NFIEvent)mhtEvent[nEventID];
            identEvent.RegisterCallback(handler);
        }
示例#3
0
        public override void RegisterCallback(int nEventID, NFIEvent.EventHandler handler, NFIDataList valueList)
        {
            if (!mhtEvent.ContainsKey(nEventID))
            {
                mhtEvent.Add(nEventID, new NFCEvent(mSelf, nEventID, valueList));
            }

            NFIEvent identEvent = (NFIEvent)mhtEvent[nEventID];

            identEvent.RegisterCallback(handler);
        }
示例#4
0
 public override void RegisterEventCallBack(NFIDENTID self, int nEventID, NFIEvent.EventHandler handler, NFIDataList valueList)
 {
     NFIObject xGameObject = GetObject(self);
     if (null != xGameObject)
     {
         xGameObject.GetEventManager().RegisterCallback(nEventID, handler, valueList);
     }
 }
示例#5
0
 public abstract void RegisterCallback(NFIEvent.EventHandler handler);
示例#6
0
 public override void RegisterCallback(NFIEvent.EventHandler handler)
 {
     mHandlerDel += handler;
 }
示例#7
0
 public abstract void RegisterEventCallBack(NFIDENTID self, int nEventID, NFIEvent.EventHandler handler, NFIDataList valueList);
示例#8
0
 public abstract void RegisterCallback(int nEventID, NFIEvent.EventHandler handler, NFIDataList valueList);