hch
2026-04-09 a50e9cd8a2c75bb9da69a274b0b5015f423a91b7
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;
    }
}