예제 #1
0
        public static bool IsLogFile()
        {
            bool bLogFile = (SystemData.GetInt("OtherSetting", "LogFile", 0) == 0 ? false : true);

            return(bLogFile);
        }
예제 #2
0
        public static int GetProcGuideGood(bool isBoy)
        {
            int goodType = (isBoy ? SystemData.GetInt("ProcGuide", "MaleGood", 0) : SystemData.GetInt("ProcGuide", "FemaleGood", 0));

            return(goodType);
        }
예제 #3
0
 public static int GetClothEffectLevel(string effectLevel)
 {
     return(SystemData.GetInt("ClothParticleEffect", effectLevel, -1));
 }
예제 #4
0
        public static bool IsShowFrame()
        {
            bool bShowFrame = (SystemData.GetInt("OtherSetting", "ShowFrame", 0) == 0 ? false : true);

            return(bShowFrame);
        }
예제 #5
0
 public static int GetPhotoWallUploadPort(int def)
 {
     return(SystemData.GetInt("PhotoWall", "uploadPort", def));
 }
예제 #6
0
 public static bool IsExtraDownLoadOpened()
 {
     return(SystemData.GetInt("ExtraDownLoad", "openExtraDownLoad", 0) == 1);
 }
예제 #7
0
        /// <summary>
        /// 友盟开关
        /// </summary>
        public static bool IsUmengOpened()
        {
            bool bUmengOpened = (SystemData.GetInt("UmengSetting", "openUmeng", 0) == 0 ? false : true);

            return(bUmengOpened);
        }
예제 #8
0
        //充值开关
        public static bool IsOpenCharge()
        {
            bool bOpenCharge = (SystemData.GetInt("ChargeSetting", "openCharge", 1) == 0 ? false : true);

            return(bOpenCharge);
        }
예제 #9
0
        public static bool IsShowAccountMgr()
        {
            bool bShowAccountMgr = (SystemData.GetInt("OtherSetting", "ShowAccountMgr", 0) == 0 ? false : true);

            return(bShowAccountMgr);
        }