少年修仙传客户端代码仓库
client_linchunjie
2019-05-17 8a8805a32a9a9b0880ba2e730c9a23daf87c7d59
Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts
4个文件已修改
24 ■■■■■ 已修改文件
System/Debug/DebugUtility.cs 16 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/GeneralConfig/GeneralDefine.cs 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/KnapSack/BetterItemGetBehaviour.cs 4 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/MainInterfacePanel/MainInterfaceWin.cs 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Debug/DebugUtility.cs
@@ -46,12 +46,18 @@
        if (debugAccount)
        {
            var parentDirectory = Directory.GetParent(Application.persistentDataPath);
            var content = File.ReadAllText(parentDirectory + "/Debug");
            if (!string.IsNullOrEmpty(content))
            if (Application.isMobilePlatform)
            {
                var json = JsonMapper.ToObject<DebugBranch>(File.ReadAllText(parentDirectory + "/Debug"));
                debugBranch = json.branch;
                var parentDirectory = Directory.GetParent(Application.persistentDataPath);
                if (File.Exists(parentDirectory + "/Debug"))
                {
                    var content = File.ReadAllText(parentDirectory + "/Debug");
                    if (!string.IsNullOrEmpty(content))
                    {
                        var json = JsonMapper.ToObject<DebugBranch>(File.ReadAllText(parentDirectory + "/Debug"));
                        debugBranch = json.branch;
                    }
                }
            }
        }
System/GeneralConfig/GeneralDefine.cs
@@ -192,11 +192,13 @@
    public static List<int> equipDecomposeScreen = new List<int>();
    public static Dictionary<int, float> AtkTypeIncreasePushDis = new Dictionary<int, float>();
    public static Dictionary<int, CameraController.LookAtData> NpcDieSetCamera = new Dictionary<int, CameraController.LookAtData>();
    public static int BlueEquipJumpLevel { get; private set; }
    public static void Init()
    {
        try
        {
            BlueEquipJumpLevel = GetInt("BlueEquipJumpLevel");
            initDepotGridCount = GetInt("InitDepotCellCount");
            maxDepotGridCount = GetInt("MaxDepotCellCount");
            initBagGridCount = GetInt("InitBagCellCount");
System/KnapSack/BetterItemGetBehaviour.cs
@@ -26,7 +26,6 @@
        [SerializeField] Button m_Puton;
        [SerializeField] Button m_BetterEquipDetail;
        PackModel playerPack { get { return ModelCenter.Instance.GetModel<PackModel>(); } }
        BetterEquipGetModel model { get { return ModelCenter.Instance.GetModel<BetterEquipGetModel>(); } }
        EquipModel equipModel { get { return ModelCenter.Instance.GetModel<EquipModel>(); } }
@@ -115,7 +114,8 @@
            }
            else
            {
                if (itemConfig.ItemColor >= 3)
                if ((PlayerDatas.Instance.baseData.LV < GeneralDefine.BlueEquipJumpLevel && itemConfig.ItemColor >= 2)
                    || itemConfig.ItemColor >= 3)
                {
                    playerPack.SetLookIndex(betterEquip.guid);
                    WindowCenter.Instance.Close<MainInterfaceWin>();
System/MainInterfacePanel/MainInterfaceWin.cs
@@ -451,7 +451,7 @@
            if (FunctionalGuideCenter.Instance.IsAreaNeedUnflod(2))
            {
                m_MainPositionTween.SwitchFunctions(new MainPositionTween.SwitchParam() { showDefault = true, immediately = false });
                m_MainPositionTween.SwitchFunctions(new MainPositionTween.SwitchParam() { showDefault = false, immediately = false });
                m_HighSettingFadeInFadeOut.SwitchImmedidately(true);
            }
        }