| | |
| | | public StringBuilder m_EncodeBuilder = new StringBuilder();
|
| | | void ParseConfig()
|
| | | {
|
| | | chatCharacterLimit = int.Parse(Config.Instance.Get<FuncConfigConfig>("MessageLength").Numerical1);
|
| | | var _funcCfg = Config.Instance.Get<FuncConfigConfig>("BugleItem");
|
| | | chatCharacterLimit = int.Parse(FuncConfigConfig.Get("MessageLength").Numerical1);
|
| | | var _funcCfg = FuncConfigConfig.Get("BugleItem");
|
| | | bugleItem = int.Parse(_funcCfg.Numerical1);
|
| | | chatChannels = new List<ChatInfoType>();
|
| | | chatChannels.Add(ChatInfoType.System);
|
| | |
| | | chatChannels.Add(ChatInfoType.Fairy);
|
| | | chatChannels.Add(ChatInfoType.Friend);
|
| | |
|
| | | var config = Config.Instance.Get<FuncConfigConfig>("ClientChatBan");
|
| | | var config = FuncConfigConfig.Get("ClientChatBan");
|
| | | banCheckSecond = int.Parse(config.Numerical1);
|
| | | repeatCountLimit = int.Parse(config.Numerical2);
|
| | | maliceCheckCount = int.Parse(config.Numerical3);
|
| | |
| | | singleBanSecond = array[0];
|
| | | maxBanSecond = array[1];
|
| | |
|
| | | config = Config.Instance.Get<FuncConfigConfig>("LocalChatHistoryCount");
|
| | | config = FuncConfigConfig.Get("LocalChatHistoryCount");
|
| | | if (config != null)
|
| | | {
|
| | | LocalChatHistory.localSaveCount = int.Parse(config.Numerical1);
|
| | |
| | | try
|
| | | {
|
| | | var model = ModelCenter.Instance.GetModel<DungeonModel>();
|
| | | var realmConfig = Config.Instance.Get<RealmConfig>(realmModel.cacheRealmLv);
|
| | | var realmConfig = RealmConfig.Get(realmModel.cacheRealmLv);
|
| | | if (model.dungeonResult.leaderID == PlayerDatas.Instance.baseData.PlayerID
|
| | | && realmConfig != null && realmConfig.IsBigRealm == 1)
|
| | | {
|