|
Elin Decompiled Documentation EA 23.344.1 Nightly
|
Classes | |
| class | WorkshopDownload |
Public Member Functions | |
| override void | Init (string path, string defaultPackage="_Elona") |
| void | SaveLoadOrder () |
| 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>() |
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 959 of file ModManager.cs.
References FailWorkshopPackage(), and item.
Referenced by DownloadSubscriptions().
|
inline |
Definition at line 474 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 465 of file ModManager.cs.
References ActivatePackageList(), BaseModManager.listChainLoad, and ListPluginObject.
Referenced by RefreshMods().
|
inline |
Definition at line 353 of file ModManager.cs.
References installed.
Referenced by AddWorkshopPackage(), LayerMod.CreateCallbacks(), LoadCachedWorkshopPackages(), and LoadLocalPackages().
|
inline |
Definition at line 366 of file ModManager.cs.
References AddPackage(), DirWorkshop, and item.
Referenced by QuerySubscriptions().
|
inline |
Definition at line 268 of file ModManager.cs.
References SaveLoadOrder().
Referenced by LayerMod.ApplyPreset().
|
inline |
Definition at line 383 of file ModManager.cs.
References BaseModPackage.builtin.
Referenced by LayerTitle.OnClickContinue(), and LayerTitle.OnClickStart().
|
inlineprivate |
Definition at line 794 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 948 of file ModManager.cs.
References _missingContent, Debug, ModManager.WorkshopDownload.isUpdate, and ModManager.WorkshopDownload.Title.
Referenced by AbortDownloads(), and DownloadSubscriptions().
|
inlinestaticprivate |
Definition at line 610 of file ModManager.cs.
References BaseModPackage.builtin, Debug, BaseModPackage.id, BaseModPackage.incompatible, and BaseModPackage.NormalizeId().
Referenced by ActivatePackageList().
|
inlinestatic |
Definition at line 93 of file ModManager.cs.
References $, BaseModPackage.dirInfo, and BaseModPackage.id.
Referenced by SaveLoadOrder().
|
inlinestatic |
Definition at line 217 of file ModManager.cs.
Referenced by LayerMod.SavePreset(), and SavePreset().
|
inlineprivate |
Definition at line 323 of file ModManager.cs.
References Debug, BaseModPackage.dirInfo, BaseModPackage.parseError, and BaseModPackage.title.
Referenced by RefreshMods().
|
inline |
Definition at line 61 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 422 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 936 of file ModManager.cs.
References Debug, BaseModPackage.dirInfo, and ModManager.WorkshopDownload.Title.
Referenced by DownloadSubscriptions().
|
inlinestaticprivate |
Definition at line 982 of file ModManager.cs.
Referenced by DownloadSubscriptions(), and QuerySubscriptions().
|
inlinestaticprivate |
Definition at line 968 of file ModManager.cs.
References item.
Referenced by DownloadSubscriptions().
|
inline |
Definition at line 222 of file ModManager.cs.
References CorePath.PathLoadOrderPreset.
Referenced by LayerMod.SelectPreset().
|
inline |
Definition at line 917 of file ModManager.cs.
References _blockedItems, _subscribedItems, AddPackage(), and BaseModPackage.dirInfo.
Referenced by RefreshMods().
|
inline |
Definition at line 410 of file ModManager.cs.
References _loading, CorePath.custom, and LoadingScreen.Log().
Referenced by RefreshMods().
|
inline |
Definition at line 122 of file ModManager.cs.
References BaseModPackage.builtin, BaseModPackage.dirInfo, BaseModPackage.id, BaseModPackage.NormalizeId(), NormalizeOrderPath(), and CorePath.PathLoadOrder.
Referenced by SortPackages().
|
inline |
Definition at line 388 of file ModManager.cs.
References _loading, AddPackage(), disableMod, BaseModPackage.IsBuiltinDir(), LoadingScreen.Log(), and BaseModManager.rootMod.
Referenced by RefreshMods().
|
inline |
Definition at line 698 of file ModManager.cs.
References _missingContent, _subscribedItems, DownloadSubscriptions(), and QuerySubscriptions().
Referenced by RefreshMods().
|
inlineprivate |
Definition at line 345 of file ModManager.cs.
References BaseModPackage.activated, BaseModPackage.id, and item.
Referenced by RefreshMods().
|
inlinestaticprivate |
Definition at line 208 of file ModManager.cs.
Referenced by LoadLoadOrder().
|
inline |
Definition at line 995 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 713 of file ModManager.cs.
References $, _blockedItems, _loading, _missingContent, AddWorkshopPackage(), Debug, IsCancelRequested(), LoadingScreen.Log(), and SetStatus().
Referenced by LoadWorkshopPackages().
|
inline |
Definition at line 275 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 662 of file ModManager.cs.
References BaseModPackage.builtin, BaseModPackage.id, BaseModPackage.incompatible, and BaseModPackage.NormalizeId().
Referenced by ActivatePackageList().
|
inline |
Definition at line 104 of file ModManager.cs.
References BaseModPackage.builtin, BaseModPackage.dirInfo, disableMod, FormatLoadOrder(), and CorePath.PathLoadOrder.
Referenced by ApplyPreset(), LayerMod.CreateCallbacks(), LayerMod.MoveTo(), and LayerMod.OnKill().
|
inline |
Definition at line 231 of file ModManager.cs.
References EClass.core, disableMod, GetPresetPath(), Version.GetText(), CorePath.PathLoadOrderPreset, and BaseCore.version.
Referenced by LayerMod.WritePreset().
|
inlinestaticprivate |
Definition at line 987 of file ModManager.cs.
Referenced by DownloadSubscriptions(), InitPackagesMeta(), and QuerySubscriptions().
|
inlineprivate |
Definition at line 332 of file ModManager.cs.
References $, Debug, and LoadLoadOrder().
Referenced by RefreshMods().
|
inline |
Definition at line 244 of file ModManager.cs.
Referenced by LayerMod.ApplyPresetFile().
|
inlineprivate |
Definition at line 549 of file ModManager.cs.
References BaseModPackage.dependency, BaseModPackage.dirInfo, installed, BaseModPackage.NormalizeId(), and BaseModPackage.title.
Referenced by ActivatePackageList().
|
private |
Definition at line 49 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 51 of file ModManager.cs.
Referenced by FailWorkshopPackage(), LoadWorkshopPackages(), QuerySubscriptions(), and RefreshMods().
|
private |
Definition at line 47 of file ModManager.cs.
Referenced by LoadCachedWorkshopPackages(), LoadWorkshopPackages(), and RefreshMods().
|
static |
Definition at line 41 of file ModManager.cs.
Referenced by ActivatePackageList(), LoadLocalPackages(), RefreshMods(), SaveLoadOrder(), SavePreset(), LayerMod.ShowPresetMenu(), and Core.StartCase().
|
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 55 of file ModManager.cs.
Referenced by AddWorkshopPackage().
|
staticget |
Definition at line 59 of file ModManager.cs.
|
staticget |
Definition at line 57 of file ModManager.cs.
Referenced by Core.StartCase().
|
staticget |
Definition at line 53 of file ModManager.cs.