|
@@ -1,14 +1,7 @@
|
|
|
-using System;
|
|
|
-using System.Collections;
|
|
|
using System.Collections.Generic;
|
|
|
using System.Linq;
|
|
|
-using Core.Event.Event;
|
|
|
using Excel2Json;
|
|
|
-using Fort23.Core;
|
|
|
using Fort23.UTool;
|
|
|
-using GameLogic.Bag;
|
|
|
-using GameLogic.Player;
|
|
|
-using UnityEngine;
|
|
|
using Utility;
|
|
|
using Random = UnityEngine.Random;
|
|
|
|
|
@@ -157,12 +150,12 @@ public class EventSystemManager : Singleton<EventSystemManager>
|
|
|
}
|
|
|
|
|
|
/// <summary>
|
|
|
- /// 完成任务
|
|
|
+ /// 完成事件
|
|
|
/// </summary>
|
|
|
/// <param name="eventID">事件ID</param>
|
|
|
public void CompleteEvent(int eventID)
|
|
|
{
|
|
|
- LogTool.Log($"完成任务{eventID}");
|
|
|
+ LogTool.Log($"完成事件{eventID}");
|
|
|
AccountFileInfo.EventData eventData = AccountFileInfo.Instance.playerData.events.FirstOrDefault((e) => e.eventID == eventID);
|
|
|
if (eventData == null)
|
|
|
{
|