2using System.Collections.Generic;
4using System.Text.RegularExpressions;
10[JsonObject(MemberSerialization.OptOut)]
462 bool flag = row.lang ==
"JP" || row.lang ==
"CN";
464 if (langCode ==
"JP" || langCode ==
"CN")
483 if (langCode ==
"JP" || langCode ==
"CN")
492 return Regex.IsMatch(text,
"[\\p{IsHiragana}\\p{IsKatakana}\\p{IsCJKUnifiedIdeographs}]+");
622 public HashSet<string>
helpFlags =
new HashSet<string>();
675 coreConfig.game.numBackup = 5;
676 coreConfig.game.backupInterval = 8;
677 coreConfig.game.autoBackup =
true;
681 coreConfig.test.extraToneMTP = 1;
685 coreConfig.graphic.floorEx =
true;
689 coreConfig.game.tutorial =
true;
693 coreConfig.ui.balloonBG =
true;
700 return v.minor >= 22;
707 Debug.Log(
"Creating new config.");
717 coreConfig.other.showTestOptions =
true;
718 coreConfig.test.showNumbers =
true;
719 coreConfig.game.waiter = 0;
720 coreConfig.game.advancedMenu =
true;
744 EClass.core.config.rewardCode = text2;
750 EClass.core.config.ui = coreConfig.
ui;
751 EClass.core.config.font = coreConfig.
font;
752 EClass.core.config.sound = coreConfig.
sound;
760 EClass.core.config.graphic = coreConfig.
graphic;
768 EClass.core.config.game = coreConfig.
game;
769 EClass.core.config.net = coreConfig.
net;
770 EClass.core.config.backer = coreConfig.
backer;
777 EClass.core.config.input = coreConfig.
input;
778 EClass.core.config.camera = coreConfig.
camera;
785 EClass.core.config.fix = coreConfig.
fix;
786 EClass.core.config.other = coreConfig.
other;
793 EClass.core.config.test = coreConfig.
test;
826 IO.SaveFile(
path,
this, compress:
false, IO.jsWriteConfig);
842 QualitySettings.vSyncCount = 1;
843 Application.targetFrameRate = 60;
847 QualitySettings.vSyncCount = 0;
853 QualitySettings.vSyncCount = 0;
854 Application.targetFrameRate = 60;
881 CharaRenderer._animeFramePC = (camera.smoothMove ? 6000 :
camera.
moveframe);
882 Scene.skipAnime =
true;
883 QualitySettings.maxQueuedFrames = 0;
887 EInput.buttonScroll = (game.rightScroll ? EInput.rightMouse :
EInput.
middleMouse);
911 float num = (float)
ui.
scale * 0.05f;
915 float b = num + 0.05f;
916 num = 0.01f * (float)Mathf.RoundToInt(Mathf.Lerp(a, b, (
float)Screen.height / 1080f) * 100f);
920 float num2 = (float)Screen.width / (
float)
EClass.
core.
ui.minWidth;
926 Debug.Log(
"#UI ApplyScale:" + num);
955 grading.userSaturation = graphic.saturation + postEffectProfile.
Saturation;
956 grading.userBrightness = graphic.brightness + postEffectProfile.
Brightness;
957 grading.userContrast = graphic.contrast + postEffectProfile.
Contrast;
958 camSupport.beautify.saturate = graphic.vibrance + grading.profile.Vibrance;
960 camSupport.blur.enabled = graphic.blur > 0;
961 camSupport.blur.Amount = 0.01f * (float)
graphic.
blur;
987 Shader.SetGlobalFloat(
"_UIBrightness", 0.01f * (
float)
ui.
brightness + grading.profile.uiBrightness + num);
988 Shader.SetGlobalFloat(
"_UIContrast", 0.01f * (
float)
ui.
contrast + grading.profile.uiContrast +
EClass.
core.
ui.lightContrast + num2);
1005 EClass._map.plDay.interval = other.bgmInterval * 5f;
1011 SoundManager.current.mixer.SetFloat(
id, Mathf.Log((v < 0.01f) ? 0.01f : v) * 20f);
if(item3.idFile==idFirstFile &&item3.id==idFirstTopic)
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)