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