| | |
| | | |
| | | public string GetChatTabName(ChatTab chatTab) |
| | | { |
| | | return Language.Get(StringUtility.Contact("ChatTab", ((int)chatTab).ToString())); |
| | | return Language.Get(StringUtility.Concat("ChatTab", ((int)chatTab).ToString())); |
| | | } |
| | | |
| | | public string GetChatTabSelectIcon(ChatTab chatTab, bool isSelect) |
| | | { |
| | | return StringUtility.Contact(isSelect ? "ChatTabSelect" : "ChatTabUnSelect", ((int)chatTab).ToString()); |
| | | return StringUtility.Concat(isSelect ? "ChatTabSelect" : "ChatTabUnSelect", ((int)chatTab).ToString()); |
| | | } |
| | | #endregion |
| | | #region 弹幕设置 |
| | | |
| | | private Dictionary<ChatChannel, bool> bulletSettingDict = new Dictionary<ChatChannel, bool>(); |
| | | |
| | | private string settingsKey { get { return StringUtility.Contact("BulletChatSettings_", PlayerDatas.Instance.PlayerId.ToString()); } } |
| | | private string settingsKey { get { return StringUtility.Concat("BulletChatSettings_", PlayerDatas.Instance.PlayerId.ToString()); } } |
| | | |
| | | // 设置特定频道的弹幕开关状态 |
| | | public void SetBulletSetting(ChatChannel channelType, bool isEnabled) |