2using System.Collections.Generic;
4using System.Text.RegularExpressions;
10[JsonObject(MemberSerialization.OptOut)]
102 public float[]
listZoom =
new float[7] { 0.125f, 0.25f, 0.5f, 0.75f, 1f, 1.5f, 2f };
465 bool flag = row.lang ==
"JP" || row.lang ==
"CN";
467 if (langCode ==
"JP" || langCode ==
"CN")
486 if (langCode ==
"JP" || langCode ==
"CN")
495 return Regex.IsMatch(text,
"[\\p{IsHiragana}\\p{IsKatakana}\\p{IsCJKUnifiedIdeographs}]+");
637 public HashSet<string>
helpFlags =
new HashSet<string>();
690 coreConfig.game.numBackup = 5;
691 coreConfig.game.backupInterval = 8;
692 coreConfig.game.autoBackup =
true;
696 coreConfig.test.extraToneMTP = 1;
700 coreConfig.graphic.floorEx =
true;
704 coreConfig.game.tutorial =
true;
708 coreConfig.ui.balloonBG =
true;
712 coreConfig.input.keys.chat.key = KeyCode.Return;
719 return v.minor >= 22;
726 Debug.Log(
"Creating new config.");
736 coreConfig.other.showTestOptions =
true;
737 coreConfig.test.showNumbers =
true;
738 coreConfig.game.waiter = 0;
739 coreConfig.game.advancedMenu =
true;
763 EClass.core.config.rewardCode = text2;
769 EClass.core.config.ui = coreConfig.
ui;
770 EClass.core.config.font = coreConfig.
font;
771 EClass.core.config.sound = coreConfig.
sound;
779 EClass.core.config.graphic = coreConfig.
graphic;
787 EClass.core.config.game = coreConfig.
game;
788 EClass.core.config.net = coreConfig.
net;
789 EClass.core.config.backer = coreConfig.
backer;
796 EClass.core.config.input = coreConfig.
input;
797 EClass.core.config.camera = coreConfig.
camera;
804 EClass.core.config.fix = coreConfig.
fix;
805 EClass.core.config.other = coreConfig.
other;
812 EClass.core.config.test = coreConfig.
test;
845 IO.SaveFile(
path,
this, compress:
false, IO.jsWriteConfig);
861 QualitySettings.vSyncCount = 1;
862 Application.targetFrameRate = 60;
866 QualitySettings.vSyncCount = 0;
872 QualitySettings.vSyncCount = 0;
873 Application.targetFrameRate = 60;
900 CharaRenderer._animeFramePC = (camera.smoothMove ? 6000 :
camera.
moveframe);
901 Scene.skipAnime =
true;
902 QualitySettings.maxQueuedFrames = 0;
906 EInput.buttonScroll = (game.rightScroll ? EInput.rightMouse :
EInput.
middleMouse);
932 float num = (float)
ui.
scale * 0.05f;
936 float b = num + 0.05f;
937 num = 0.01f * (float)Mathf.RoundToInt(Mathf.Lerp(a, b, (
float)Screen.height / 1080f) * 100f);
941 float num2 = (float)Screen.width / (
float)
EClass.
core.
ui.minWidth;
947 Debug.Log(
"#UI ApplyScale:" + num);
976 grading.userSaturation = graphic.saturation + postEffectProfile.
Saturation;
977 grading.userBrightness = graphic.brightness + postEffectProfile.
Brightness;
978 grading.userContrast = graphic.contrast + postEffectProfile.
Contrast;
979 camSupport.beautify.saturate = graphic.vibrance + grading.profile.Vibrance;
981 camSupport.blur.enabled = graphic.blur > 0;
982 camSupport.blur.Amount = 0.01f * (float)
graphic.
blur;
1008 Shader.SetGlobalFloat(
"_UIBrightness", 0.01f * (
float)
ui.
brightness + grading.profile.uiBrightness + num);
1009 Shader.SetGlobalFloat(
"_UIContrast", 0.01f * (
float)
ui.
contrast + grading.profile.uiContrast +
EClass.
core.
ui.lightContrast + num2);
1026 EClass._map.plDay.interval = other.bgmInterval * 5f;
1032 SoundManager.current.mixer.SetFloat(
id, Mathf.Log((v < 0.01f) ? 0.01f : v) * 20f);
void OnChangeResolution()
bool IsJapanese(string text)
bool Show(SourceBacker.Row row)
CameraSupport.Divider divider
SkinManager.FontSaveData fontDialog
SkinManager.FontSaveData fontNews
SkinManager.FontSaveData fontChatbox
SkinManager.FontSaveData fontWidget
SkinManager.FontSaveData fontUI
SkinManager.FontSaveData fontBalloon
bool holdMiddleButtonToHold
bool dontRenderOutsideMap
bool shiftToUseNegativeAbilityOnSelf
bool ignoreWarnDisassemble
bool ignoreBackerDestoryFlag
bool dontCancelIfZeroDamage
float dynamicBrightnessMod
bool closePopupOnMouseLeave
List< FontSource > customFonts
void SetVolume(string id, float v)
HashSet< string > helpFlags
void ApplyResolution(bool force=false)
bool ignoreLinuxModWarning
bool HasBackerRewardCode()
static CoreConfig TryLoadConfig()
void RefreshUIBrightness()
PostEffectProfile GetPostEffectProfile(bool replaceWorld=false)
void OnChangeResolution()
void ApplyFPS(bool force=false)
void TryUpdatePlayedHour()
bool ignoreParallelsWarning
static bool IsCompatible(Version v)
static void ResetGraphics()
BackerContentConfig backer
static void ResetGeneral()
static string VersionFile
static SourceManager sources
static BaseGameScreen screen
static SoundManager Sound
static GameSetting setting
static bool IsValid(string code)
static SkinManager Instance
bool IsBelow(int _major, int _minor, int _batch)