public override void DoEvent(int nEventID, NFIDataList valueList) { if (mhtEvent.ContainsKey(nEventID)) { NFIEvent identEvent = (NFIEvent)mhtEvent[nEventID]; identEvent.DoEvent(valueList); } }
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); }
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); } }
public abstract void RegisterCallback(NFIEvent.EventHandler handler);
public override void RegisterCallback(NFIEvent.EventHandler handler) { mHandlerDel += handler; }
public abstract void RegisterEventCallBack(NFIDENTID self, int nEventID, NFIEvent.EventHandler handler, NFIDataList valueList);
public abstract void RegisterCallback(int nEventID, NFIEvent.EventHandler handler, NFIDataList valueList);