コード例 #1
0
ファイル: SystemSetting.cs プロジェクト: happylays/tbb2
        public static bool IsLogFile()
        {
            bool bLogFile = (SystemData.GetInt("OtherSetting", "LogFile", 0) == 0 ? false : true);

            return(bLogFile);
        }
コード例 #2
0
ファイル: SystemSetting.cs プロジェクト: happylays/tbb2
        public static int GetProcGuideGood(bool isBoy)
        {
            int goodType = (isBoy ? SystemData.GetInt("ProcGuide", "MaleGood", 0) : SystemData.GetInt("ProcGuide", "FemaleGood", 0));

            return(goodType);
        }
コード例 #3
0
ファイル: SystemSetting.cs プロジェクト: happylays/tbb2
 public static int GetClothEffectLevel(string effectLevel)
 {
     return(SystemData.GetInt("ClothParticleEffect", effectLevel, -1));
 }
コード例 #4
0
ファイル: SystemSetting.cs プロジェクト: happylays/tbb2
        public static bool IsShowFrame()
        {
            bool bShowFrame = (SystemData.GetInt("OtherSetting", "ShowFrame", 0) == 0 ? false : true);

            return(bShowFrame);
        }
コード例 #5
0
ファイル: SystemSetting.cs プロジェクト: happylays/tbb2
 public static int GetPhotoWallUploadPort(int def)
 {
     return(SystemData.GetInt("PhotoWall", "uploadPort", def));
 }
コード例 #6
0
ファイル: SystemSetting.cs プロジェクト: happylays/tbb2
 public static bool IsExtraDownLoadOpened()
 {
     return(SystemData.GetInt("ExtraDownLoad", "openExtraDownLoad", 0) == 1);
 }
コード例 #7
0
ファイル: SystemSetting.cs プロジェクト: happylays/tbb2
        /// <summary>
        /// 友盟开关
        /// </summary>
        public static bool IsUmengOpened()
        {
            bool bUmengOpened = (SystemData.GetInt("UmengSetting", "openUmeng", 0) == 0 ? false : true);

            return(bUmengOpened);
        }
コード例 #8
0
ファイル: SystemSetting.cs プロジェクト: happylays/tbb2
        //充值开关
        public static bool IsOpenCharge()
        {
            bool bOpenCharge = (SystemData.GetInt("ChargeSetting", "openCharge", 1) == 0 ? false : true);

            return(bOpenCharge);
        }
コード例 #9
0
ファイル: SystemSetting.cs プロジェクト: happylays/tbb2
        public static bool IsShowAccountMgr()
        {
            bool bShowAccountMgr = (SystemData.GetInt("OtherSetting", "ShowAccountMgr", 0) == 0 ? false : true);

            return(bShowAccountMgr);
        }