Beispiel #1
0
 /// <summary>
 /// 移除逻辑事件监听
 /// </summary>
 protected virtual void removeEvent()
 {
     EventDispatcher.RemoveEventListener(GameEventDef.EVNET_PER_FRAME_UPDATE, UpdatePreFrame);
     EventDispatcher.RemoveEventListener(GameEventDef.EVNET_FIX_FRAME_UPDATE, UpdateFixFrame);
     EventDispatcher.RemoveEventListener <bool>(GameEventDef.EVENT_WATER_HIGHT, OnHightWater);
     EventDispatcher.RemoveEventListener <bool>(GameEventDef.EVENT_WATER_LOW, OnLowWater);
 }
Beispiel #2
0
 /// <summary>
 /// 移除逻辑事件监听
 /// </summary>
 protected virtual void removeEvent()
 {
     EventDispatcher.RemoveEventListener(GameEventDef.EVNET_PER_FRAME_UPDATE, UpdatePerFrame);
     EventDispatcher.RemoveEventListener(GameEventDef.EVNET_FIX_FRAME_UPDATE, UpdateFixFrame);
     EventDispatcher.RemoveEventListener(GameEventDef.EVNET_UPDATE_AOE_POWER, OnEventUpdateAoe);
     EventDispatcher.RemoveEventListener <int, int>(GameEventDef.EVNET_APPEND_SCORES, OnEventAppendScores);
     EventDispatcher.RemoveEventListener <bool>(GameEventDef.EVENT_WATER_HIGHT, OnHightWater);
     EventDispatcher.RemoveEventListener <bool>(GameEventDef.EVENT_WATER_LOW, OnLowWater);
 }
Beispiel #3
0
 /// <summary>
 /// 移除逻辑事件监听
 /// </summary>
 protected virtual void removeEvent()
 {
     EventDispatcher.RemoveEventListener(GameEventDef.EVNET_PER_FRAME_UPDATE, UpdatePerFrame);
     EventDispatcher.RemoveEventListener(GameEventDef.EVNET_FIX_FRAME_UPDATE, UpdateFixFrame);
     EventDispatcher.RemoveEventListener(GameEventDef.EVNET_RANK_EDIT_INPUT, OnEventRankEditInput);
     EventDispatcher.RemoveEventListener(GameEventDef.EVNET_RANK_TOPN, OnEventRankTopN);
     EventDispatcher.RemoveEventListener <bool>(GameEventDef.EVENT_WATER_HIGHT, OnHightWater);
     EventDispatcher.RemoveEventListener <bool>(GameEventDef.EVENT_WATER_LOW, OnLowWater);
 }
Beispiel #4
0
 /// <summary>
 /// 移除逻辑事件监听
 /// </summary>
 protected virtual void removeEvent()
 {
     EventDispatcher.RemoveEventListener(GameEventDef.EVNET_PER_FRAME_UPDATE, UpdatePerFrame);
     EventDispatcher.RemoveEventListener(GameEventDef.EVNET_FIX_FRAME_UPDATE, UpdateFixFrame);
     EventDispatcher.RemoveEventListener(GameEventDef.EVNET_WATER_EMPTY_CAUTION, OnEventWaterEmptyCaution);
     EventDispatcher.RemoveEventListener(GameEventDef.EVNET_WATER_WATERING, OnEventWatering);
     EventDispatcher.RemoveEventListener(GameEventDef.EVNET_WATER_FULL, OnEventWaterFull);
     EventDispatcher.RemoveEventListener <bool, bool>(GameEventDef.EVNET_WATER_PUSHING, OnEventWaterPushing);
     EventDispatcher.RemoveEventListener(GameEventDef.EVNET_WATER_URGING, OnEventWaterUrging);
 }
Beispiel #5
0
 /// <summary>
 /// �Ƴ��߼��¼�����
 /// </summary>
 protected virtual void removeEvent()
 {
     EventDispatcher.RemoveEventListener <string>(GameEventDef.EVNET_ASYNC_LOADING, OnEventAsyncLoading);
 }
Beispiel #6
0
 /// <summary>
 /// 移除逻辑事件监听
 /// </summary>
 protected virtual void removeEvent()
 {
     EventDispatcher.RemoveEventListener <string>(GameEventDef.EVNET_CONDITION_SHOW, OnEventShow);
     EventDispatcher.RemoveEventListener(GameEventDef.EVNET_CONDITION_CLOSE, OnEventClose);
 }
Beispiel #7
0
 /// <summary>
 /// 移除逻辑事件监听
 /// </summary>
 protected virtual void removeEvent()
 {
     //EventDispatcher.RemoveEventListener(GameEventDef.EVNET_PER_FRAME_UPDATE, UpdatePerFrame);
     //EventDispatcher.RemoveEventListener(GameEventDef.EVNET_FIX_FRAME_UPDATE, UpdateFixFrame);
     EventDispatcher.RemoveEventListener(GameEventDef.EVNET_ENDING_SHOW, OnEventShow);
 }
Beispiel #8
0
 /// <summary>
 /// 移除逻辑事件监听
 /// </summary>
 protected virtual void removeEvent()
 {
     EventDispatcher.RemoveEventListener(GameEventDef.EVNET_PER_FRAME_UPDATE, UpdatePerFrame);
     EventDispatcher.RemoveEventListener(GameEventDef.EVNET_FIX_FRAME_UPDATE, UpdateFixFrame);
     EventDispatcher.RemoveEventListener(GameEventDef.EVNET_PLAY_MOVIE, OnEventPlayMovie);
 }