temu客户端程序
This commit is contained in:
commit
4aaf264e89
694 files changed
+263780
No files matched your search
@@ -0,0 +1,27 @@
|
||||
using LittleRabbit.ChatForms.ChatModel;
|
||||
using NaiBa.Util;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace LittleRabbit.ChatForms.ChatHelper
|
||||
{
|
||||
public class ChatConfig
|
||||
{
|
||||
public static ChatSettingsParam ChatSettingConfig { get; set; }
|
||||
|
||||
public static void LoadChatSetting()
|
||||
{
|
||||
ChatConfig.ChatSettingConfig = NaiBa.Util.Helper.ConfigHelper.LoadConfig<ChatSettingsParam>("chat_setting");
|
||||
if (ChatConfig.ChatSettingConfig == null)
|
||||
ChatConfig.ChatSettingConfig = new ChatSettingsParam();
|
||||
}
|
||||
|
||||
public static void SaveChatSettingParam()
|
||||
{
|
||||
NaiBa.Util.Helper.ConfigHelper.SaveConfig("chat_setting", ChatConfig.ChatSettingConfig);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user