少年修仙传客户端代码仓库
client_Hale
2019-07-18 c889e10f034d635f1ed95d726d3c039fda00e079
382 任务自动前往增加前端拾取等待逻辑
2个文件已修改
10 ■■■■■ 已修改文件
Fight/Stage/MapEditor/Game/ClientSceneManager.cs 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/MainInterfacePanel/TaskModel.cs 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Fight/Stage/MapEditor/Game/ClientSceneManager.cs
@@ -124,15 +124,16 @@
        lastDeadPos = npc.Pos;
    }
    public bool isWaitPickup = false;
    private IEnumerator DoWaitFakePickup()
    {
        isWaitPickup = true;
        yield return WaitingForSecondConst.WaitMS500;
        while (ClientDropItemUtility.Instance.HasDropItem())
        {
            yield return null;
        }
        isWaitPickup = false;
        CA225_tagCMClientTaskCount _a225 = new CA225_tagCMClientTaskCount
        {
            CountID = 10001
System/MainInterfacePanel/TaskModel.cs
@@ -1514,6 +1514,11 @@
            }
        }
        while(ClientSceneManager.Instance.isWaitPickup)
        {
            yield return null;
        }
        if (GA_Hero.s_MapSwitching)
        {
            yield break;