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;
702 coreConfig.input.keys.chat.key = KeyCode.Return;
709 return v.minor >= 22;
716 Debug.Log(
"Creating new config.");
726 coreConfig.other.showTestOptions =
true;
727 coreConfig.test.showNumbers =
true;
728 coreConfig.game.waiter = 0;
729 coreConfig.game.advancedMenu =
true;
753 EClass.core.config.rewardCode = text2;
759 EClass.core.config.ui = coreConfig.
ui;
760 EClass.core.config.font = coreConfig.
font;
761 EClass.core.config.sound = coreConfig.
sound;
769 EClass.core.config.graphic = coreConfig.
graphic;
777 EClass.core.config.game = coreConfig.
game;
778 EClass.core.config.net = coreConfig.
net;
779 EClass.core.config.backer = coreConfig.
backer;
786 EClass.core.config.input = coreConfig.
input;
787 EClass.core.config.camera = coreConfig.
camera;
794 EClass.core.config.fix = coreConfig.
fix;
795 EClass.core.config.other = coreConfig.
other;
802 EClass.core.config.test = coreConfig.
test;
835 IO.SaveFile(
path,
this, compress:
false, IO.jsWriteConfig);
851 QualitySettings.vSyncCount = 1;
852 Application.targetFrameRate = 60;
856 QualitySettings.vSyncCount = 0;
862 QualitySettings.vSyncCount = 0;
863 Application.targetFrameRate = 60;
890 CharaRenderer._animeFramePC = (camera.smoothMove ? 6000 :
camera.
moveframe);
891 Scene.skipAnime =
true;
892 QualitySettings.maxQueuedFrames = 0;
896 EInput.buttonScroll = (game.rightScroll ? EInput.rightMouse :
EInput.
middleMouse);
920 float num = (float)
ui.
scale * 0.05f;
924 float b = num + 0.05f;
925 num = 0.01f * (float)Mathf.RoundToInt(Mathf.Lerp(a, b, (
float)Screen.height / 1080f) * 100f);
929 float num2 = (float)Screen.width / (
float)
EClass.
core.
ui.minWidth;
935 Debug.Log(
"#UI ApplyScale:" + num);
964 grading.userSaturation = graphic.saturation + postEffectProfile.
Saturation;
965 grading.userBrightness = graphic.brightness + postEffectProfile.
Brightness;
966 grading.userContrast = graphic.contrast + postEffectProfile.
Contrast;
967 camSupport.beautify.saturate = graphic.vibrance + grading.profile.Vibrance;
969 camSupport.blur.enabled = graphic.blur > 0;
970 camSupport.blur.Amount = 0.01f * (float)
graphic.
blur;
996 Shader.SetGlobalFloat(
"_UIBrightness", 0.01f * (
float)
ui.
brightness + grading.profile.uiBrightness + num);
997 Shader.SetGlobalFloat(
"_UIContrast", 0.01f * (
float)
ui.
contrast + grading.profile.uiContrast +
EClass.
core.
ui.lightContrast + num2);
1014 EClass._map.plDay.interval = other.bgmInterval * 5f;
1020 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)