少年修仙传客户端代码仓库
8个文件已修改
49 ■■■■ 已修改文件
Core/NetworkPackage/DTCFile/ServerPack/H02_PlayerTalk/DTC0212_tagNotifyCode.cs 12 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
LogicProject/System/MergeServerActivity/MergeServerTurntableWin.cs 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
LogicProject/System/OpenServerActivity/GodKingRandomGiftWin.cs 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
LogicProject/System/TreasurePavilion/TreasurePavilionWin.cs 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/HappyXB/HappyXBModel.cs 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/KnapSack/Logic/ItemLogicUtility.cs 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/KnapSack/Logic/PackModel.cs 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/LoopAct/YunShi/YunShiXBActWin.cs 11 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Core/NetworkPackage/DTCFile/ServerPack/H02_PlayerTalk/DTC0212_tagNotifyCode.cs
@@ -1,17 +1,25 @@
using UnityEngine;
using System.Collections;
using vnxbqy.UI;
//02 12 代码提示#tagNotifyCode
public class DTC0212_tagNotifyCode : DtcBasic {
public class DTC0212_tagNotifyCode : DtcBasic
{
    public override void Done(GameNetPackBasic vNetPack) {
    public override void Done(GameNetPackBasic vNetPack)
    {
        base.Done(vNetPack);
        H0212_tagNotifyCode vNetData = vNetPack as H0212_tagNotifyCode;
        //抽奖时屏蔽 获得货币信息
        if (vNetData.Msg == "GetMoney" && ItemLogicUtility.Instance.hidePickItem)
            return;
        SysNotifyMgr.Instance.ReceiveNotifyCode(vNetData);
        DebugEx.Log(vNetData.Msg);
LogicProject/System/MergeServerActivity/MergeServerTurntableWin.cs
@@ -87,6 +87,7 @@
    protected override void OnPreOpen()
    {
        ItemLogicUtility.Instance.hidePickItem = true;
        model.OnOperationTimeUpdateEvent += operationTimeUpdateEvent;
        model.PlayerTurntableEvent += OnPlayerTurntableEvent;
        WindowCenter.Instance.windowAfterCloseEvent += WindowAfterCloseEvent;
@@ -102,6 +103,7 @@
    protected override void OnPreClose()
    {
        ItemLogicUtility.Instance.hidePickItem = false;
        model.OnOperationTimeUpdateEvent -= operationTimeUpdateEvent;
        model.PlayerTurntableEvent -= OnPlayerTurntableEvent;
        WindowCenter.Instance.windowAfterCloseEvent -= WindowAfterCloseEvent;
LogicProject/System/OpenServerActivity/GodKingRandomGiftWin.cs
@@ -95,6 +95,7 @@
    protected override void OnPreOpen()
    {
        ItemLogicUtility.Instance.hidePickItem = true;
        GodKingGiftModel.Instance.awardShowSetp = -1;
        GodKingGiftModel.Instance.selectedItems.Clear();
@@ -105,6 +106,7 @@
    protected override void OnPreClose()
    {
        ItemLogicUtility.Instance.hidePickItem = false;
        GodKingGiftModel.Instance.OnPlayerInfoEvent -= OnPlayerInfoEvent;
    }
LogicProject/System/TreasurePavilion/TreasurePavilionWin.cs
@@ -130,6 +130,7 @@
    protected override void OnPreOpen()
    {
        ItemLogicUtility.Instance.hidePickItem = true;
        TreasurePavilionModel.Instance.isWinOpen = true;
        model.PowerUpdate += PowerUpdate;
        scroller.OnRefreshCell += OnRefreshCell;
@@ -283,6 +284,7 @@
    protected override void OnPreClose()
    {
        ItemLogicUtility.Instance.hidePickItem = false;
        TreasurePavilionModel.Instance.isWinOpen = false;
        model.PowerUpdate -= PowerUpdate;
        scroller.OnRefreshCell -= OnRefreshCell;
System/HappyXB/HappyXBModel.cs
@@ -164,6 +164,15 @@
                        return true;
                    }
                    break;
                case HappXBTitle.YunShi1:
                case HappXBTitle.YunShi2:
                case HappXBTitle.YunShi3:
                case HappXBTitle.YunShi4:
                    if (ModelCenter.Instance.GetModelEx<YunShiXBActModel>().isSkipXB)
                    {
                        return true;
                    }
                    break;
            }
            XBNotifyParms.Add(new ArrayList(paramArray));
System/KnapSack/Logic/ItemLogicUtility.cs
@@ -917,13 +917,11 @@
        public event Action<PackType, string> PickItemEvent; //捡起的物品
        //用于过滤道具飘入表现 在不想出现物品飘动的界面 开启界面的时候设置true ,关闭界面设置false
        public bool hidePickItem = false;
        public void RefreshPickItem(PackType type, string itemIDStr)
        {
            if (WindowCenter.Instance.IsOpen("MergeServerTurntableWin") ||
                WindowCenter.Instance.IsOpen("GodKingRandomGiftWin"))
                return;
            if (WindowCenter.Instance.IsOpen("TreasurePavilionWin"))
            if (hidePickItem)
                return;
            if (!DTC0403_tagPlayerLoginLoadOK.finishedLogin) return;
System/KnapSack/Logic/PackModel.cs
@@ -179,6 +179,9 @@
        {
            if (key != "GetMoney") return;
            if (ItemLogicUtility.Instance.hidePickItem)
                return;
            if (WindowCenter.Instance.IsOpen("GodKingRandomGiftWin"))
            {
                return;
System/LoopAct/YunShi/YunShiXBActWin.cs
@@ -105,6 +105,7 @@
        protected override void OnPreOpen()
        {
            WindowCenter.Instance.uiRoot.eventSystem.enabled = true;
            ItemLogicUtility.Instance.hidePickItem = true;
            happyXBModel.RefreshXBTypeInfoAct += OnRefreshXBTypeInfoAct;
            model.PlayAnimationSync += OnPlaySyncAnimation;
            packModel.refreshItemCountEvent += OnRefreshItemCountEvent;
@@ -143,6 +144,7 @@
        protected override void OnPreClose()
        {
            ItemLogicUtility.Instance.hidePickItem = false;
            happyXBModel.RefreshXBTypeInfoAct -= OnRefreshXBTypeInfoAct;
            model.PlayAnimationSync -= OnPlaySyncAnimation;
            packModel.refreshItemCountEvent -= OnRefreshItemCountEvent;
@@ -151,6 +153,7 @@
        private void RefreshXBResult()
        {
            Display();
            if (model.isSkipXB)
            {
                ShowGetItem();
@@ -289,6 +292,7 @@
                transQian[i].transform.position = transStartQian[i].transform.position;
                transQian[i].transform.rotation = transStartQian[i].transform.rotation;
            }
            Display();
        }
        public void MoveAndDisappear()
@@ -477,6 +481,13 @@
            txtXBMany.text = Language.Get("YunShi07", funcSet.xbNums[1]);
            RefreshSkipUI();
            txtHasCnt.text = xbInfo.treasureCount.ToString();
            for (int i = 0; i < yunShiXBItems.Count; i++)
            {
                int gridIndex = i + 1;
                yunShiXBItems[i].Display(gridIndex);
            }
            for (int i = 0; i < model.AwardCellCount; i++)
            {
                if (i < list.Count)