示例#1
0
 public static NodeMessageManager GetInstance()
 {
     if (_instance == null)
     {
         _instance = new NodeMessageManager();
     }
     return(_instance);
 }
示例#2
0
 public void Dispose()
 {
     NodeMessageManager.GetInstance().RemoveCondition(/*_groupId,*/ NodeMessageManager.None, OnNone);
     NodeMessageManager.GetInstance().RemoveCondition(/*_groupId,*/ NodeMessageManager.GetGuideComplete, GetGuideComplete);
     NodeMessageManager.GetInstance().RemoveCondition(/*_groupId,*/ NodeMessageManager.GetFocusView, GetFocusView);
     NodeMessageManager.GetInstance().RemoveCondition(/*_groupId,*/ NodeMessageManager.GetDialogueState, GetDialogueState);
     NodeMessageManager.GetInstance().RemoveCondition(/*_groupId,*/ NodeMessageManager.BattleReady, BattleReady);
     NodeMessageManager.GetInstance().RemoveCondition(/*_groupId,*/ NodeMessageManager.CurMapNode, CurMapNode);
     NodeMessageManager.GetInstance().RemoveCondition(/*_groupId,*/ NodeMessageManager.GetPathObjAction, GetPathObjAction);
     NodeMessageManager.GetInstance().RemoveCondition(/*_groupId,*/ NodeMessageManager.GetParticipantNum, GetParticipantNum);
     NodeMessageManager.GetInstance().RemoveCondition(/*_groupId,*/ NodeMessageManager.GetNeedSetSkill, GetNeedSetSkill);
     NodeMessageManager.GetInstance().RemoveCondition(/*_groupId,*/ NodeMessageManager.GetGuideType, GetGuideType);
     NodeMessageManager.GetInstance().RemoveCondition(/*_groupId,*/ NodeMessageManager.GetFuncIsOpen, GetFuncIsOpen);
     NodeMessageManager.GetInstance().RemoveCondition(/*_groupId,*/ NodeMessageManager.GetFuncBtnAction, GetFuncBtnAction);
     NodeMessageManager.GetInstance().RemoveCondition(/*_groupId,*/ NodeMessageManager.GetFindGate, GetFindGate);
     NodeMessageManager.GetInstance().RemoveCondition(/*_groupId,*/ NodeMessageManager.GetMengBanState, GetMengBanState);
     NodeMessageManager.GetInstance().RemoveCondition(/*_groupId,*/ NodeMessageManager.GetChallengeDiedAction, GetChallengeDiedAction);//GetChallengeLevel
     NodeMessageManager.GetInstance().RemoveCondition(/*_groupId,*/ NodeMessageManager.GetChallengeLevel, GetChallengeLevel);
     NodeMessageManager.GetInstance().RemoveCondition(/*_groupId,*/ NodeMessageManager.CheckBattleIsFailed, CheckBattleIsFailed);
     NodeMessageManager.GetInstance().RemoveCondition(/*_groupId,*/ NodeMessageManager.OnLessThanLevel, OnLessThanLevel);
     NodeMessageManager.GetInstance().RemoveCondition(/*_groupId,*/ NodeMessageManager.GetGuideFailState, GetGuideFailState);
 }
示例#3
0
 void DispatchConditionReceipt(string em, string paramater)
 {
     NodeMessageManager.GetInstance().DispatchConditionReceipt(/*_groupId,*/ em, paramater);
 }
示例#4
0
 public void DispatchExecute()
 {
     isExecuteReceipt = false;
     NodeMessageManager.GetInstance().DispatchExecute(/*GroupID,*/ ExecuteCmd, ExecuteParameter, ExecuteReceipt);
 }
示例#5
0
 public void DispatchCondition()
 {
     isConditionReceipt = false;
     isConditionSucess  = false;
     NodeMessageManager.GetInstance().DispatchCondition(/*GroupID,*/ ConditionCmd, ConditionParameter, ConditionReceipt);
 }