|
Elin Decompiled Documentation EA 23.356.1 Nightly
|
Classes | |
| class | WorkshopDownload |
Public Member Functions | |
| override void | Init (string path, string defaultPackage="_Elona") |
| void | SaveLoadOrder () |
| void | SplitGroups () |
| void | LoadLoadOrder () |
| List< FileInfo > | ListPresets () |
| bool | SavePreset (string name, out string path) |
| bool | TryLoadPresetFile (FileInfo file, out ModLoadOrderPreset.Preset preset, out string error) |
| ModLoadOrderPreset.ApplyResult | ApplyPreset (ModLoadOrderPreset.Preset preset, bool disableOthers=true) |
| IEnumerator | RefreshMods (Action onComplete, bool syncMods) |
| ModPackage | AddPackage (DirectoryInfo dir, bool isInPackages=false) |
| ModPackage | AddWorkshopPackage (WorkshopItem item, bool isInPackages=false) |
| int | CountUserMod () |
| void | LoadLocalPackages () |
| void | LoadCustomPackage () |
| void | InitPackagesMeta () |
| void | ActivatePackages () |
| void | ActivatePackageList () |
| IEnumerator | LoadWorkshopPackages () |
| void | LoadCachedWorkshopPackages () |
| override void | ParseExtra (DirectoryInfo dir, BaseModPackage package) |
Static Public Member Functions | |
| static string | FormatLoadOrder (BaseModPackage p) |
| static string | GetPresetPath (string name) |
Public Attributes | |
| List< FileInfo > | replaceFiles = new List<FileInfo>() |
| readonly List< ModGroup > | emptyGroups = new List<ModGroup>() |
Static Public Attributes | |
| static List< object > | ListPluginObject = new List<object>() |
| static bool | disableMod |
Properties | |
| static List< string > | ListChainLoad [get] |
| static DirectoryInfo | DirWorkshop [get] |
| static bool | IsInitialized [get] |
| static new ModManager | Instance [get] |
Private Member Functions | |
| void | Halt (List< BaseModPackage > broken) |
| void | SortPackages () |
| void | MapActivatedPackages () |
| string | UnmetDependency (BaseModPackage p, Dictionary< string, BaseModPackage > loaded, Dictionary< string, BaseModPackage > installed) |
| IEnumerator | QuerySubscriptions (PublishedFileId_t[] subscribed) |
| IEnumerator | DownloadSubscriptions () |
| void | InstallWorkshopPackage (WorkshopDownload download, string path) |
| void | FailWorkshopPackage (WorkshopDownload download, string reason) |
| void | AbortDownloads (List< WorkshopDownload > queue, string reason) |
Static Private Member Functions | |
| static string | NormalizeOrderPath (string path) |
| static BaseModPackage | FindIncompatible (BaseModPackage p, Dictionary< string, BaseModPackage > loaded, Dictionary< string, BaseModPackage > claimed) |
| static void | RegisterLoaded (BaseModPackage p, Dictionary< string, BaseModPackage > loaded, Dictionary< string, BaseModPackage > claimed) |
| static bool | IsItemReady (WorkshopItem item, out string path) |
| static bool | IsCancelRequested () |
| static void | SetStatus (Text status, string message) |
Private Attributes | |
| LoadingScreen | _loading |
| HashSet< ulong > | _subscribedItems |
| readonly HashSet< ulong > | _blockedItems = new HashSet<ulong>() |
| int | _missingContent |
Definition at line 14 of file ModManager.cs.
|
inlineprivate |
Definition at line 1030 of file ModManager.cs.
References FailWorkshopPackage(), and item.
Referenced by DownloadSubscriptions().
|
inline |
Definition at line 545 of file ModManager.cs.
References $, _loading, Debug, disableMod, FindIncompatible(), BaseModPackage.hasPublishedPackage, BaseModPackage.id, item, BaseModManager.listChainLoad, LoadingScreen.Log(), BaseModPackage.NormalizeId(), RegisterLoaded(), BaseModPackage.title, and UnmetDependency().
Referenced by ActivatePackages().
|
inline |
Definition at line 536 of file ModManager.cs.
References ActivatePackageList(), BaseModManager.listChainLoad, and ListPluginObject.
Referenced by RefreshMods().
|
inline |
Definition at line 424 of file ModManager.cs.
References installed.
Referenced by AddWorkshopPackage(), LoadCachedWorkshopPackages(), LoadLocalPackages(), and LayerMod.SetModRow().
|
inline |
Definition at line 437 of file ModManager.cs.
References AddPackage(), DirWorkshop, and item.
Referenced by QuerySubscriptions().
|
inline |
Definition at line 338 of file ModManager.cs.
References SaveLoadOrder().
Referenced by LayerMod.ApplyPreset().
|
inline |
Definition at line 454 of file ModManager.cs.
References BaseModPackage.builtin.
Referenced by LayerTitle.OnClickContinue(), and LayerTitle.OnClickStart().
|
inlineprivate |
Definition at line 865 of file ModManager.cs.
References $, _loading, AbortDownloads(), Debug, BaseModPackage.downloadStarted, FailWorkshopPackage(), BaseModPackage.installed, InstallWorkshopPackage(), IsCancelRequested(), IsItemReady(), ModManager.WorkshopDownload.item, BaseModPackage.item, item, ModManager.WorkshopDownload.lastChange, LoadingScreen.Log(), ModManager.WorkshopDownload.package, ModManager.WorkshopDownload.progress, SetStatus(), and ModManager.WorkshopDownload.Title.
Referenced by LoadWorkshopPackages().
|
inlineprivate |
Definition at line 1019 of file ModManager.cs.
References _missingContent, Debug, ModManager.WorkshopDownload.isUpdate, and ModManager.WorkshopDownload.Title.
Referenced by AbortDownloads(), and DownloadSubscriptions().
|
inlinestaticprivate |
Definition at line 681 of file ModManager.cs.
References BaseModPackage.builtin, Debug, BaseModPackage.id, BaseModPackage.incompatible, and BaseModPackage.NormalizeId().
Referenced by ActivatePackageList().
|
inlinestatic |
Definition at line 95 of file ModManager.cs.
References $, BaseModPackage.dirInfo, and BaseModPackage.id.
Referenced by SaveLoadOrder().
|
inlinestatic |
Definition at line 287 of file ModManager.cs.
Referenced by LayerMod.SavePreset(), and SavePreset().
|
inlineprivate |
Definition at line 393 of file ModManager.cs.
References Debug, BaseModPackage.dirInfo, BaseModPackage.parseError, and BaseModPackage.title.
Referenced by RefreshMods().
|
inline |
Definition at line 63 of file ModManager.cs.
References Debug, Core.GetElinIni(), BaseCore.IsOffline, BaseModManager.rootDefaultPacakge, BaseModManager.rootMod, and Core.SaveElinIni().
Referenced by CoreDebug.RegenerateNames(), and Core.StartCase().
|
inline |
Definition at line 493 of file ModManager.cs.
References $, _loading, Debug, BaseModPackage.dirInfo, BaseModPackage.id, BaseModPackage.Init(), LoadingScreen.Log(), BaseModPackage.parseError, SetStatus(), and BaseModPackage.title.
Referenced by RefreshMods().
|
inlineprivate |
Definition at line 1007 of file ModManager.cs.
References Debug, BaseModPackage.dirInfo, and ModManager.WorkshopDownload.Title.
Referenced by DownloadSubscriptions().
|
inlinestaticprivate |
Definition at line 1053 of file ModManager.cs.
Referenced by DownloadSubscriptions(), and QuerySubscriptions().
|
inlinestaticprivate |
Definition at line 1039 of file ModManager.cs.
References item.
Referenced by DownloadSubscriptions().
|
inline |
Definition at line 292 of file ModManager.cs.
References CorePath.PathLoadOrderPreset.
Referenced by LayerMod.SelectPreset().
|
inline |
Definition at line 988 of file ModManager.cs.
References _blockedItems, _subscribedItems, AddPackage(), and BaseModPackage.dirInfo.
Referenced by RefreshMods().
|
inline |
Definition at line 481 of file ModManager.cs.
References _loading, CorePath.custom, and LoadingScreen.Log().
Referenced by RefreshMods().
|
inline |
Definition at line 172 of file ModManager.cs.
References BaseModPackage.builtin, BaseModPackage.dirInfo, emptyGroups, BaseModPackage.id, item, BaseModPackage.NormalizeId(), NormalizeOrderPath(), CorePath.PathLoadOrder, and ModGroup.TryParse().
Referenced by SortPackages().
|
inline |
Definition at line 459 of file ModManager.cs.
References _loading, AddPackage(), disableMod, BaseModPackage.IsBuiltinDir(), LoadingScreen.Log(), and BaseModManager.rootMod.
Referenced by RefreshMods().
|
inline |
Definition at line 769 of file ModManager.cs.
References _missingContent, _subscribedItems, DownloadSubscriptions(), and QuerySubscriptions().
Referenced by RefreshMods().
|
inlineprivate |
Definition at line 416 of file ModManager.cs.
References BaseModPackage.activated, BaseModPackage.id, and item.
Referenced by RefreshMods().
|
inlinestaticprivate |
Definition at line 278 of file ModManager.cs.
Referenced by LoadLoadOrder().
|
inline |
Definition at line 1066 of file ModManager.cs.
References ModPackage.AddOrUpdateLang(), BaseModPackage.builtin, ModPackage.ParseLangMod(), ModPackage.ParseMap(), ModPackage.ParseMapPiece(), ModPackage.ParsePortrait(), ModPackage.ParseSound(), ModPackage.ParseTalkText(), ModPackage.ParseTexture(), ModPackage.ParseTextureReplace(), and replaceFiles.
|
inlineprivate |
Definition at line 784 of file ModManager.cs.
References $, _blockedItems, _loading, _missingContent, AddWorkshopPackage(), Debug, IsCancelRequested(), LoadingScreen.Log(), and SetStatus().
Referenced by LoadWorkshopPackages().
|
inline |
Definition at line 345 of file ModManager.cs.
References $, _blockedItems, _loading, _missingContent, _subscribedItems, ActivatePackages(), BaseModPackage.CanActivate, EClass.debug, disableMod, Halt(), InitPackagesMeta(), LoadCachedWorkshopPackages(), LoadCustomPackage(), LoadLocalPackages(), LoadWorkshopPackages(), LoadingScreen.Log(), MapActivatedPackages(), BaseModPackage.parseError, CoreDebug.skipMod, SortPackages(), and Util.
Referenced by Core.StartCase().
|
inlinestaticprivate |
Definition at line 733 of file ModManager.cs.
References BaseModPackage.builtin, BaseModPackage.id, BaseModPackage.incompatible, and BaseModPackage.NormalizeId().
Referenced by ActivatePackageList().
|
inline |
Definition at line 106 of file ModManager.cs.
References ModGroup.after, BaseModPackage.dirInfo, disableMod, emptyGroups, FormatLoadOrder(), BaseModPackage.group, CorePath.PathLoadOrder, and SplitGroups().
Referenced by ApplyPreset(), LayerMod.OnKill(), LayerMod.OnReorder(), and LayerMod.SetModRow().
|
inline |
Definition at line 301 of file ModManager.cs.
References EClass.core, disableMod, GetPresetPath(), Version.GetText(), CorePath.PathLoadOrderPreset, and BaseCore.version.
Referenced by LayerMod.WritePreset().
|
inlinestaticprivate |
Definition at line 1058 of file ModManager.cs.
Referenced by DownloadSubscriptions(), InitPackagesMeta(), and QuerySubscriptions().
|
inlineprivate |
Definition at line 402 of file ModManager.cs.
References $, Debug, LoadLoadOrder(), and SplitGroups().
Referenced by RefreshMods().
|
inline |
Definition at line 146 of file ModManager.cs.
References ModGroup.after, emptyGroups, and BaseModPackage.group.
Referenced by SaveLoadOrder(), and SortPackages().
|
inline |
Definition at line 314 of file ModManager.cs.
Referenced by LayerMod.ApplyPresetFile().
|
inlineprivate |
Definition at line 620 of file ModManager.cs.
References BaseModPackage.dependency, BaseModPackage.dirInfo, installed, BaseModPackage.NormalizeId(), and BaseModPackage.title.
Referenced by ActivatePackageList().
|
private |
Definition at line 51 of file ModManager.cs.
Referenced by LoadCachedWorkshopPackages(), QuerySubscriptions(), and RefreshMods().
|
private |
Definition at line 43 of file ModManager.cs.
Referenced by ActivatePackageList(), DownloadSubscriptions(), InitPackagesMeta(), LoadCustomPackage(), LoadLocalPackages(), QuerySubscriptions(), and RefreshMods().
|
private |
Definition at line 53 of file ModManager.cs.
Referenced by FailWorkshopPackage(), LoadWorkshopPackages(), QuerySubscriptions(), and RefreshMods().
|
private |
Definition at line 49 of file ModManager.cs.
Referenced by LoadCachedWorkshopPackages(), LoadWorkshopPackages(), and RefreshMods().
|
static |
Definition at line 41 of file ModManager.cs.
Referenced by ActivatePackageList(), LoadLocalPackages(), LayerMod.NewGroup(), RefreshMods(), SaveLoadOrder(), SavePreset(), LayerMod.ShowPresetMenu(), and Core.StartCase().
Definition at line 47 of file ModManager.cs.
Referenced by LayerMod.CreateCallbacks(), LayerMod.GetGroupIndex(), LayerMod.Groups(), LayerMod.LeaveGroup(), LoadLoadOrder(), LayerMod.MoveTo(), LayerMod.NewGroup(), LayerMod.OnReorder(), SaveLoadOrder(), LayerMod.SetGroup(), LayerMod.SetGroupRow(), and SplitGroups().
|
static |
Definition at line 39 of file ModManager.cs.
Referenced by ActivatePackages(), and Core.StartCase().
| List<FileInfo> ModManager.replaceFiles = new List<FileInfo>() |
Definition at line 45 of file ModManager.cs.
Referenced by TextureManager.Init(), and ParseExtra().
|
staticget |
Definition at line 57 of file ModManager.cs.
Referenced by AddWorkshopPackage().
|
staticget |
Definition at line 61 of file ModManager.cs.
|
staticget |
Definition at line 59 of file ModManager.cs.
Referenced by Core.StartCase().
|
staticget |
Definition at line 55 of file ModManager.cs.