| 1234567891011121314151617181920212223242526272829303132333435363738394041424344 | 
							- using System;
 
- using System.Linq;
 
- using Core.Language;
 
- using Excel2Json;
 
- using Fort23.UTool;
 
- public static class EventHelper
 
- {
 
-     public static string GetTaskMessage(AccountFileInfo.EventConditionData eventConditionData)
 
-     {
 
-         string result = String.Empty;
 
-         EventConditionConfig eventCondition = ConfigComponent.Instance.Get<EventConditionConfig>(eventConditionData.eventCondition);
 
-         result = LanguageManager.Instance.Text(eventCondition.message, eventConditionData.fishCount, eventCondition.finishCount);
 
-         return result;
 
-     }
 
-     public static string GetEventType(int type)
 
-     {
 
-         switch (type)
 
-         {
 
-             case 1:
 
-                 return "主线";
 
-             case 2:
 
-                 return "支线";
 
-             case 3:
 
-                 return "通用";
 
-             case 4:
 
-                 return "地图通用";
 
-             case 5:
 
-                 return "道友";
 
-             case 6:
 
-                 return "任务";
 
-             case 7:
 
-                 return "资源";
 
-             default:
 
-                 return "没有";
 
-         }
 
-     }
 
- }
 
 
  |