少年修仙传客户端代码仓库
client_Zxw
2018-11-16 7769ee402e45b8744293213d930b29ad14244fcf
4714 【1.3】【前端】新的洗练副本-冰晶矿脉(新),原冰晶矿脉副本删除
5个文件已修改
4个文件已添加
113 ■■■■■ 已修改文件
Core/GameEngine/DataToCtl/PackageRegedit.cs 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Core/NetworkPackage/DTCFile/ServerPack/HB2_ActionMap/DTCB204_tagMCIceLodeInfo.cs 20 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Core/NetworkPackage/DTCFile/ServerPack/HB2_ActionMap/DTCB204_tagMCIceLodeInfo.cs.meta 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Core/NetworkPackage/ServerPack/HB2_ActionMap/HB204_tagMCIceLodeInfo.cs 25 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Core/NetworkPackage/ServerPack/HB2_ActionMap/HB204_tagMCIceLodeInfo.cs.meta 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Dungeon/IceCrystalVeinModel.cs 35 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Dungeon/IceCrystalVeinWin.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Vip/VipInvest/RotatePointer.cs 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
Utility/EnumHelper.cs 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Core/GameEngine/DataToCtl/PackageRegedit.cs
@@ -394,6 +394,7 @@
        Register(typeof(HAA19_tagMCActWishingWellInfo), typeof(DTCAA19_tagMCActWishingWellInfo));
        Register(typeof(HAA1A_tagMCActWishingWellPlayerInfo), typeof(DTCAA1A_tagMCActWishingWellPlayerInfo));
        Register(typeof(HAA1B_tagMCActWishingDragResult), typeof(DTCAA1B_tagMCActWishingDragResult));
        Register(typeof(HB204_tagMCIceLodeInfo), typeof(DTCB204_tagMCIceLodeInfo));
    }
    private static void Register(Type _pack, Type _business)
Core/NetworkPackage/DTCFile/ServerPack/HB2_ActionMap/DTCB204_tagMCIceLodeInfo.cs
New file
@@ -0,0 +1,20 @@
using UnityEngine;
using System.Collections;
using Snxxz.UI;
// B2 04 冰晶矿脉信息通知 #tagMCIceLodeInfo
public class DTCB204_tagMCIceLodeInfo : DtcBasic {
    IceCrystalVeinModel m_IceCrystalVeinModel;
    IceCrystalVeinModel iceCrystalVeinModel { get { return m_IceCrystalVeinModel ?? (m_IceCrystalVeinModel = ModelCenter.Instance.GetModel<IceCrystalVeinModel>()); } }
    public override void Done(GameNetPackBasic vNetPack) {
        base.Done(vNetPack);
        HB204_tagMCIceLodeInfo vNetData = vNetPack as HB204_tagMCIceLodeInfo;         if (vNetData == null)
        {
            return;
        }
        iceCrystalVeinModel.IceLodeInfo(vNetData);
    }
}
Core/NetworkPackage/DTCFile/ServerPack/HB2_ActionMap/DTCB204_tagMCIceLodeInfo.cs.meta
New file
@@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: 0b79e9e1cde343745ab003b2f5b30af4
timeCreated: 1542336363
licenseType: Free
MonoImporter:
  serializedVersion: 2
  defaultReferences: []
  executionOrder: 0
  icon: {instanceID: 0}
  userData:
  assetBundleName:
  assetBundleVariant:
Core/NetworkPackage/ServerPack/HB2_ActionMap/HB204_tagMCIceLodeInfo.cs
New file
@@ -0,0 +1,25 @@
using UnityEngine;
using System.Collections;
// B2 04 冰晶矿脉信息通知 #tagMCIceLodeInfo
public class HB204_tagMCIceLodeInfo : GameNetPackBasic {
    public byte Cnt;    // 今日玩法数量
    public  byte[] LineList;    // 玩法列表
    public uint AwardRecord;    // 领奖记录
    public byte HasSweep;    // 是否已扫荡
    public ushort DayLV;    // 今日等级
    public HB204_tagMCIceLodeInfo () {
        _cmd = (ushort)0xB204;
    }
    public override void ReadFromBytes (byte[] vBytes) {
        TransBytes (out Cnt, vBytes, NetDataType.BYTE);
        TransBytes (out LineList, vBytes, NetDataType.BYTE, Cnt);
        TransBytes (out AwardRecord, vBytes, NetDataType.DWORD);
        TransBytes (out HasSweep, vBytes, NetDataType.BYTE);
        TransBytes (out DayLV, vBytes, NetDataType.WORD);
    }
}
Core/NetworkPackage/ServerPack/HB2_ActionMap/HB204_tagMCIceLodeInfo.cs.meta
New file
@@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: 7f43cb4092c60ca41b75bee640e2e10d
timeCreated: 1542336363
licenseType: Free
MonoImporter:
  serializedVersion: 2
  defaultReferences: []
  executionOrder: 0
  icon: {instanceID: 0}
  userData:
  assetBundleName:
  assetBundleVariant:
System/Dungeon/IceCrystalVeinModel.cs
@@ -25,7 +25,11 @@
public class IceCrystalVeinModel : Model, IBeforePlayerDataInitialize, IPlayerLoginOk
{
    public Dictionary<int, IceLodeStarAwardClass> DicIceLodeStarAward = new Dictionary<int, IceLodeStarAwardClass>();
    public List<int> LineList = new List<int>();//玩法列表
    public int AwardRecord = 0;//领奖记录
    public int HasSweep = 0;//是否已扫荡
    public int DayLv = 0;//今日等级
    public event Action UpdateIceLodeInf;
    public override void Init()
    {
        Assignment();
@@ -76,6 +80,35 @@
       
        
    }
    public void IceLodeInfo(HB204_tagMCIceLodeInfo info)
    {
        if (info.Cnt > 0)
        {
            LineList.Clear();
            for (int i = 0; i < info.Cnt; i++)
            {
                LineList.Add(info.LineList[i]);
            }
        }
        AwardRecord = (int)info.AwardRecord;
        HasSweep = (int)info.HasSweep;
        DayLv = (int)info.DayLV;
        if (UpdateIceLodeInf != null)
        {
            UpdateIceLodeInf();
        }
    }
    public void SendGetAward(int Index)
    {
        CA504_tagCMPlayerGetReward getReward = new CA504_tagCMPlayerGetReward();
        getReward.RewardType = (byte)GotServerRewardType.Def_RewardType_IceLodeStar;
        getReward.DataEx = (uint)Index;
        getReward.DataExStrLen = 0;
        getReward.DataExStr = string.Empty;
        GameNetSystem.Instance.SendInfo(getReward);
    }
}
System/Dungeon/IceCrystalVeinWin.cs
@@ -177,7 +177,7 @@
            foreach (var key in iceCrystalVeinModel.DicIceLodeStarAward.Keys)
            {
                var Dic = iceCrystalVeinModel.DicIceLodeStarAward[key];
                int Lv = PlayerDatas.Instance.baseData.LV;
                int Lv = iceCrystalVeinModel.DayLv;
                if (Lv >= Dic.MinLv && Lv <= Dic.MaxLv)
                {
                    IceLodeStarAwardList.Add(Dic);
System/Vip/VipInvest/RotatePointer.cs
@@ -27,6 +27,8 @@
        public float MinSpeed = 400;
        [Header("最大速度")]
        public float MaxSpeed = 800;
        [Header("最大速度")]
        public float _Speed = 1f;
        WheelOfFortuneModel wheelOfFortuneModel { get { return ModelCenter.Instance.GetModel<WheelOfFortuneModel>(); } }
        [SerializeField] CheckDisplay m_CheckDisplay;
@@ -102,7 +104,7 @@
                    //这里有个360,使用来防止指针回转的,如果不加这个360,你会看到指针倒退
                    sequence = DOTween.Sequence();
                    sequence.SetAutoKill(false);
                    sequence.Append(transform.DORotate(new Vector3(0, 0, -(360 + Angle)), 2f, RotateMode.FastBeyond360));
                    sequence.Append(transform.DORotate(new Vector3(0, 0, -(360 + Angle)), _Speed, RotateMode.FastBeyond360));
                    sequence.AppendCallback(() =>
                    {
                        _isRotate = false; // 设置不旋转
Utility/EnumHelper.cs
@@ -1174,6 +1174,8 @@
    Def_RewardType_WishingWell = 16,//  许愿池奖励16
    Def_RewardType_OpenFunc = 17,//功能预告奖励
    Def_RewardType_TotalRecharge = 18,//累计充值奖励
    Def_RewardType_IceLodeStar, //冰晶矿脉星级奖励19
}
public enum MapType