Пример #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);