Elin Decompiled Documentation EA 23.130 Nightly
|
Classes | |
class | BackerContentConfig |
class | CameraConfig |
class | CustomFont |
class | Fix |
class | FontSetting |
class | GameConfig |
class | GraphicSetting |
class | InputSetting |
class | NetSetting |
class | OtherSetting |
class | SoundSetting |
class | Test |
class | UISetting |
Public Types | |
enum | GameFunc { None , ToggleZoom , ShowInv , ShowChara , ShowAbility , ToggleBuild , ShowJournal , EmuShift , EmuAlt , AllAction , ToggleNoRoof , OpenAllyInv , Talk , EmptyHand , Fire , SwitchHotbar , PropertySearch } |
enum | GameFuncBuild { None , ExitBuildMode , Rotate , ToggleFreepos , SnapFreepos , ToggleRoof , ToggleSlope , ToggleWall , TogglePicker , ToggleBuildLight } |
enum | ScreenSnapType { None , Default , Floor , Ceil , Hack3 , Hack4 , Hack5 , Hack6 , Hack7 , Hack8 , Hack9 , Grid } |
Public Member Functions | |
void | OnInit () |
bool | HasBackerRewardCode () |
void | OnReset () |
void | SetLang (string id) |
void | TryUpdatePlayedHour () |
void | Save () |
void | OnChangeResolution () |
void | ApplyFPS (bool force=false) |
void | Apply () |
void | ApplyResolution (bool force=false) |
void | ApplyScale () |
void | ApplyHUD () |
void | ApplyZoom (float a) |
PostEffectProfile | GetPostEffectProfile (bool replaceWorld=false) |
void | ApplyGrading () |
void | RefreshUIBrightness () |
void | ApplyVolume () |
void | SetBGMInterval () |
void | SetVolume (string id, float v) |
void | OnSetLang () |
void | ApplyFont () |
void | ApplySkin () |
Static Public Member Functions | |
static bool | Exist () |
static CoreConfig | TryLoadConfig () |
static bool | IsCompatible (Version v) |
static void | Init () |
static void | Reset () |
static void | ResetGeneral () |
static void | ResetGraphics () |
static void | ResetGame () |
static void | ResetInput () |
static void | ResetOther () |
static void | ResetTest () |
![]() | |
static int | rndSeed (int a, int seed) |
static int | rnd (int a) |
static int | curve (int a, int start, int step, int rate=75) |
static int | rndHalf (int a) |
static float | rndf (float a) |
static int | rndSqrt (int a) |
static void | Wait (float a, Card c) |
static void | Wait (float a, Point p) |
static int | Bigger (int a, int b) |
static int | Smaller (int a, int b) |
Public Attributes | |
Version | version |
string | lang = "JP" |
string | nameReport |
string | emailReport |
string | rewardCode |
int | maxPlayedHours |
bool | compressSave |
bool | ignoreParallelsWarning |
bool | ignoreLinuxModWarning |
bool | cloud |
new UISetting | ui |
SoundSetting | sound |
FontSetting | font |
GraphicSetting | graphic |
new GameConfig | game |
NetSetting | net |
BackerContentConfig | backer |
InputSetting | input |
CameraConfig | camera |
OtherSetting | other |
Fix | fix |
Test | test |
List< FontSource > | customFonts |
HashSet< string > | helpFlags = new HashSet<string>() |
int[] | colors = new int[10] |
bool | ignoreApply |
Properties | |
static string | path [get] |
static int | ZoomStep [get] |
CameraSupport | camSupport [get] |
![]() | |
static Game | game [get] |
static bool | AdvMode [get] |
static Player | player [get] |
static Chara | pc [get] |
static UI | ui [get] |
static Map | _map [get] |
static Zone | _zone [get] |
static FactionBranch | Branch [get] |
static FactionBranch | BranchOrHomeBranch [get] |
static Faction | Home [get] |
static Faction | Wilds [get] |
static Scene | scene [get] |
static BaseGameScreen | screen [get] |
static GameSetting | setting [get] |
static GameData | gamedata [get] |
static ColorProfile | Colors [get] |
static World | world [get] |
static SourceManager | sources [get] |
static SourceManager | editorSources [get] |
static SoundManager | Sound [get] |
static CoreDebug | debug [get] |
Private Attributes | |
int[] | _framerates = new int[4] { 120, 60, 30, 15 } |
Additional Inherited Members | |
![]() | |
static Core | core |
Definition at line 11 of file CoreConfig.cs.
enum CoreConfig.GameFunc |
Enumerator | |
---|---|
None | |
ToggleZoom | |
ShowInv | |
ShowChara | |
ShowAbility | |
ToggleBuild | |
ShowJournal | |
EmuShift | |
EmuAlt | |
AllAction | |
ToggleNoRoof | |
OpenAllyInv | |
Talk | |
EmptyHand | |
Fire | |
SwitchHotbar | |
PropertySearch |
Definition at line 13 of file CoreConfig.cs.
Enumerator | |
---|---|
None | |
ExitBuildMode | |
Rotate | |
ToggleFreepos | |
SnapFreepos | |
ToggleRoof | |
ToggleSlope | |
ToggleWall | |
TogglePicker | |
ToggleBuildLight |
Definition at line 34 of file CoreConfig.cs.
|
inline |
Definition at line 848 of file CoreConfig.cs.
References GameSetting.RenderSetting.anime, CoreConfig.Test.animeFrame, CoreConfig.Test.animeFramePCC, GameSetting.RenderSetting.AnimeSetting.animeStep, CoreConfig.UISetting.animeWindow, CoreConfig.OtherSetting.antiMissClick, ApplyFPS(), ApplyGrading(), ApplyHUD(), ApplyResolution(), ApplyScale(), ApplyVolume(), CameraSupport.beautify, CameraSupport.bloom, CoreConfig.GraphicSetting.bloom, CoreConfig.Test.bloom2, CameraSupport.cam, camera, camSupport, CoreConfig.UISetting.closePopupOnMouseLeave, EClass.core, game, Core.gameSetting, graphic, CoreConfig.GraphicSetting.hdr, ignoreApply, input, CoreConfig.InputSetting.keys, EInput.middleMouse, CoreConfig.CameraConfig.moveframe, CoreConfig.UISetting.openLastTab, other, CoreConfig.UISetting.outlineAlpha, CoreConfig.GraphicSetting.pixelperfectUI, BaseGameScreen.RefreshScreenSize(), GameSetting.render, CoreConfig.UISetting.rightClickClose, CoreConfig.GameConfig.rightScroll, CoreConfig.OtherSetting.runBackground, EClass.screen, CoreConfig.UISetting.ScrollSensitivity, EInput.SetKeyMap(), EClass.setting, CoreConfig.CameraConfig.smoothMove, GameSetting.RenderSetting.tc, test, and ui.
Referenced by OnInit(), LayerConfig.OnKill(), OnReset(), LayerConfig.Refresh(), ResetGame(), ResetGeneral(), ResetGraphics(), ResetInput(), ResetOther(), and ResetTest().
|
inline |
Definition at line 1010 of file CoreConfig.cs.
References EClass.core, font, CoreConfig.FontSetting.fontBalloon, CoreConfig.FontSetting.fontChatbox, CoreConfig.FontSetting.fontDialog, CoreConfig.FontSetting.fontNews, CoreConfig.FontSetting.fontUI, CoreConfig.FontSetting.fontWidget, and Core.ui.
Referenced by LayerConfig.ApplyFont(), OnReset(), OnSetLang(), and ResetGeneral().
|
inline |
Definition at line 826 of file CoreConfig.cs.
References _framerates, EClass.core, CoreConfig.GraphicSetting.fps, graphic, Core.IsGameStarted, and CoreConfig.GraphicSetting.vsync.
Referenced by Apply(), and Game.OnGameInstantiated().
|
inline |
Definition at line 941 of file CoreConfig.cs.
References PostEffectProfile.Apply(), CoreConfig.GraphicSetting.blur, PostEffectProfile.Brightness, Scene.cam, camSupport, PostEffectProfile.Contrast, EClass.core, GetPostEffectProfile(), CameraSupport.grading, graphic, if(), Core.IsGameStarted, CoreConfig.GraphicSetting.kuwahara, CameraSupport.OnChangeResolution(), BaseGameScreen.RefreshGrading(), RefreshUIBrightness(), PostEffectProfile.Saturation, EClass.scene, and EClass.screen.
Referenced by Apply(), Scene.Init(), AM_Cinema.OnDeactivate(), and LayerConfig.Refresh().
|
inline |
|
inline |
Definition at line 886 of file CoreConfig.cs.
References CoreConfig.GraphicSetting.fixedResolution, CoreConfig.GraphicSetting.fullScreen, graphic, CoreConfig.GraphicSetting.h, and CoreConfig.GraphicSetting.w.
Referenced by Apply().
|
inline |
Definition at line 899 of file CoreConfig.cs.
References CoreConfig.UISetting.autoscale, BaseCore.canvas, EClass.core, Debug, if(), CoreConfig.UISetting.scale, CoreConfig.UISetting.secureMinWidth, Core.ui, and ui.
Referenced by Apply(), OnChangeResolution(), and LayerConfig.Refresh().
|
inline |
Definition at line 1015 of file CoreConfig.cs.
References Core.ApplySkins(), EClass.core, CoreConfig.Test.idSkin, Core.Instance, test, and Core.ui.
Referenced by OnReset().
|
inline |
Definition at line 981 of file CoreConfig.cs.
References SetBGMInterval(), SetVolume(), sound, EClass.Sound, CoreConfig.SoundSetting.volumeAMB, CoreConfig.SoundSetting.volumeBGM, CoreConfig.SoundSetting.volumeMaster, and CoreConfig.SoundSetting.volumeSFX.
Referenced by Apply(), LayerConfig.Refresh(), and Scene.ToggleMuteBGM().
|
inline |
Definition at line 924 of file CoreConfig.cs.
References camSupport, CameraSupport.OnChangeResolution(), BaseGameScreen.RefreshScreenSize(), and EClass.screen.
Referenced by BaseGameScreen.Draw(), and BaseGameScreen.SetZoom().
|
inlinestatic |
Definition at line 642 of file CoreConfig.cs.
References EClass.debug, path, and CoreDebug.useNewConfig.
|
inline |
Definition at line 931 of file CoreConfig.cs.
References Game.activeZone, EClass.core, Core.game, graphic, CoreConfig.GraphicSetting.idPostProfile, Core.IsGameStarted, and Spatial.IsRegion.
Referenced by ApplyGrading(), Init(), OnReset(), and ResetGraphics().
|
inline |
Definition at line 722 of file CoreConfig.cs.
References ElinEncoder.IsValid(), and rewardCode.
Referenced by Steam.HasDLC().
|
inlinestatic |
Definition at line 693 of file CoreConfig.cs.
References Core.config, GameSetting.config, EClass.core, EClass.debug, Debug, CoreDebug.enable, GetPostEffectProfile(), BaseCore.langCode, PostEffectProfile.OnChangeProfile(), OnInit(), Save(), SetLang(), EClass.setting, and CoreDebug.useNewConfig.
Referenced by Core.Init().
|
inlinestatic |
Definition at line 688 of file CoreConfig.cs.
Referenced by TryLoadConfig().
|
inline |
Definition at line 821 of file CoreConfig.cs.
References ApplyScale().
Referenced by Core.OnChangeResolution().
|
inline |
Definition at line 716 of file CoreConfig.cs.
References Apply(), EClass.core, CoreConfig.Test.idSkin, test, and Core.ui.
Referenced by Init().
|
inline |
Definition at line 787 of file CoreConfig.cs.
References Apply(), ApplyFont(), ApplySkin(), Core.config, EClass.core, GetPostEffectProfile(), and PostEffectProfile.OnChangeProfile().
Referenced by Reset().
|
inline |
Definition at line 1004 of file CoreConfig.cs.
References ApplyFont(), SkinManager.InitFont(), and SkinManager.Instance.
Referenced by Core.SetLang().
|
inline |
Definition at line 961 of file CoreConfig.cs.
References EClass._map, CoreConfig.UISetting.brightness, camSupport, Map.config, CoreConfig.UISetting.contrast, EClass.core, World.date, CoreConfig.UISetting.dynamicBrightness, CoreConfig.UISetting.dynamicBrightnessMod, CameraSupport.grading, MapConfig.indoor, Core.IsGameStarted, Date.IsNight, Core.ui, ui, and EClass.world.
Referenced by BaseGameScreen.Activate(), ApplyGrading(), and BaseGameScreen.RefreshGrading().
|
inlinestatic |
Definition at line 727 of file CoreConfig.cs.
References Core.config, GameSetting.config, EClass.core, lang, OnReset(), rewardCode, SetLang(), and EClass.setting.
Referenced by GameSetting.ApplyConfig().
|
inlinestatic |
Definition at line 755 of file CoreConfig.cs.
References Apply(), backer, Core.config, GameSetting.config, EClass.core, game, net, and EClass.setting.
Referenced by LayerConfig.OnInit().
|
inlinestatic |
Definition at line 737 of file CoreConfig.cs.
References Apply(), ApplyFont(), Core.config, GameSetting.config, EClass.core, font, EClass.setting, sound, and ui.
|
inlinestatic |
Definition at line 747 of file CoreConfig.cs.
References Apply(), Core.config, GameSetting.config, EClass.core, GetPostEffectProfile(), graphic, PostEffectProfile.OnChangeProfile(), and EClass.setting.
Referenced by LayerConfig.OnInit().
|
inlinestatic |
Definition at line 764 of file CoreConfig.cs.
References Apply(), camera, Core.config, GameSetting.config, EClass.core, input, and EClass.setting.
Referenced by LayerConfig.OnInit().
|
inlinestatic |
Definition at line 772 of file CoreConfig.cs.
References Apply(), Core.config, GameSetting.config, EClass.core, fix, other, and EClass.setting.
Referenced by LayerConfig.OnInit().
|
inlinestatic |
Definition at line 780 of file CoreConfig.cs.
References Apply(), Core.config, GameSetting.config, EClass.core, EClass.setting, and test.
Referenced by LayerConfig.OnInit().
|
inline |
Definition at line 813 of file CoreConfig.cs.
References EClass.core, Debug, path, version, BaseCore.version, and CorePath.VersionFile.
Referenced by Init(), LayerMod.OnInit(), LayerConfig.OnKill(), LayerConfig.Refresh(), and TryUpdatePlayedHour().
|
inline |
Definition at line 991 of file CoreConfig.cs.
References EClass.core, and Core.IsGameStarted.
Referenced by ApplyVolume(), and Zone.RefreshBGM().
|
inline |
|
inline |
Definition at line 999 of file CoreConfig.cs.
Referenced by ApplyVolume().
|
inlinestatic |
Definition at line 651 of file CoreConfig.cs.
References CoreConfig.GameConfig.backupInterval, EClass.core, EClass.debug, Debug, game, Version.GetText(), Version.IsBelow(), IsCompatible(), path, CoreDebug.useNewConfig, version, BaseCore.version, and CorePath.VersionFile.
Referenced by Core.Start().
|
inline |
Definition at line 800 of file CoreConfig.cs.
References EClass.core, Core.IsGameStarted, maxPlayedHours, EClass.player, Save(), Player.stats, and Player.Stats.timeElapsed.
Referenced by Game.Save().
|
private |
Definition at line 623 of file CoreConfig.cs.
Referenced by ApplyFPS().
BackerContentConfig CoreConfig.backer |
Definition at line 602 of file CoreConfig.cs.
Referenced by Thing.GetName(), Chara.GetName(), Cell.GetObjName(), TaskHarvest.OnCreateProgress(), TraitDaggerGrave.OnUse(), ResetGame(), and TraitMoongate.UseMoongate().
CameraConfig CoreConfig.camera |
Definition at line 606 of file CoreConfig.cs.
Referenced by Apply(), BaseGameScreen.Draw(), ActionMode.InputMovement(), BaseGameScreen.ModTargetZoomIndex(), ActEffect.Proc(), BaseGameScreen.RefreshPosition(), ResetInput(), BaseGameScreen.SetTargetZoomIndex(), and BaseGameScreen.UpdateShaders().
bool CoreConfig.cloud |
Definition at line 588 of file CoreConfig.cs.
Referenced by LayerLoadGame.Init(), and LayerFeedback.OnInit().
int [] CoreConfig.colors = new int[10] |
Definition at line 618 of file CoreConfig.cs.
Referenced by GameSetting.CopyColors(), LayerPixelPaint.OnInit(), and UIColorPicker.SetColor().
bool CoreConfig.compressSave |
Definition at line 582 of file CoreConfig.cs.
List<FontSource> CoreConfig.customFonts |
Definition at line 614 of file CoreConfig.cs.
string CoreConfig.emailReport |
Definition at line 576 of file CoreConfig.cs.
Referenced by LayerFeedback.OnInit().
Fix CoreConfig.fix |
Definition at line 610 of file CoreConfig.cs.
Referenced by BaseGameScreen.RefreshScreenSize(), ResetOther(), and BaseGameScreen.SnapScreen().
FontSetting CoreConfig.font |
Definition at line 594 of file CoreConfig.cs.
Referenced by ApplyFont(), and ResetGeneral().
new GameConfig CoreConfig.game |
Definition at line 598 of file CoreConfig.cs.
Referenced by Chara._Move(), ActPlan._Update(), GameDate.AdvanceMin(), Apply(), ActMelee.Attack(), Act.CanPerform(), ActThrow.CanThrow(), LayerInventory.CreateContainerAlly(), LayerInventory.CreateContainerPC(), BaseTileMap.Draw(), CardRenderer.Draw(), Player.ExitBorder(), Scene.Init(), AM_Adv.OnBecomeNoGoal(), DragItemCard.OnDrag(), InvOwner.OnDrag(), CharaRenderer.OnEnterScreen(), ButtonGrid.OnMiddleClick(), CharaActorPCC.OnRender(), AM_Adv.OnRenderTile(), TraitNewZone.OnStepped(), ActRanged.Perform(), Tutorial.Play(), AM_Adv.PressedActionMove(), InvOwner.Transaction.Process(), AM_Adv.RefreshArrow(), AM_Region.RefreshArrow(), UIInventory.RefreshMenu(), ResetGame(), Game.Save(), WidgetCurrentTool.Select(), GameDate.ShipGoods(), Chara.Tick(), Scene.ToggleFreePos(), ActionMode.TogglePause(), Scene.ToggleSnapFreePos(), TryLoadConfig(), HotItemHeld.TrySetAct(), Map.TrySmoothPick(), Card.TryStackTo(), Dialog.TryWarnCrime(), Dialog.TryWarnDisassemble(), Dialog.TryWarnMana(), Dialog.TryWarnSlaughter(), ActionMode.UpdateInput(), and Game.Wait().
GraphicSetting CoreConfig.graphic |
Definition at line 596 of file CoreConfig.cs.
Referenced by GameDate.AdvanceHour(), Apply(), ApplyFPS(), ApplyGrading(), ApplyResolution(), Scene.ApplyZoneConfig(), Card.GetLightRadius(), GetPostEffectProfile(), PostEffectProfile.OnChangeProfile(), LayerConfig.OnInit(), ActEffect.ProcAt(), LayerConfig.Refresh(), BaseGameScreen.RefreshAll(), BaseGameScreen.RefreshGrading(), BaseGameScreen.RefreshSky(), BaseGameScreen.RefreshWeather(), GameScreenElona.RefreshWeather(), ResetGraphics(), Core.Update(), GameUpdater.Update100ms(), and CharaRenderer.UpdatePosition().
HashSet<string> CoreConfig.helpFlags = new HashSet<string>() |
Definition at line 616 of file CoreConfig.cs.
Referenced by ELayer.TryShowHelp().
bool CoreConfig.ignoreApply |
Definition at line 621 of file CoreConfig.cs.
Referenced by Apply().
bool CoreConfig.ignoreLinuxModWarning |
Definition at line 586 of file CoreConfig.cs.
Referenced by Scene.TryWarnLinuxMod().
bool CoreConfig.ignoreParallelsWarning |
Definition at line 584 of file CoreConfig.cs.
Referenced by Scene.TryWarnMacScreen().
InputSetting CoreConfig.input |
Definition at line 604 of file CoreConfig.cs.
Referenced by AM_Adv._OnUpdateInput(), Apply(), HotItemHeld.CanChangeHeightByWheel(), ActionMode.IsFuncPressed(), ActionMode.OnCancel(), Scene.OnUpdate(), Dialog.OnUpdateInput(), LayerInfo.OnUpdateInput(), AM_Adv.PressedActionMove(), ResetInput(), and ActionMode.UpdateInput().
string CoreConfig.lang = "JP" |
Definition at line 572 of file CoreConfig.cs.
Referenced by Core.Init(), LayerFeedback.OnInit(), LayerConfig.Refresh(), Reset(), and SetLang().
int CoreConfig.maxPlayedHours |
Definition at line 580 of file CoreConfig.cs.
Referenced by UI.ToggleFeedback(), and TryUpdatePlayedHour().
string CoreConfig.nameReport |
Definition at line 574 of file CoreConfig.cs.
Referenced by LayerFeedback.OnInit().
NetSetting CoreConfig.net |
Definition at line 600 of file CoreConfig.cs.
Referenced by Scene.OnUpdate(), ResetGame(), and ActEffect.Wish().
OtherSetting CoreConfig.other |
Definition at line 608 of file CoreConfig.cs.
Referenced by Apply(), WidgetManager.Load(), Core.OnApplicationFocus(), LayerConfig.OnBeforeAddLayer(), LayerMod.OnInit(), ResetOther(), WidgetManager.Save(), Card.SetCensored(), Core.Start(), and Core.StartCase().
string CoreConfig.rewardCode |
Definition at line 578 of file CoreConfig.cs.
Referenced by HasBackerRewardCode(), Reset(), and UI.ToggleFeedback().
SoundSetting CoreConfig.sound |
Definition at line 592 of file CoreConfig.cs.
Referenced by ApplyVolume(), LayerConfig.Refresh(), ResetGeneral(), TraitDetector.Search(), and Scene.ToggleMuteBGM().
Test CoreConfig.test |
Definition at line 612 of file CoreConfig.cs.
Referenced by TileType._HitTest(), Chara._Move(), ActPlan._Update(), Zone.Activate(), DamageTextRenderer.Add(), Map.AddBackerTree(), Apply(), Map.ApplyBackerObj(), Zone.ApplyBackerPet(), ApplySkin(), AM_Adv.AxisMove(), UICharaMaker.BuildRaces(), Card.DamageHP(), Chara.OnCreate(), OnInit(), ResetTest(), Zone.Revive(), GoalManualMove.Run(), ButtonGrid.SetCard(), Portrait.SetPortrait(), WidgetHotbar.SetShortcutMenu(), and GoalManualMove.TryAltMove().
new UISetting CoreConfig.ui |
Definition at line 590 of file CoreConfig.cs.
Referenced by Apply(), ApplyScale(), UIScaleFix.Awake(), UI.OnUpdate(), LayerConfig.Refresh(), UIHangIcon.Refresh(), RefreshUIBrightness(), UIInventory.RefreshWindow(), ResetGeneral(), TCText.Say(), and ActionMode.UpdateInput().
Version CoreConfig.version |
Definition at line 570 of file CoreConfig.cs.
Referenced by Save(), and TryLoadConfig().
|
get |
Definition at line 640 of file CoreConfig.cs.
Referenced by Apply(), ApplyGrading(), ApplyZoom(), and RefreshUIBrightness().
|
staticget |
Definition at line 625 of file CoreConfig.cs.
Referenced by Exist(), Save(), Core.Start(), and TryLoadConfig().
|
staticget |
Definition at line 627 of file CoreConfig.cs.
Referenced by HotItemContext.Show().