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 };
467 bool flag = row.lang ==
"JP" || row.lang ==
"CN";
469 if (langCode ==
"JP" || langCode ==
"CN")
488 if (langCode ==
"JP" || langCode ==
"CN")
497 return Regex.IsMatch(text,
"[\\p{IsHiragana}\\p{IsKatakana}\\p{IsCJKUnifiedIdeographs}]+");
647 public HashSet<string>
helpFlags =
new HashSet<string>();
700 coreConfig.game.numBackup = 5;
701 coreConfig.game.backupInterval = 8;
702 coreConfig.game.autoBackup =
true;
706 coreConfig.test.extraToneMTP = 1;
710 coreConfig.graphic.floorEx =
true;
714 coreConfig.game.tutorial =
true;
718 coreConfig.ui.balloonBG =
true;
722 coreConfig.input.keys.chat.key = KeyCode.Return;
729 return v.minor >= 22;
736 Debug.Log(
"Creating new config.");
746 coreConfig.other.showTestOptions =
true;
747 coreConfig.test.showNumbers =
true;
748 coreConfig.game.waiter = 0;
749 coreConfig.game.advancedMenu =
true;
773 EClass.core.config.rewardCode = text2;
779 EClass.core.config.ui = coreConfig.
ui;
780 EClass.core.config.font = coreConfig.
font;
781 EClass.core.config.sound = coreConfig.
sound;
789 EClass.core.config.graphic = coreConfig.
graphic;
797 EClass.core.config.game = coreConfig.
game;
798 EClass.core.config.net = coreConfig.
net;
799 EClass.core.config.backer = coreConfig.
backer;
806 EClass.core.config.input = coreConfig.
input;
807 EClass.core.config.camera = coreConfig.
camera;
814 EClass.core.config.fix = coreConfig.
fix;
815 EClass.core.config.other = coreConfig.
other;
822 EClass.core.config.test = coreConfig.
test;
855 IO.SaveFile(
path,
this, compress:
false, IO.jsWriteConfig);
871 QualitySettings.vSyncCount = 1;
872 Application.targetFrameRate = 60;
876 QualitySettings.vSyncCount = 0;
882 QualitySettings.vSyncCount = 0;
883 Application.targetFrameRate = 60;
910 CharaRenderer._animeFramePC = (camera.smoothMove ? 6000 :
camera.
moveframe);
911 Scene.skipAnime =
true;
912 QualitySettings.maxQueuedFrames = 0;
916 EInput.buttonScroll = (game.rightScroll ? EInput.rightMouse :
EInput.
middleMouse);
930 Portrait.loadOption.mipmap = (test.aaPortraitFilter ?
new Vector2Int?(
Portrait.
standardSize) : ((Vector2Int?)
null));
931 Portrait.loadOptionFull.mipmap = (test.aaPortraitFilter ?
new Vector2Int?(
Portrait.
standardFullSize) : ((Vector2Int?)
null));
949 float num = (float)
ui.
scale * 0.05f;
953 float b = num + 0.05f;
954 num = 0.01f * (float)Mathf.RoundToInt(Mathf.Lerp(a, b, (
float)Screen.height / 1080f) * 100f);
958 float num2 = (float)Screen.width / (
float)
EClass.
core.
ui.minWidth;
964 Debug.Log(
"#UI ApplyScale:" + num);
993 grading.userSaturation = graphic.saturation + postEffectProfile.
Saturation;
994 grading.userBrightness = graphic.brightness + postEffectProfile.
Brightness;
995 grading.userContrast = graphic.contrast + postEffectProfile.
Contrast;
996 camSupport.beautify.saturate = graphic.vibrance + grading.profile.Vibrance;
998 camSupport.blur.enabled = graphic.blur > 0;
999 camSupport.blur.Amount = 0.01f * (float)
graphic.
blur;
1025 Shader.SetGlobalFloat(
"_UIBrightness", 0.01f * (
float)
ui.
brightness + grading.profile.uiBrightness + num);
1026 Shader.SetGlobalFloat(
"_UIContrast", 0.01f * (
float)
ui.
contrast + grading.profile.uiContrast +
EClass.
core.
ui.lightContrast + num2);
1043 EClass._map.plDay.interval = other.bgmInterval * 5f;
1049 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 readonly Vector2Int standardFullSize
static readonly Vector2Int standardSize
static SkinManager Instance
bool IsBelow(int _major, int _minor, int _batch)