| Core/NetworkPackage/ClientPack/ClientToMapServer/CA2_Interaction/CA225_tagCMClientTaskCount.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| Fight/Stage/MapEditor/Game/EventRefreshNPCHandler.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| System/NewBieGuidance/NewBieWin.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| System/Realm/RealmModel.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
Core/NetworkPackage/ClientPack/ClientToMapServer/CA2_Interaction/CA225_tagCMClientTaskCount.cs
@@ -1,21 +1,20 @@ using UnityEngine; using UnityEngine; using System.Collections; //A2 25 客户端任务计数 # tagCMClientTaskCount public class CA225_tagCMClientTaskCount : GameNetPackBasic { public uint CountID; // 计数ID,客户端与策划约定,可以是NPCID或其他 public CA225_tagCMClientTaskCount() { combineCmd = (ushort)0x03FE; _cmd = (ushort)0xA225; } public override void WriteToBytes() { WriteBytes(CountID, NetDataType.DWORD); } } //A2 25 客户端任务计数 # tagCMClientTaskCount public class CA225_tagCMClientTaskCount : GameNetPackBasic { public uint CountID; // 计数ID,客户端与策划约定,可以是NPCID或其他 public byte Type; // 1-杀怪 public CA225_tagCMClientTaskCount () { combineCmd = (ushort)0x03FE; _cmd = (ushort)0xA225; } public override void WriteToBytes () { WriteBytes (CountID, NetDataType.DWORD); WriteBytes (Type, NetDataType.BYTE); } } Fight/Stage/MapEditor/Game/EventRefreshNPCHandler.cs
@@ -76,7 +76,8 @@ CA225_tagCMClientTaskCount _a225 = new CA225_tagCMClientTaskCount { CountID = (uint)npcID CountID = (uint)npcID, Type = 1 }; GameNetSystem.Instance.SendInfo(_a225); } System/NewBieGuidance/NewBieWin.cs
@@ -156,6 +156,7 @@ StartCoroutine(Co_DisplayGuide()); } //完成当前引导步骤 private void ReportStepOver() { m_newBieGuideUsher.Stop(); @@ -164,6 +165,7 @@ UnAttachTrigger(); m_ClickTarget = null; } private void OnStepChange() { @@ -201,11 +203,12 @@ mainTaskModel.jumpTaskID = 0; break; case NewBieGuideScriptableObject.UseWindow.Daily: var arr = _stepConfig.UIElementPath.Split("_"); if (arr.Length >= 2) var arr = _stepConfig.UIElementPath.Split("DailyQuestBehaviour_"); if (arr.Length == 2) { var arr2 = arr[1].Split("/"); int id = 0; int.TryParse(arr[arr.Length - 1], out id); int.TryParse(arr2[0], out id); if (id != 0) { var dailyQuestModel = ModelCenter.Instance.GetModel<DailyQuestModel>(); @@ -377,7 +380,7 @@ var sp = Input.mousePosition; if (!RectTransformUtility.RectangleContainsScreenPoint(m_ClickHintRoot, sp, CameraManager.uiCamera)) { ReportStepOver(); SkipNewBieGuide(); return; } } System/Realm/RealmModel.cs
@@ -614,7 +614,7 @@ taskAwardState = (int)package.TaskAwardState; for (int i = 0; i < package.TaskValueCount; i++) { taskValues.Add(package.TaskValueList[i].TaskID, (int)package.TaskValueList[i].TaskValue); taskValues[package.TaskValueList[i].TaskID] = (int)package.TaskValueList[i].TaskValue; } RealmMissionRefreshEvent?.Invoke();