public static int GetDefault() { int @int = SysConfigID.GetInt(16); if (@int == 1) { return(200); } if (@int == 2) { return(250); } if (@int == 3) { return(300); } return(200); }
public static void Init() { SystemConfig.LogSetting(SysConfigID.GetBool(1)); SystemConfig.IsTargetFrameRateOn = SysConfigID.GetBool(2); SystemConfig.IsDebugInfoOn = SysConfigID.GetBool(3); SystemConfig.IsDebugPing = SysConfigID.GetBool(4); QualitySettings.set_antiAliasing(SysConfigID.GetInt(5)); SystemConfig.IsPostProcessOn = SysConfigID.GetBool(6); SystemConfig.IsSelfSyncPointFlagOn = SysConfigID.GetBool(7); SystemConfig.IsPetAndMonsterSyncPointFlagOn = SysConfigID.GetBool(8); SystemConfig.IsShowMonsterDir = SysConfigID.GetBool(9); SystemConfig.IsReleaseResourceOn = SystemConfig.CheckIsReleaseResourceOn(SysConfigID.GetInt(10)); SystemConfig.IsBattleGMOn = SysConfigID.GetBool(12); SystemConfig.IsSetHardwareResolutionOn = SysConfigID.GetBool(13); SystemConfig.PP_MotionBlurOn = SysConfigID.GetBool(14); SystemConfig.PP_BloomOn = SysConfigID.GetBool(15); SystemConfig.IsVoiceTalkOn = SysConfigID.GetBool(17); SettingManager.Instance.ReadSetting(); }
public static bool GetBool(int id) { return(SysConfigID.GetInt(id) != 0); }