2using System.Collections.Generic;
4using System.Text.RegularExpressions;
10[JsonObject(MemberSerialization.OptOut)]
460 bool flag = row.lang ==
"JP" || row.lang ==
"CN";
462 if (langCode ==
"JP" || langCode ==
"CN")
481 if (langCode ==
"JP" || langCode ==
"CN")
490 return Regex.IsMatch(text,
"[\\p{IsHiragana}\\p{IsKatakana}\\p{IsCJKUnifiedIdeographs}]+");
618 public HashSet<string>
helpFlags =
new HashSet<string>();
671 coreConfig.game.numBackup = 5;
672 coreConfig.game.backupInterval = 8;
673 coreConfig.game.autoBackup =
true;
677 coreConfig.test.extraToneMTP = 1;
681 coreConfig.graphic.floorEx =
true;
685 coreConfig.game.tutorial =
true;
689 coreConfig.ui.balloonBG =
true;
696 return v.minor >= 22;
703 Debug.Log(
"Creating new config.");
713 coreConfig.other.showTestOptions =
true;
714 coreConfig.test.showNumbers =
true;
715 coreConfig.game.waiter = 0;
716 coreConfig.game.advancedMenu =
true;
740 EClass.core.config.rewardCode = text2;
746 EClass.core.config.ui = coreConfig.
ui;
747 EClass.core.config.font = coreConfig.
font;
748 EClass.core.config.sound = coreConfig.
sound;
756 EClass.core.config.graphic = coreConfig.
graphic;
764 EClass.core.config.game = coreConfig.
game;
765 EClass.core.config.net = coreConfig.
net;
766 EClass.core.config.backer = coreConfig.
backer;
773 EClass.core.config.input = coreConfig.
input;
774 EClass.core.config.camera = coreConfig.
camera;
781 EClass.core.config.fix = coreConfig.
fix;
782 EClass.core.config.other = coreConfig.
other;
789 EClass.core.config.test = coreConfig.
test;
822 IO.SaveFile(
path,
this, compress:
false, IO.jsWriteConfig);
838 QualitySettings.vSyncCount = 1;
839 Application.targetFrameRate = 60;
843 QualitySettings.vSyncCount = 0;
849 QualitySettings.vSyncCount = 0;
850 Application.targetFrameRate = 60;
877 CharaRenderer._animeFramePC = (camera.smoothMove ? 6000 :
camera.
moveframe);
878 Scene.skipAnime =
true;
879 QualitySettings.maxQueuedFrames = 0;
883 EInput.buttonScroll = (game.rightScroll ? EInput.rightMouse :
EInput.
middleMouse);
907 float num = (float)
ui.
scale * 0.05f;
911 float b = num + 0.05f;
912 num = 0.01f * (float)Mathf.RoundToInt(Mathf.Lerp(a, b, (
float)Screen.height / 1080f) * 100f);
916 float num2 = (float)Screen.width / (
float)
EClass.
core.
ui.minWidth;
922 Debug.Log(
"#UI ApplyScale:" + num);
951 grading.userSaturation = graphic.saturation + postEffectProfile.
Saturation;
952 grading.userBrightness = graphic.brightness + postEffectProfile.
Brightness;
953 grading.userContrast = graphic.contrast + postEffectProfile.
Contrast;
954 camSupport.beautify.saturate = graphic.vibrance + grading.profile.Vibrance;
956 camSupport.blur.enabled = graphic.blur > 0;
957 camSupport.blur.Amount = 0.01f * (float)
graphic.
blur;
983 Shader.SetGlobalFloat(
"_UIBrightness", 0.01f * (
float)
ui.
brightness + grading.profile.uiBrightness + num);
984 Shader.SetGlobalFloat(
"_UIContrast", 0.01f * (
float)
ui.
contrast + grading.profile.uiContrast +
EClass.
core.
ui.lightContrast + num2);
1001 EClass._map.plDay.interval = other.bgmInterval * 5f;
1007 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
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)