syssmssetting.cs

来自「破解的飞信源代码」· CS 代码 · 共 61 行

CS
61
字号
namespace Imps.Client.Core
{
    using System;

    public class SysSmsSetting
    {
        private Imps.Client.Core.SystemSetting _systemSetting;

        internal SysSmsSetting(Imps.Client.Core.SystemSetting systemSetting)
        {
            this._systemSetting = systemSetting;
        }

        [ConfigCategory(ConfigCategory.LocalFixed)]
        public int MaxFriendsNumBatchSms
        {
            get
            {
                return this._systemSetting.GetPropertyValue<int>("batch-sms-max-receivers", 0x10);
            }
        }

        [ConfigCategory(ConfigCategory.System)]
        public int MaxMsgLenOnline
        {
            get
            {
                return this._systemSetting.GetPropertyValue<int>("max-msg-length");
            }
        }

        [ConfigCategory(ConfigCategory.System)]
        public int MaxMsgLenSmsOnline
        {
            get
            {
                return this._systemSetting.GetPropertyValue<int>("max-sms-length");
            }
        }

        [ConfigCategory(ConfigCategory.System)]
        public int MaxSmsNumPerMsg
        {
            get
            {
                return this._systemSetting.GetPropertyValue<int>("max-msg-convert-sms");
            }
        }

        [ConfigCategory(ConfigCategory.System)]
        public int MaxUnicodeSmsLen
        {
            get
            {
                return this._systemSetting.GetPropertyValue<int>("max-sms-unicode");
            }
        }
    }
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?