2using System.Collections.Generic;
4using System.Text.RegularExpressions;
10[JsonObject(MemberSerialization.OptOut)]
463 bool flag = row.lang ==
"JP" || row.lang ==
"CN";
465 if (langCode ==
"JP" || langCode ==
"CN")
484 if (langCode ==
"JP" || langCode ==
"CN")
493 return Regex.IsMatch(text,
"[\\p{IsHiragana}\\p{IsKatakana}\\p{IsCJKUnifiedIdeographs}]+");
627 public HashSet<string>
helpFlags =
new HashSet<string>();
680 coreConfig.game.numBackup = 5;
681 coreConfig.game.backupInterval = 8;
682 coreConfig.game.autoBackup =
true;
686 coreConfig.test.extraToneMTP = 1;
690 coreConfig.graphic.floorEx =
true;
694 coreConfig.game.tutorial =
true;
698 coreConfig.ui.balloonBG =
true;
705 return v.minor >= 22;
712 Debug.Log(
"Creating new config.");
722 coreConfig.other.showTestOptions =
true;
723 coreConfig.test.showNumbers =
true;
724 coreConfig.game.waiter = 0;
725 coreConfig.game.advancedMenu =
true;
749 EClass.core.config.rewardCode = text2;
755 EClass.core.config.ui = coreConfig.
ui;
756 EClass.core.config.font = coreConfig.
font;
757 EClass.core.config.sound = coreConfig.
sound;
765 EClass.core.config.graphic = coreConfig.
graphic;
773 EClass.core.config.game = coreConfig.
game;
774 EClass.core.config.net = coreConfig.
net;
775 EClass.core.config.backer = coreConfig.
backer;
782 EClass.core.config.input = coreConfig.
input;
783 EClass.core.config.camera = coreConfig.
camera;
790 EClass.core.config.fix = coreConfig.
fix;
791 EClass.core.config.other = coreConfig.
other;
798 EClass.core.config.test = coreConfig.
test;
831 IO.SaveFile(
path,
this, compress:
false, IO.jsWriteConfig);
847 QualitySettings.vSyncCount = 1;
848 Application.targetFrameRate = 60;
852 QualitySettings.vSyncCount = 0;
858 QualitySettings.vSyncCount = 0;
859 Application.targetFrameRate = 60;
886 CharaRenderer._animeFramePC = (camera.smoothMove ? 6000 :
camera.
moveframe);
887 Scene.skipAnime =
true;
888 QualitySettings.maxQueuedFrames = 0;
892 EInput.buttonScroll = (game.rightScroll ? EInput.rightMouse :
EInput.
middleMouse);
916 float num = (float)
ui.
scale * 0.05f;
920 float b = num + 0.05f;
921 num = 0.01f * (float)Mathf.RoundToInt(Mathf.Lerp(a, b, (
float)Screen.height / 1080f) * 100f);
925 float num2 = (float)Screen.width / (
float)
EClass.
core.
ui.minWidth;
931 Debug.Log(
"#UI ApplyScale:" + num);
960 grading.userSaturation = graphic.saturation + postEffectProfile.
Saturation;
961 grading.userBrightness = graphic.brightness + postEffectProfile.
Brightness;
962 grading.userContrast = graphic.contrast + postEffectProfile.
Contrast;
963 camSupport.beautify.saturate = graphic.vibrance + grading.profile.Vibrance;
965 camSupport.blur.enabled = graphic.blur > 0;
966 camSupport.blur.Amount = 0.01f * (float)
graphic.
blur;
992 Shader.SetGlobalFloat(
"_UIBrightness", 0.01f * (
float)
ui.
brightness + grading.profile.uiBrightness + num);
993 Shader.SetGlobalFloat(
"_UIContrast", 0.01f * (
float)
ui.
contrast + grading.profile.uiContrast +
EClass.
core.
ui.lightContrast + num2);
1010 EClass._map.plDay.interval = other.bgmInterval * 5f;
1016 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)