| | |
| | | RichTextMgr.Inst.RegisterEvent(RichTextEventEnum.COPY, this);
|
| | | RichTextMgr.Inst.RegisterEvent(RichTextEventEnum.GUIDE, this);
|
| | | RichTextMgr.Inst.RegisterEvent(RichTextEventEnum.XJDHServerIDRangeInfo, this);
|
| | | RichTextMgr.Inst.RegisterEvent(RichTextEventEnum.FairySiegeStorySkip, this);
|
| | | }
|
| | |
|
| | | public override bool Execute(RichTextEventEnum type, RichTextMgr.HrefInfo href)
|
| | |
| | | FuncRules.OpenFuncTip(Language.Get("L2015"), act.m_ServerListStr);
|
| | | }
|
| | | break;
|
| | | case RichTextEventEnum.FairySiegeStorySkip:
|
| | | {
|
| | | var info = href.mSplits["fairysiegestoryskip"];
|
| | | bool isFairySiegeStoryPlaying = ModelCenter.Instance.GetModel<FairySiegeActModel>().isFairySiegeStoryPlaying;
|
| | | if (isFairySiegeStoryPlaying)
|
| | | {
|
| | | ModelCenter.Instance.GetModel<FairySiegeActModel>().fairySiegeStoryShowAllAction?.Invoke();
|
| | | }
|
| | | else
|
| | | {
|
| | | ModelCenter.Instance.GetModel<FairySiegeActModel>().fairySiegeStoryExitAction?.Invoke();
|
| | | }
|
| | | }
|
| | | break;
|
| | | }
|
| | | return false;
|
| | | }
|