hch
2026-01-26 aa84cb62bebb9c8a4e586bcc1ec28eb7a16a8860
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
public static class ChatBubbleHelper
{
    public static int GetOtherChatBubbleID(int job, int nowID)
    {
        int defaultID = GetChatBubbleDefaultID(job);
        return ChatBubbleBoxConfig.HasKey(nowID) ? nowID : defaultID;
    }
 
    public static int GetMyChatBubbleID()
    {
        return PhantasmPavilionManager.Instance.TryGetNowShowID(PhantasmPavilionType.ChatBox, out int defaultID) ? defaultID : 0;
    }
 
    public static int GetChatBubbleDefaultID(int job)
    {
        return PhantasmPavilionManager.Instance.TryGetDefaultID(PhantasmPavilionType.ChatBox, job, out int defaultID) ? defaultID : 0;
    }
}