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; } }