hch
22 小时以前 0333a7ba48bb5c5c28d8eaf1d94e5dd6d990534f
Main/System/Message/RichTextMgr.cs
@@ -153,7 +153,20 @@
    public bool ExecuteEvent(RichTextEventEnum type,HrefInfo href)
    {
        return m_RichEvents[type].Execute(type,href);
        if (m_RichEvents == null || !m_RichEvents.ContainsKey(type))
        {
            Debug.LogWarning($"RichTextMgr: Event type {type} not registered");
            return false;
        }
        var evt = m_RichEvents[type];
        if (evt == null)
        {
            Debug.LogWarning($"RichTextMgr: Event handler for {type} is null");
            return false;
        }
        return evt.Execute(type, href);
    }
    public string GetDisplay(RichTextEventEnum type,Dictionary<string,string> dic)