少年修仙传客户端代码仓库
10331 【越南】【英语】【BT】【砍树】境界修改 - 超链接增加引导功能;境界引导天星塔未开启给提示;打怪引导增加功能开启前后配置
4个文件已修改
30 ■■■■■ 已修改文件
System/Message/HrefAnalysis.cs 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Message/RichEvent.cs 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Message/RichNormalEvent.cs 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Realm/RealmModel.cs 16 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Message/HrefAnalysis.cs
@@ -370,6 +370,12 @@
                        presentHrefInfo.Add(split_value, array[1]);
                    }
                    break;
                case "startguide":
                    {
                        presentHrefInfo.mEvents.Add(RichTextEventEnum.GUIDE);
                        presentHrefInfo.Add(split_value, array[1]);
                    }
                    break;
                default:
                    {
                        presentHrefInfo.Add(split_value, array[1]);
System/Message/RichEvent.cs
@@ -34,4 +34,5 @@
    BLSOS,//福地摇人
    GSZD,//古神战场组队
    COPY,//复制
    GUIDE,//引导
}
System/Message/RichNormalEvent.cs
@@ -27,6 +27,7 @@
        RichTextMgr.Inst.RegisterEvent(RichTextEventEnum.BLSOS, this);
        RichTextMgr.Inst.RegisterEvent(RichTextEventEnum.GSZD, this);
        RichTextMgr.Inst.RegisterEvent(RichTextEventEnum.COPY, this);
        RichTextMgr.Inst.RegisterEvent(RichTextEventEnum.GUIDE, this);
    }
    public override bool Execute(RichTextEventEnum type, RichTextMgr.HrefInfo href)
@@ -274,6 +275,12 @@
                    ynmbxxjUtil.Instance.CopyContent(info);
                }
                break;
            case RichTextEventEnum.GUIDE:
                {
                    var info = href.mSplits["startguide"];
                    NewBieCenter.Instance.StartNewBieGuideEx(int.Parse(info));
                }
                break;
        }
        return false;
    }
System/Realm/RealmModel.cs
@@ -958,6 +958,22 @@
                    else
                        guideIndex = 3;
                }
                else if (type == 2)
                {
                    if (!FuncOpen.Instance.IsFuncOpen(164, true))
                    {
                        return;
                    }
                }
                else if (type == 3)
                {
                    if (FuncOpen.Instance.IsFuncOpen(108))
                    {
                        guideIndex = 1;
                    }
                }
                else if (type == 4)
                {
                    if (worldBossModel.GetWorldBossRemainCount() == 0)