少年修仙传客户端代码仓库
client_Wu Xijin
2019-01-10 610c8bf0c06412fd42f359d8d32c3526634aa8b1
Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts
4个文件已修改
27 ■■■■ 已修改文件
Core/GameEngine/Model/Player/Realm/RealmModel.cs 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/KnapSack/Logic/PackSendQuestMgr.cs 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Realm/RealmProgressBehaviour.cs 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/WindowJump/WindowJumpMgr.cs 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Core/GameEngine/Model/Player/Realm/RealmModel.cs
@@ -364,6 +364,18 @@
            UpdateRedpoint();
            beforeRealmPoint = PlayerDatas.Instance.extersion.realmPoint;
            serverInited = true;
            var realmPoint = PlayerDatas.Instance.extersion.realmPoint;
            var config = Config.Instance.Get<RealmConfig>(PlayerDatas.Instance.baseData.realmLevel);
            bool satisfyChallenge = false;
            if (config != null)
            {
                satisfyChallenge = realmPoint >= config.NeedPoint;
            }
            if (realmDungeonState && !satisfyChallenge)
            {
                realmDungeonState = false;
            }
        }
    }
}
System/KnapSack/Logic/PackSendQuestMgr.cs
@@ -9,7 +9,7 @@
{
    [XLua.LuaCallCSharp]
public class PackSendQuestMgr : Singleton<PackSendQuestMgr>
    {
        PlayerPackModel _playerPack;
        PlayerPackModel playerPack
@@ -689,8 +689,7 @@
                case 83:
                    var fashionModel = ModelCenter.Instance.GetModel<FashionDressModel>();
                    fashionModel.jumpFashionDress = useItemModel.chinItemModel.EffectValueA1;
                    WindowCenter.Instance.Open<RolePanel>(false,5);
                    return;
                    break;
            }
            if (useItemModel.itemId == 951)
            {
System/Realm/RealmProgressBehaviour.cs
@@ -55,7 +55,7 @@
                if (i == start)
                {
                    rect.anchoredPosition = new Vector2(m_StartRealmPositionx, 0);
                    leftRatio = (m_StartRealmPositionx + m_RealmStages[0].GetWidth(i) / 2) / m_ContainerPoint.rect.width;
                    leftRatio = (m_StartRealmPositionx + m_RealmStages[0].GetWidth(i)) / m_ContainerPoint.rect.width;
                }
                else
                {
@@ -69,7 +69,7 @@
                    rect.anchoredPosition = new Vector2(positionx, 0);
                    if (i == realmLevel)
                    {
                        leftRatio = (positionx + m_RealmStages[0].GetWidth(i) / 2) / m_ContainerPoint.rect.width;
                        leftRatio = (positionx + m_RealmStages[0].GetWidth(i)) / m_ContainerPoint.rect.width;
                    }
                }
                m_RealmStages[index].gameObject.SetActive(true);
@@ -86,7 +86,7 @@
                {
                    rect.pivot = middleCenter;
                    rect.anchoredPosition = new Vector2(m_EndRealmPositionx, 0);
                    rightRatio = Mathf.Abs(m_EndRealmPositionx) / m_ContainerPoint.rect.width;
                    rightRatio = Mathf.Abs(m_EndRealmPositionx - m_BigRealmBottomWidth / 2) / m_ContainerPoint.rect.width;
                }
                else
                {
@@ -101,7 +101,7 @@
                    rect.anchoredPosition = new Vector2(positionx, 0);
                    if (i == realmLevel + 1)
                    {
                        rightRatio = (Mathf.Abs(positionx) + m_RealmStages[0].GetWidth(i) / 2) / m_ContainerPoint.rect.width;
                        rightRatio = (Mathf.Abs(positionx) + m_RealmStages[0].GetWidth(i)) / m_ContainerPoint.rect.width;
                    }
                }
                m_RealmStages[index].gameObject.SetActive(true);
System/WindowJump/WindowJumpMgr.cs
@@ -136,6 +136,7 @@
            case JumpUIType.RoleFunc4:
            case JumpUIType.GatherSoul272:
            case JumpUIType.GatherSoul273:
            case JumpUIType.FashionDress280:
                SetJumpLogic<RolePanel>(_tagWinSearchModel.TABID);
                break;
            case JumpUIType.KnapSackFunc1:
@@ -1558,6 +1559,7 @@
    CrossServerOneVsOne277 = 277, //跨服赛季段位奖励界面
    CrossServerOneVsOne278 = 278, //跨服赛季赛季奖励界面
    CrossServerOneVsOne279 = 279, //跨服赛季荣誉商店界面
    FashionDress280 = 280, //时装功能界面
    DhszTs = 1001,//定海神针功法提升界面
    HyqTs = 1002,//皓月枪功法提升界面
    GyzTs = 1003,//鬼牙刃功法提升界面