lcy
2025-12-03 b9a6e7e896b451e9c915e782a1789b2afe079cc9
Main/System/PhantasmPavilion/PhantasmPavilionManager.cs
@@ -289,6 +289,33 @@
        }
    }
    public void ShowChatBox(ImageEx imgFace, UIFrame uiFrame, int resourceType, string resourceValue)
    {
        switch (resourceType)
        {
            // 静态图
            case 1:
                imgFace.enabled = true;
                uiFrame.enabled = false;
                if (!IconConfig.HasKey(resourceValue))
                    return;
                imgFace.SetSprite(resourceValue);
                break;
            // 序列帧
            case 3:
                imgFace.enabled = true;
                uiFrame.enabled = true;
                imgFace.sprite = null;
                imgFace.overrideSprite = null;
                if (!UIFrameMgr.Inst.ContainsDynamicImage(resourceValue))
                    break;
                uiFrame.ResetFrame(resourceValue);
                uiFrame.enabled = true;
                break;
        }
    }
    public bool TryGetInfo(PhantasmPavilionType type, int id, out PhantasmPavilionData info)
    {
        info = null;