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