yyl
2025-12-04 2636bf475c8b4b03ee869a5db2f5fdd891ed9f97
Main/System/PhantasmPavilion/ChatBubbleHelper.cs
@@ -1,20 +1,18 @@
public static class ChatBubbleHelper
{
    public static int GetOtherChatBubbleID(int nowID)
    public static int GetOtherChatBubbleID(int job, int nowID)
    {
        return 0;//PhantasmPavilionModel.Instance.GetNowOtherChatBubbleID(nowID);
        int defaultID = GetChatBubbleDefaultID(job);
        return ChatBubbleBoxConfig.HasKey(nowID) ? nowID : defaultID;
    }
    public static int GetMyChatBubbleID()
    {
        return 0;//PhantasmPavilionModel.Instance.GetNowChatBubbleID();
        return PhantasmPavilionManager.Instance.TryGetNowShowID(PhantasmPavilionType.ChatBox, out int defaultID) ? defaultID : 0;
    }
    public static int GetChatBubbleDefaultID()
    public static int GetChatBubbleDefaultID(int job)
    {
        // PhantasmPavilionModel.Instance.TryGetDefaultID(PhantasmPavilionTab.ChatBubble, 0, out int defaultID);
        return 0;//defaultID;
        return PhantasmPavilionManager.Instance.TryGetDefaultID(PhantasmPavilionType.ChatBox, job, out int defaultID) ? defaultID : 0;
    }
}