### LEDirectory.LauncherASIPath Source: https://me3tweaks.github.io/LegendaryExplorer/nightly/class_legendary_explorer_core_1_1_game_filesystem_1_1_l_e_directory.html Gets the path to the ASI install directory for the Launcher. ```APIDOC ## LEDirectory.LauncherASIPath ### Description Gets the path to the ASI install directory for the Launcher. ### Type string (read-only property) ### Access Get ### Remarks This property provides the directory where ASI plugins for the Launcher are installed. ``` -------------------------------- ### LEDirectory.GetLauncherASIPath(string rootPathOverride = null) Source: https://me3tweaks.github.io/LegendaryExplorer/nightly/class_legendary_explorer_core_1_1_game_filesystem_1_1_l_e_directory.html Gets the path to the ASI install directory for the Launcher. ```APIDOC ## LEDirectory.GetLauncherASIPath(string rootPathOverride = null) ### Description Gets the path to the ASI install directory for the Launcher. ### Method Static method ### Signature `public static string GetLauncherASIPath(string rootPathOverride = null)` ### Parameters - **rootPathOverride** (string) - Optional. Overrides the root path used to determine the ASI directory. ### Returns - **string** - The path to the ASI install directory. ``` -------------------------------- ### LE1Directory.ASIPath Source: https://me3tweaks.github.io/LegendaryExplorer/nightly/class_legendary_explorer_core_1_1_game_filesystem_1_1_l_e1_directory.html Gets the path to the ASI install directory for LE1. ```APIDOC ## Property: ASIPath ### Description Gets the path to the ASI install directory for LE1. ### Signature `public static string ASIPath { get; }` ### Returns - **string** - The path to the ASI install directory. ``` -------------------------------- ### LE2Directory.ASIPath Source: https://me3tweaks.github.io/LegendaryExplorer/nightly/class_legendary_explorer_core_1_1_game_filesystem_1_1_l_e2_directory.html Gets the path to the ASI install directory for LE2. ```APIDOC ## Property: ASIPath ### Description Gets the path to the ASI install directory for LE2. ### Signature `public static string ASIPath { get; }` ### Returns - **string** - The path to the ASI install directory for LE2. ``` -------------------------------- ### LEDirectory.LauncherASIPath Source: https://me3tweaks.github.io/LegendaryExplorer/nightly/class_legendary_explorer_core_1_1_game_filesystem_1_1_l_e_directory.html Gets the path to the ASI install directory for the Launcher. This is a static property with a getter only. ```APIDOC ## LEDirectory.LauncherASIPath ### Description Gets the path to the ASI install directory for the Launcher. ### Property `public static string LauncherASIPath { get; }` ### Access Static getter only. ### Returns - **string** - The path to the ASI install directory for the Launcher. ``` -------------------------------- ### LEDirectory.GetLauncherPath(string rootPathOverride = null) Source: https://me3tweaks.github.io/LegendaryExplorer/nightly/class_legendary_explorer_core_1_1_game_filesystem_1_1_l_e_directory.html Gets the path of the Launcher folder in the Legendary Edition install. ```APIDOC ## LEDirectory.GetLauncherPath(string rootPathOverride = null) ### Description Gets the path of the Launcher folder in the Legendary Edition install. ### Method Static method ### Signature `public static string GetLauncherPath(string rootPathOverride = null)` ### Parameters - **rootPathOverride** (string) - Optional. Overrides the root path used to determine the launcher directory. ### Returns - **string** - The path of the Launcher folder. ``` -------------------------------- ### LE3Directory.ASIPath Source: https://me3tweaks.github.io/LegendaryExplorer/nightly/class_legendary_explorer_core_1_1_game_filesystem_1_1_l_e3_directory.html Static property that gets the path to the ASI install directory for LE3. ```APIDOC ## LE3Directory.ASIPath ### Description Gets the path to the ASI install directory for LE3. ### Property `public static string ASIPath { get; }` ### Return Value - **string** - The path to the ASI install directory for LE3. ``` -------------------------------- ### GetLauncherASIPath Source: https://me3tweaks.github.io/LegendaryExplorer/nightly/class_legendary_explorer_core_1_1_game_filesystem_1_1_l_e_directory.html Gets the path to the ASI install directory for the Launcher. Optionally accepts a root path override. ```APIDOC ## GetLauncherASIPath() ### Description Gets the path to the ASI install directory for the Launcher. ### Method Static method ### Signature `string LegendaryExplorerCore.GameFilesystem.LEDirectory.GetLauncherASIPath(string rootPathOverride = null)` ### Parameters - **rootPathOverride** (string) - Optional - Override game path root ### Returns Path to ASI folder, null if no usable root path ``` -------------------------------- ### GetPropertyStart() Source: https://me3tweaks.github.io/LegendaryExplorer/nightly/class_legendary_explorer_core_1_1_packages_1_1_export_entry.html Gets the starting offset of the properties for this export. This method is inline and returns an integer. ```APIDOC ## GetPropertyStart() ### Description Gets the starting offset of the properties for this export. ### Method GetPropertyStart ### Signature int LegendaryExplorerCore.Packages.ExportEntry.GetPropertyStart() ### Parameters None ### Returns int - The starting offset of the properties. ``` -------------------------------- ### StartingList Source: https://me3tweaks.github.io/LegendaryExplorer/nightly/class_legendary_explorer_core_1_1_dialogue_1_1_conversation_extended.html Gets a dictionary of starting entry nodes. The m_StartingList property. Key: Index into m_StartingList array. Value: Index into EntryList collection. ```APIDOC ## Property: StartingList ### Description Gets a dictionary of starting entry nodes. The m_StartingList property. Key: Index into m_StartingList array. Value: Index into EntryList collection. ### Signature `SortedDictionary LegendaryExplorerCore.Dialogue.ConversationExtended.StartingList { get; }` ### Access - **get** - Returns the dictionary of starting entry nodes. ### Return Type - **SortedDictionary** - A dictionary where the key is the index into the m_StartingList array and the value is the index into the EntryList collection. ``` -------------------------------- ### Get(int position, int length) Source: https://me3tweaks.github.io/LegendaryExplorer/nightly/class_legendary_explorer_core_1_1_gammtek_1_1_i_o_1_1_mutable_byte.html Gets a sub-array of the internal buffer starting at the specified position with the given length. ```APIDOC ## Get(int position, int length) ### Description Gets a sub-array of the internal buffer starting at the specified position with the given length. ### Method Get ### Parameters - **position** (int) - Required - The starting index of the sub-array. - **length** (int) - Required - The number of bytes to include in the sub-array. ### Returns MutableByte - The sub-array as a new MutableByte object. ``` -------------------------------- ### LEDirectory.VanillaLauncherDlls Source: https://me3tweaks.github.io/LegendaryExplorer/nightly/class_legendary_explorer_core_1_1_game_filesystem_1_1_l_e_directory.html Static read-only collection of vanilla DLL filenames shipped in the Launcher folder. ```APIDOC ## LEDirectory.VanillaLauncherDlls ### Description Static read-only collection of strings containing the filenames of any vanilla DLLs that are shipped in the Launcher folder. ### Type ReadOnlyCollection ### Remarks This attribute lists the vanilla DLLs that are part of the Launcher folder distribution. ``` -------------------------------- ### StartOffset Source: https://me3tweaks.github.io/LegendaryExplorer/nightly/class_legendary_explorer_core_1_1_unreal_1_1_delegate_property-members.html Gets the start offset of the property data. ```APIDOC ## StartOffset ### Description Gets the start offset of the property data. ### Property StartOffset ### Returns The start offset. ``` -------------------------------- ### TextureGuid Source: https://me3tweaks.github.io/LegendaryExplorer/nightly/class_legendary_explorer_core_1_1_unreal_1_1_classes_1_1_texture2_d-members.html Property that gets or sets the texture GUID. ```APIDOC ## TextureGuid ### Description Property that gets or sets the texture GUID. ### Property TextureGuid ### Returns Texture GUID value ``` -------------------------------- ### SetupForReading(Stream input, int magic, out int readvalue) Source: https://me3tweaks.github.io/LegendaryExplorer/nightly/class_legendary_explorer_core_1_1_gammtek_1_1_i_o_1_1_endian_reader-members.html Initializes the reader for reading from a stream, checking a magic value. ```APIDOC ## SetupForReading(Stream input, int magic, out int readvalue) ### Description Initializes the reader for reading from a stream, checking a magic value. ### Method SetupForReading (static) ### Parameters - **input** (Stream) - Required - The stream to read from. - **magic** (int) - Required - The expected magic value. - **readvalue** (out int) - Required - The actual magic value read from the stream. ### Returns - **EndianReader** - The initialized reader. ``` -------------------------------- ### AnimSequencePlayer.StartTime Source: https://me3tweaks.github.io/LegendaryExplorer/nightly/class_legendary_explorer_core_1_1_unreal_1_1_animation_1_1_anim_sequence_player-members.html Gets the start time of the animation sequence. ```APIDOC ## AnimSequencePlayer.StartTime ### Description Gets the start time of the animation sequence. ### Property StartTime ### Class LegendaryExplorerCore.Unreal.Animation.AnimSequencePlayer ### Type Not specified in source. ### Access Read ``` -------------------------------- ### RB_BodySetup.Create() Source: https://me3tweaks.github.io/LegendaryExplorer/nightly/class_legendary_explorer_core_1_1_unreal_1_1_binary_converters_1_1_r_b___body_setup-members.html Static method to create a new RB_BodySetup instance. ```APIDOC ## RB_BodySetup.Create() ### Description Creates a new RB_BodySetup instance. ### Method Create ### Signature `Create()` ### Parameters None ### Returns RB_BodySetup instance ``` -------------------------------- ### IMEPackage.PackageGuid Source: https://me3tweaks.github.io/LegendaryExplorer/nightly/class_legendary_explorer_core_1_1_packages_1_1_u_d_k_package-members.html Gets the package GUID for an IMEPackage instance. ```APIDOC ## IMEPackage.PackageGuid ### Description Gets the package GUID for an IMEPackage instance. ### Member Property ### Interface LegendaryExplorerCore.Packages.IMEPackage ### Return Value - **PackageGuid** (Guid) - The package GUID. ``` -------------------------------- ### SetupForPackageReading(Stream input) Source: https://me3tweaks.github.io/LegendaryExplorer/nightly/class_legendary_explorer_core_1_1_gammtek_1_1_i_o_1_1_endian_reader-members.html Initializes the reader for reading a package from the given stream. ```APIDOC ## SetupForPackageReading(Stream input) ### Description Initializes the reader for reading a package from the given stream. ### Method SetupForPackageReading (static) ### Parameters - **input** (Stream) - Required - The stream to read from. ### Returns - **EndianReader** - The initialized reader. ``` -------------------------------- ### UnrealPackageFile.PackageGuid Source: https://me3tweaks.github.io/LegendaryExplorer/nightly/class_legendary_explorer_core_1_1_packages_1_1_u_d_k_package-members.html Gets the package GUID for an UnrealPackageFile instance. ```APIDOC ## UnrealPackageFile.PackageGuid ### Description Gets the package GUID for an UnrealPackageFile instance. ### Member Property ### Class LegendaryExplorerCore.Packages.UnrealPackageFile ### Return Value - **PackageGuid** (Guid) - The package GUID. ``` -------------------------------- ### Initialize Source: https://me3tweaks.github.io/LegendaryExplorer/nightly/class_legendary_explorer_core_1_1_unreal_script_1_1_file_lib.html Initializes the FileLib synchronously. This can potentially take a few seconds. ```APIDOC ## bool Initialize(UnrealScriptOptionsPackage usop, bool canUseBinaryCache = true) ### Description Initializes the FileLib synchronously. This can potentially take a few seconds. ### Method Initialize ### Parameters - **usop** (UnrealScriptOptionsPackage) - Required - The options package containing UnrealScript compilation/decompilation settings. - **canUseBinaryCache** (bool) - Optional - Whether the binary cache can be used to speed up initialization. Default is true. ### Returns - **bool** - True if initialization succeeded, false otherwise. ``` -------------------------------- ### Level.NavListStart Source: https://me3tweaks.github.io/LegendaryExplorer/nightly/class_legendary_explorer_core_1_1_unreal_1_1_binary_converters_1_1_level-members.html Property that gets the start index of the navigation list. ```APIDOC ## Level.NavListStart ### Description Property that gets the start index of the navigation list. ### Property NavListStart ### Returns int - The start index of the navigation list. ``` -------------------------------- ### TFCGuid Property Source: https://me3tweaks.github.io/LegendaryExplorer/nightly/class_legendary_explorer_core_1_1_textures_1_1_t_f_c_info.html Gets or sets the Guid of the referenced TFC. ```APIDOC ## TFCGuid Property ### Description Gets or sets the Guid of the referenced TFC. ### Property `Guid LegendaryExplorerCore.Textures.TFCInfo.TFCGuid` ### Access - get - set ### Type Guid ``` -------------------------------- ### Initialize(UnrealScriptOptionsPackage, bool) Source: https://me3tweaks.github.io/LegendaryExplorer/nightly/class_legendary_explorer_core_1_1_unreal_script_1_1_file_lib.html Initializes the FileLib synchronously. This can potentially take a few seconds. Returns a bool indicating whether initialization was successful. ```APIDOC ## Initialize(UnrealScriptOptionsPackage, bool) ### Description Initializes the FileLib. This can potentially take a few seconds. Returns a bool indicating whether initialization was successful. ### Method Initialize ### Signature ```csharp bool Initialize(UnrealScriptOptionsPackage _usop_, bool _canUseBinaryCache_ = true) ``` ### Parameters - **_usop_** (UnrealScriptOptionsPackage) - Required - Options package used internally to change behavior of the LEC UnrealScript system. - **_canUseBinaryCache_** (bool) - Optional - Cache ObjectBinarys during initialization. Defaults to `true`. Caching speeds up initialization and decompilation operations, at the cost of greater memory usage. ### Returns A bool indicating whether initialization was successful. This value will also be in IsInitialized. ``` -------------------------------- ### StartingModId Source: https://me3tweaks.github.io/LegendaryExplorer/nightly/class_legendary_explorer_core_1_1_plot_database_1_1_mod_plot_container-members.html Gets the starting mod ID for the plot database. ```APIDOC ## StartingModId ### Description Gets the starting mod ID for the plot database. ### Type static property ### Returns int ``` -------------------------------- ### Initialize Source: https://me3tweaks.github.io/LegendaryExplorer/nightly/class_legendary_explorer_core_1_1_unreal_script_1_1_file_lib-members.html Initializes the FileLib with the specified UnrealScript options package and optional binary cache usage. ```APIDOC ## Initialize(UnrealScriptOptionsPackage usop, bool canUseBinaryCache=true) ### Description Initializes the FileLib with the given options. If canUseBinaryCache is true, a binary cache may be used to speed up initialization. ### Parameters - **usop** (UnrealScriptOptionsPackage) - Required - The options package containing settings for UnrealScript processing. - **canUseBinaryCache** (bool) - Optional - Whether to allow using a binary cache. Default is true. ### Returns Void. ``` -------------------------------- ### Create() Source: https://me3tweaks.github.io/LegendaryExplorer/nightly/class_legendary_explorer_core_1_1_unreal_1_1_binary_converters_1_1_prefab_instance.html Static method that creates a new PrefabInstance instance. ```APIDOC ## Create() ### Description Static method that creates a new PrefabInstance instance. ### Method Create ### Signature `public static PrefabInstance Create()` ### Parameters None ### Returns - **PrefabInstance** - A new PrefabInstance instance. ``` -------------------------------- ### GetASIPath Source: https://me3tweaks.github.io/LegendaryExplorer/nightly/class_legendary_explorer_core_1_1_game_filesystem_1_1_l_e3_directory.html Gets the path to the ASI install directory for LE3. ```APIDOC ## GetASIPath ### Description Gets the path to the ASI install directory for LE3. ### Method static string GetASIPath(string rootPathOverride = null) ### Parameters - **rootPathOverride** (string) - Optional - Overrides the root game path. ### Returns - **string** - The full path to the ASI install directory. ``` -------------------------------- ### LEDirectory.LauncherExecutable Source: https://me3tweaks.github.io/LegendaryExplorer/nightly/class_legendary_explorer_core_1_1_game_filesystem_1_1_l_e_directory.html Proxy for GetLauncherExecutable with no arguments. ```APIDOC ## LEDirectory.LauncherExecutable ### Description Proxy for GetLauncherExecutable with no arguments. ### Type string (read-only property) ### Access Get ### Remarks This property returns the path to the launcher executable. ``` -------------------------------- ### LEDirectory.LauncherExecutable Source: https://me3tweaks.github.io/LegendaryExplorer/nightly/class_legendary_explorer_core_1_1_game_filesystem_1_1_l_e_directory.html Proxy for GetLauncherExecutable with no arguments. ```APIDOC ## Property: LauncherExecutable ### Description Proxy for GetLauncherExecutable with no arguments. ### Signature `public static string LauncherExecutable { get; }` ### Type string ### Access static get ``` -------------------------------- ### RB_BodySetup.Create() Source: https://me3tweaks.github.io/LegendaryExplorer/nightly/class_legendary_explorer_core_1_1_unreal_1_1_binary_converters_1_1_r_b___body_setup.html Static method that creates a new RB_BodySetup instance. This is part of the binary converter API for Unreal objects. ```APIDOC ## RB_BodySetup.Create() ### Description Creates a new instance of the RB_BodySetup class. ### Method Create ### Signature `public static RB_BodySetup Create()` ### Parameters None. ### Returns - **RB_BodySetup** - A new RB_BodySetup instance. ### Remarks This method is a static factory method for creating RB_BodySetup objects. ``` -------------------------------- ### Create Source: https://me3tweaks.github.io/LegendaryExplorer/nightly/class_legendary_explorer_core_1_1_packages_1_1_cloning_importing_and_relinking_1_1_object_instance_d_b.html Static method to create a new ObjectInstanceDB from a list of files, with optional progress reporting and extra file addition callbacks. ```APIDOC ## Create ### Description Static method that creates an ObjectInstanceDB from a list of files for a specified game, with optional progress reporting and extra file addition callbacks. ### Method Create ### Parameters - **game** (MEGame) - Required - The game for which the database is being created. - **files** (List) - Required - List of file paths to include in the database. - **numDoneReporter** (Action) - Optional - Callback to report the number of files processed. - **addExtraFiles** (Action) - Optional - Callback to add extra files during creation. ### Returns - **ObjectInstanceDB** - The newly created ObjectInstanceDB instance. ``` -------------------------------- ### GetASIPath Source: https://me3tweaks.github.io/LegendaryExplorer/nightly/class_legendary_explorer_core_1_1_game_filesystem_1_1_l_e1_directory.html Gets the path to the ASI install directory for LE1. ```APIDOC ## GetASIPath ### Description Gets the path to the ASI install directory for LE1. ### Method static string GetASIPath(string rootPathOverride = null) ### Parameters - **rootPathOverride** (string) - Optional - Overrides the root game path. ### Returns - **string** - The full path to the ASI install directory. ``` -------------------------------- ### Property.StartOffset Source: https://me3tweaks.github.io/LegendaryExplorer/nightly/class_legendary_explorer_core_1_1_unreal_1_1_unknown_property.html Gets or sets the offset to the start of this property as it was read by PropertyCollection.ReadProps(). ```APIDOC ## Property: StartOffset ### Description Gets or sets the offset to the start of this property as it was read by PropertyCollection.ReadProps(). ### Type int ### Access Get, Set ### Inherited From Property ``` -------------------------------- ### UTexture2D.TextureGuid Source: https://me3tweaks.github.io/LegendaryExplorer/nightly/class_legendary_explorer_core_1_1_unreal_1_1_binary_converters_1_1_light_map_texture2_d-members.html Property that gets or sets the texture GUID for a UTexture2D object. ```APIDOC ## UTexture2D.TextureGuid ### Description Property that gets or sets the texture GUID for a UTexture2D object. ### Property TextureGuid ### Type - **Guid** - The texture GUID. ``` -------------------------------- ### DocuDB() Source: https://me3tweaks.github.io/LegendaryExplorer/nightly/functions_func_d.html Initializes a documentation database. This method is part of the LegendaryExplorerCore.UnrealScript.Documentation.DocuDB class. ```APIDOC ## DocuDB() ### Description Initializes a documentation database. ### Method DocuDB() ### Returns - [LegendaryExplorerCore.UnrealScript.Documentation.DocuDB](https://me3tweaks.github.io/LegendaryExplorer/nightly/class_legendary_explorer_core_1_1_unreal_script_1_1_documentation_1_1_docu_d_b.html#a38d02afb0fd3231d0ae2916e39248791) ``` -------------------------------- ### TieredPackageCache.PromotionGuid Property Source: https://me3tweaks.github.io/LegendaryExplorer/nightly/class_legendary_explorer_core_1_1_packages_1_1_tiered_package_cache-members.html Gets or sets the promotion GUID for this tiered cache. ```APIDOC ## PromotionGuid ### Description Gets or sets the promotion GUID for this tiered cache. ### Type Property ### Signature `Guid PromotionGuid { get; set; }` ### Returns The promotion GUID. ``` -------------------------------- ### TieredPackageCache.ParentPromotionGuid Property Source: https://me3tweaks.github.io/LegendaryExplorer/nightly/class_legendary_explorer_core_1_1_packages_1_1_tiered_package_cache-members.html Gets or sets the promotion GUID of the parent cache. ```APIDOC ## ParentPromotionGuid ### Description Gets or sets the promotion GUID associated with the parent cache. ### Type Property ### Signature `Guid ParentPromotionGuid { get; set; }` ### Returns The parent promotion GUID. ``` -------------------------------- ### UnrealPackageFile.FindEntry(string instancedPath) Source: https://me3tweaks.github.io/LegendaryExplorer/nightly/class_legendary_explorer_core_1_1_packages_1_1_m_e_package-members.html Finds an entry by its instanced path. ```APIDOC ## UnrealPackageFile.FindEntry(string instancedPath) ### Description Finds an entry by its instanced path. ### Method FindEntry(string instancedPath) ### Parameters - **instancedPath** (string) - Required - The instanced path of the entry to find. ### Applies To LegendaryExplorerCore.Packages.UnrealPackageFile ### Inline This method is inline. ``` -------------------------------- ### LEDirectory.LauncherPath Source: https://me3tweaks.github.io/LegendaryExplorer/nightly/class_legendary_explorer_core_1_1_game_filesystem_1_1_l_e_directory.html Gets the path of the Launcher folder in the Legendary Edition install. ```APIDOC ## LEDirectory.LauncherPath ### Description Gets the path of the Launcher folder in the Legendary Edition install. ### Type string (read-only property) ### Access Get ### Remarks This property returns the directory path where the Launcher is installed. ``` -------------------------------- ### UnrealPackageFile.FindEntry(string instancedPath, string className) Source: https://me3tweaks.github.io/LegendaryExplorer/nightly/class_legendary_explorer_core_1_1_packages_1_1_m_e_package-members.html Finds an entry by its instanced path and class name. ```APIDOC ## UnrealPackageFile.FindEntry(string instancedPath, string className) ### Description Finds an entry by its instanced path and class name. ### Method FindEntry(string instancedPath, string className) ### Parameters - **instancedPath** (string) - Required - The instanced path of the entry to find. - **className** (string) - Required - The class name of the entry to find. ### Applies To LegendaryExplorerCore.Packages.UnrealPackageFile ### Inline This method is inline. ``` -------------------------------- ### VanillaLauncherDlls Source: https://me3tweaks.github.io/LegendaryExplorer/nightly/class_legendary_explorer_core_1_1_game_filesystem_1_1_l_e_directory.html Static readonly collection of vanilla DLLs shipped in the Launcher folder. ```APIDOC ## VanillaLauncherDlls ### Description The filenames of any vanilla DLLs that are shipped in the Launcher folder. ### Type `static readonly ReadOnlyCollection` ### Value `Array.AsReadOnly(new[] { "bink2w64.dll" })` ``` -------------------------------- ### InitLib(TaskScheduler, Action, ILogger, MEGame[], bool) Source: https://me3tweaks.github.io/LegendaryExplorer/nightly/class_legendary_explorer_core_1_1_legendary_explorer_core_lib.html Initializes the LegendaryExplorerCore library for use. Call this before using anything in this library. It registers things such as package loaders, initializes the object databases, and other startup tasks. ```APIDOC ## InitLib(TaskScheduler, Action, ILogger, MEGame[], bool) ### Description Initializes the LegendaryExplorerCore library for use. Call this before using anything in this library. It registers things such as package loaders, initializes the object databases, and other startup tasks. ### Method InitLib ### Signature `public static void InitLib(TaskScheduler _uiSyncContext_, Action _packageSavingFailed_ = null, ILogger _logger_ = null, MEGame[] _objectDBsToLoad_ = null, bool _usePropertyDBLazyLoad_ = false)` ### Parameters - **uiSyncContext** (TaskScheduler) - Required - Synchronization context for use with `Task.ContineWithOnUIThread()`. See SetSynchronizationContext for more information. If a synchronization context was already specified before this library was initialized, this value is ignored. - **packageSavingFailed** (Action) - Optional - Delegate that invoked when a package fails to save. - **logger** (ILogger) - Optional - Serilog logger to use for logging operations. If null, no logging is performed. - **objectDBsToLoad** (MEGame[]) - Optional - Only load object info for specified games. If null, all are loaded. - **usePropertyDBLazyLoad** (bool) - Optional - Indicates whether to use lazy loading for the property database. ### Return Value void ``` -------------------------------- ### LEDirectory.GetExecutableDirectory(string rootPathOverride = null) Source: https://me3tweaks.github.io/LegendaryExplorer/nightly/class_legendary_explorer_core_1_1_game_filesystem_1_1_l_e_directory.html Proxy for GetLauncherPath. Returns the path of the Launcher folder in the Legendary Edition install. ```APIDOC ## LEDirectory.GetExecutableDirectory(string rootPathOverride = null) ### Description Proxy for GetLauncherPath. Returns the path of the Launcher folder in the Legendary Edition install. ### Method Static method ### Signature `public static string GetExecutableDirectory(string rootPathOverride = null)` ### Parameters - **rootPathOverride** (string) - Optional. Overrides the root path used to determine the launcher directory. ### Returns - **string** - The path of the Launcher folder. ``` -------------------------------- ### GetASIPath Source: https://me3tweaks.github.io/LegendaryExplorer/nightly/class_legendary_explorer_core_1_1_game_filesystem_1_1_m_e_directories.html Gets the ASI folder for the input game. This is the folder where installed ASI mods reside. ```APIDOC ## GetASIPath ### Description Gets the ASI folder for the input game. This is the folder where installed ASI mods reside. ### Method static string GetASIPath(MEGame game, string gamePathRoot = null) ### Parameters - **game** (MEGame) - Required - The game to get the ASI folder for. - **gamePathRoot** (string) - Optional - The root path of the game installation. If null, the default game path is used. ### Returns - **string** - The full path to the ASI folder. ``` -------------------------------- ### Initialize() Source: https://me3tweaks.github.io/LegendaryExplorer/nightly/class_legendary_explorer_core_1_1_packages_1_1_package_saver.html Static method that initializes the PackageSaver. It takes no parameters and returns void. ```APIDOC ## Initialize() ### Description Initializes the PackageSaver. ### Method Initialize ### Signature `void LegendaryExplorerCore.Packages.PackageSaver.Initialize()` ### Parameters None. ### Returns - `void` - No return value. ``` -------------------------------- ### LEDirectory.LauncherPath Source: https://me3tweaks.github.io/LegendaryExplorer/nightly/class_legendary_explorer_core_1_1_game_filesystem_1_1_l_e_directory.html Gets the path of the Launcher folder in the Legendary Edition install. Some external tools use this. ```APIDOC ## Property: LauncherPath ### Description Gets the path of the Launcher folder in the Legendary Edition install. Some external tools use this. ### Signature `public static string LauncherPath { get; }` ### Type string ### Access static get ``` -------------------------------- ### GetLauncherPath() Source: https://me3tweaks.github.io/LegendaryExplorer/nightly/functions_func_g.html Returns the path to the launcher directory. ```APIDOC ## GetLauncherPath() ### Description Returns the path to the launcher directory. ### Method GetLauncherPath ### Return Type [LegendaryExplorerCore.GameFilesystem.LEDirectory](https://me3tweaks.github.io/LegendaryExplorer/nightly/class_legendary_explorer_core_1_1_game_filesystem_1_1_l_e_directory.html#ace43a859642c5db2d3f8c7d9bf8268ea) ``` -------------------------------- ### GetReferencedEntries Source: https://me3tweaks.github.io/LegendaryExplorer/nightly/class_legendary_explorer_core_1_1_packages_1_1_m_e_package_extensions-members.html Gets entries referenced by the package, optionally including actor references and starting from a specific export. ```APIDOC ## GetReferencedEntries ### Description Gets entries referenced by the package, optionally including actor references and starting from a specific export. ### Method Extension method (static) ### Signature `GetReferencedEntries(this IMEPackage pcc, bool getreferenced=true, bool getactorrefs=false, ExportEntry startatexport=null)` ### Parameters - **pcc** (IMEPackage) - The package instance. - **getreferenced** (bool) - Optional. Whether to get referenced entries. Default is true. - **getactorrefs** (bool) - Optional. Whether to get actor references. Default is false. - **startatexport** (ExportEntry) - Optional. The export to start from. ### Returns IEnumerable (collection of referenced entries) ``` -------------------------------- ### UnrealPackageFile.TryGetEntry(int uIndex, out IEntry entry) Source: https://me3tweaks.github.io/LegendaryExplorer/nightly/class_legendary_explorer_core_1_1_packages_1_1_m_e_package-members.html Attempts to get an entry by index. This method is marked as inline. ```APIDOC ## UnrealPackageFile.TryGetEntry(int uIndex, out IEntry entry) ### Description Attempts to get an entry by index. ### Method TryGetEntry ### Parameters - **uIndex** (int) - Required - The index of the entry. - **entry** (out IEntry) - Required - The output entry. ### Returns bool - true if the entry was found; otherwise, false. ``` -------------------------------- ### GetLauncherPath Source: https://me3tweaks.github.io/LegendaryExplorer/nightly/class_legendary_explorer_core_1_1_game_filesystem_1_1_l_e_directory.html Gets the path of the Launcher folder in the Legendary Edition install. Optionally accepts a root path override. ```APIDOC ## GetLauncherPath() ### Description Gets the path of the Launcher folder in the Legendary Edition install. ### Method Static method ### Signature `string LegendaryExplorerCore.GameFilesystem.LEDirectory.GetLauncherPath(string rootPathOverride = null)` ### Parameters - **rootPathOverride** (string) - Optional - Override game path root ### Returns Path to Launcher folder ``` -------------------------------- ### void AddFileQuick(string filein, string path) Source: https://me3tweaks.github.io/LegendaryExplorer/nightly/class_legendary_explorer_core_1_1_unreal_1_1_d_l_c_package.html Adds a file to the DLC package quickly. ```APIDOC ## void AddFileQuick(string filein, string path) ### Description Adds a file to the DLC package quickly. ### Method AddFileQuick ### Parameters - **filein** (string) - Required - The path to the file to add. - **path** (string) - Required - The destination path within the package. ``` -------------------------------- ### GetInstalledASIModIds Source: https://me3tweaks.github.io/LegendaryExplorer/nightly/class_legendary_explorer_core_1_1_misc_1_1_m_e3_tweaks_1_1_a_s_i_mod_i_ds.html Gets a list of installed ASI update groups (mod ids) and their versions. Only works on ASIs built after 01/26/2026. ```APIDOC ## GetInstalledASIModIds ### Description Gets a list of installed ASI update groups (mod ids) and their versions. Only works on ASIs built after 01/26/2026. ### Method inlinestatic ### Signature IEnumerable<(int id, int version)> GetInstalledASIModIds(string win64Path) ### Parameters - **win64Path** (string) - Required - Path to game Win64 folder ### Returns IEnumerable<(int id, int version)> - List of installed ASI update groups (mod ids) and their versions. ``` -------------------------------- ### Create() Source: https://me3tweaks.github.io/LegendaryExplorer/nightly/class_legendary_explorer_core_1_1_unreal_1_1_binary_converters_1_1_u_byte_property.html Static method that creates a new UByteProperty instance. ```APIDOC ## Create() ### Description Static method that creates a new UByteProperty instance. ### Method Create ### Signature `public static UByteProperty Create()` ### Parameters None ### Returns - **UByteProperty** - A new instance of UByteProperty. ``` -------------------------------- ### GetInstalledASIModIds Source: https://me3tweaks.github.io/LegendaryExplorer/nightly/class_legendary_explorer_core_1_1_misc_1_1_m_e3_tweaks_1_1_a_s_i_mod_i_ds.html Gets a list of installed ASI update groups (mod ids) and their versions. Only works on ASIs built after 01/26/2026. ```APIDOC ## GetInstalledASIModIds ### Description Gets a list of installed ASI update groups (mod ids) and their versions. Only works on ASIs built after 01/26/2026. ### Method static ### Signature static IEnumerable<(int id, int version)> GetInstalledASIModIds(string win64Path) ### Parameters - **win64Path** (string) - Required - The path to the win64 directory. ### Returns - **IEnumerable<(int id, int version)>** - A list of installed ASI update groups (mod ids) and their versions. ``` -------------------------------- ### GetASIPath(string rootPathOverride = null) Source: https://me3tweaks.github.io/LegendaryExplorer/nightly/class_legendary_explorer_core_1_1_game_filesystem_1_1_l_e2_directory.html Gets the path to the ASI install directory for LE2. Optionally override the root path. ```APIDOC ## GetASIPath(string rootPathOverride = null) ### Description Gets the path to the ASI install directory for LE2. ### Method static string GetASIPath(string rootPathOverride = null) ### Parameters - **rootPathOverride** (string) - Optional - Overrides the root game path. ### Returns - **string** - The full path to the ASI install directory. ``` -------------------------------- ### InitializeAsync(UnrealScriptOptionsPackage, bool) Source: https://me3tweaks.github.io/LegendaryExplorer/nightly/class_legendary_explorer_core_1_1_unreal_script_1_1_file_lib.html Initializes the FileLib asynchronously. Returns a Task wrapping a bool indicating whether initialization was successful. ```APIDOC ## InitializeAsync(UnrealScriptOptionsPackage, bool) ### Description Initializes the FileLib asynchronously. Returns a Task that represents the asynchronous initialization operation and wraps a bool indicating whether initialization was successful. ### Method InitializeAsync ### Signature ```csharp async Task InitializeAsync(UnrealScriptOptionsPackage _usop_, bool _canUseBinaryCache_ = true) ``` ### Parameters - **_usop_** (UnrealScriptOptionsPackage) - Required - Options package used internally to change behavior of the LEC UnrealScript system. - **_canUseBinaryCache_** (bool) - Optional - Cache ObjectBinarys during initialization. Defaults to `true`. Caching speeds up initialization and decompilation operations, at the cost of greater memory usage. ### Returns A Task that represents the asynchronous initialization operation and wraps a bool indicating whether initialization was successful. ``` -------------------------------- ### LE1Directory.TocFile Source: https://me3tweaks.github.io/LegendaryExplorer/nightly/class_legendary_explorer_core_1_1_game_filesystem_1_1_l_e1_directory.html Gets the path to the basegame PCConsoleTOC.bin file for LE1. ```APIDOC ## Property: TocFile ### Description Gets the path to the basegame PCConsoleTOC.bin file for LE1. ### Signature `public static string TocFile { get; }` ### Access Static getter ### Returns - **string** - The path to the basegame PCConsoleTOC.bin file. ``` -------------------------------- ### BankChunk.ChunkDataStartOffset Source: https://me3tweaks.github.io/LegendaryExplorer/nightly/class_sound_cone_bank_chunk.html Inherited property that gets the offset where this bank's data starts, plus 8 after header and size. For name-only chunks, this should not be used. ```APIDOC ## BankChunk.ChunkDataStartOffset ### Description Inherited property that gets the offset where this bank's data starts, plus 8 after header and size. For name-only chunks, this should not be used. ### Property - **ChunkDataStartOffset** (long) - get ``` -------------------------------- ### GetPropertyStart() Source: https://me3tweaks.github.io/LegendaryExplorer/nightly/class_legendary_explorer_core_1_1_packages_1_1_export_entry-members.html Returns the start position of the properties section. ```APIDOC ## GetPropertyStart() ### Description Returns the start position of the properties section. ### Method GetPropertyStart ### Return Type LegendaryExplorerCore.Packages.ExportEntry ``` -------------------------------- ### ParentPromotionGuid Source: https://me3tweaks.github.io/LegendaryExplorer/nightly/class_legendary_explorer_core_1_1_packages_1_1_tiered_package_cache.html Gets or sets a GUID used to detect when packages have been promoted into the parent cache, allowing local packages to be dropped to reduce memory consumption. ```APIDOC ## ParentPromotionGuid ### Description Gets or sets a GUID used to detect when packages have been promoted into the parent cache, allowing local packages to be dropped to reduce memory consumption. ### Property `int LegendaryExplorerCore.Packages.TieredPackageCache.ParentPromotionGuid` ### Access Gets or sets (getset). ``` -------------------------------- ### UnrealPackageFile(string filePath) Source: https://me3tweaks.github.io/LegendaryExplorer/nightly/class_legendary_explorer_core_1_1_packages_1_1_m_e_package-members.html Constructs an UnrealPackageFile instance from the given file path. This constructor is protected and inline. ```APIDOC ## UnrealPackageFile(string filePath) ### Description Constructs an UnrealPackageFile instance from the given file path. This constructor is protected and inline. ### Method Constructor ### Parameters - **filePath** (string) - Required - The path to the package file. ``` -------------------------------- ### UMapProperty.Create() Source: https://me3tweaks.github.io/LegendaryExplorer/nightly/class_legendary_explorer_core_1_1_unreal_1_1_binary_converters_1_1_u_map_property.html Static method that creates a new UMapProperty instance. ```APIDOC ## UMapProperty.Create() ### Description Static method that creates a new UMapProperty instance. ### Method Create ### Signature `public static UMapProperty Create()` ### Parameters None. ### Returns - **UMapProperty** - A new instance of UMapProperty. ``` -------------------------------- ### GetASIPath Source: https://me3tweaks.github.io/LegendaryExplorer/nightly/class_legendary_explorer_core_1_1_game_filesystem_1_1_l_e2_directory.html Gets the path to the ASI install directory for LE2. Accepts an optional root path override and returns null if no usable root path is found. ```APIDOC ## GetASIPath() ### Description Gets the path to the ASI install directory for LE2. ### Method Static method ### Signature `string LegendaryExplorerCore.GameFilesystem.LE2Directory.GetASIPath(string rootPathOverride = null)` ### Parameters - **rootPathOverride** (string) - Optional - Override game path root ### Returns - **string** - Path to ASI folder, null if no usable root path ``` -------------------------------- ### GetASIPath() Source: https://me3tweaks.github.io/LegendaryExplorer/nightly/class_legendary_explorer_core_1_1_game_filesystem_1_1_l_e1_directory.html Gets the path to the ASI install directory for LE1. Accepts an optional root path override and returns null if no usable root path is found. ```APIDOC ## GetASIPath() ### Description Gets the path to the ASI install directory for LE1. ### Method GetASIPath ### Signature `public static string GetASIPath(string rootPathOverride = null)` ### Parameters - **rootPathOverride** (string) - Optional - Override game path root. ### Returns - **string** - Path to ASI folder, null if no usable root path. ``` -------------------------------- ### InitLib Source: https://me3tweaks.github.io/LegendaryExplorer/nightly/class_legendary_explorer_core_1_1_legendary_explorer_core_lib.html Initializes the LegendaryExplorerCore library for use. Call this before using anything in this library. It registers things such as package loaders, initializes the object databases, and other startup tasks. ```APIDOC ## InitLib ### Description Initializes the LegendaryExplorerCore library for use. Call this before using anything in this library. It registers things such as package loaders, initializes the object databases, and other startup tasks. ### Method InitLib ### Parameters - **uiSyncContext** (TaskScheduler) - Required - The UI synchronization context. - **packageSavingFailed** (Action) - Optional - Callback for package saving failures. - **logger** (ILogger) - Optional - Logger instance. - **objectDBsToLoad** (MEGame[]) - Optional - Array of games for which to load object databases. - **usePropertyDBLazyLoad** (bool) - Optional - Whether to use lazy loading for property database. ``` -------------------------------- ### GetLocationDescriptor(string, MEGame, out string, string) Source: https://me3tweaks.github.io/LegendaryExplorer/nightly/class_legendary_explorer_core_1_1_game_filesystem_1_1_m_e_directories.html Gets a short description of where the file is located (Basegame, DLC name, or Not in installation) based on a file path and game. Does not specify game. ```APIDOC ## GetLocationDescriptor(string filePath, MEGame game, out string descriptor, string gameRootOverride = null) ### Description Gets a short description of where the file is located (Basegame, DLC name, or Not in installation) based on a file path and game. Does not specify game. ### Method static bool GetLocationDescriptor(string filePath, MEGame game, out string descriptor, string gameRootOverride = null) ### Parameters - **filePath** (string) - Required - The file path to check. - **game** (MEGame) - Required - The game to check against. - **descriptor** (string) - Output - A short description of the file location. - **gameRootOverride** (string) - Optional - Override for the game root path. ### Returns - **bool** - True if the file is in an official DLC folder, false otherwise. ``` -------------------------------- ### ListenableDictionary() constructor Source: https://me3tweaks.github.io/LegendaryExplorer/nightly/class_legendary_explorer_core_1_1_misc_1_1_listenable_dictionary-2-g.html Initializes a new instance of the ListenableDictionary class. ```APIDOC ## ListenableDictionary() ### Description Initializes a new instance of the ListenableDictionary class. ``` -------------------------------- ### GetLocationDescriptor(string _filePath, MEGame _game, out string _descriptor, string _gameRootOverride = null) Source: https://me3tweaks.github.io/LegendaryExplorer/nightly/class_legendary_explorer_core_1_1_game_filesystem_1_1_m_e_directories.html Gets a short description of where the file is located (Basegame, DLC name, or Not in installation). Does not specify game. ```APIDOC ## GetLocationDescriptor(string _filePath, MEGame _game, out string _descriptor, string _gameRootOverride = null) ### Description Gets a short description of where the file is located (Basegame, DLC name, or Not in installation). Does not specify game. ### Method GetLocationDescriptor ### Signature bool GetLocationDescriptor(string _filePath, MEGame _game, out string _descriptor, string _gameRootOverride = null) ### Parameters - **_filePath** (string) - Required - The file path to describe. - **_game** (MEGame) - Required - The game associated with the file. - **_descriptor** (out string) - Required - Output parameter that receives the location description. - **_gameRootOverride** (string) - Optional - Override for the game root directory. Default is null. ### Returns bool - Indicates whether the descriptor was successfully obtained. ``` -------------------------------- ### GetDefaultGamePath(MEGame game) Source: https://me3tweaks.github.io/LegendaryExplorer/nightly/class_legendary_explorer_core_1_1_game_filesystem_1_1_m_e_directories.html Gets the default game path for the specified game. This is a static inline method that returns the default installation directory path for the given MEGame enum value. ```APIDOC ## GetDefaultGamePath(MEGame game) ### Description Gets the default game path for the listed game. ### Method static string GetDefaultGamePath(MEGame game) ### Parameters - **game** (MEGame) - Required - The game to get the default path for. ### Returns - **string** - Default game path ### Exceptions - **ArgumentOutOfRangeException** - Game has no default path ``` -------------------------------- ### Create() Source: https://me3tweaks.github.io/LegendaryExplorer/nightly/class_legendary_explorer_core_1_1_unreal_1_1_binary_converters_1_1_u_array_property.html Static method that creates a new UArrayProperty instance. ```APIDOC ## Create() ### Description Static method that creates a new UArrayProperty instance. ### Method Create ### Signature `public static UArrayProperty Create()` ### Parameters None ### Returns - **UArrayProperty** - A new instance of UArrayProperty. ``` -------------------------------- ### IBuffer.Bytes Property Source: https://me3tweaks.github.io/LegendaryExplorer/nightly/interface_legendary_explorer_core_1_1_gammtek_1_1_i_o_1_1_i_buffer.html Gets the byte array encapsulated by this buffer. Note that depending on the buffer manager providing the buffer, the array may or may not be cleared (i.e. with every byte 0) to start with. ```APIDOC ## IBuffer.Bytes Property ### Description Gets the byte array encapsulated by this buffer. Note that depending on the buffer manager providing the buffer, the array may or may not be cleared (i.e. with every byte 0) to start with. ### Interface LegendaryExplorerCore.Gammtek.IO.IBuffer ### Property Signature byte[] Bytes { get; } ### Return Value - **byte[]** - The byte array encapsulated by this buffer. ### Remarks - The buffer must always be disposed after use, or some implementations may leak memory. - The buffer must not be used after being disposed, likewise the byte array must not be used after the buffer is disposed. ``` -------------------------------- ### FromFile() Source: https://me3tweaks.github.io/LegendaryExplorer/nightly/functions_func_f.html Creates an instance from a file. Available in multiple classes: CNDFile, PSA, and PSK. ```APIDOC ## FromFile() ### Description Creates an instance from a file. Available in multiple classes: CNDFile, PSA, and PSK. ### Return Types - **LegendaryExplorerCore.Unreal.CNDFile** - **LegendaryExplorerCore.Unreal.PSA** - **LegendaryExplorerCore.Unreal.PSK** ### Namespaces - LegendaryExplorerCore.Unreal ``` -------------------------------- ### GetLocationDescriptor(IMEPackage, out string, string) Source: https://me3tweaks.github.io/LegendaryExplorer/nightly/class_legendary_explorer_core_1_1_game_filesystem_1_1_m_e_directories.html Checks if a package file is in an official DLC folder (not mod-added DLC) and gets a short description of where the file is located (Basegame, DLC name, or Not in installation). Does not specify game. ```APIDOC ## GetLocationDescriptor(IMEPackage pcc, out string descriptor, string gameRootOverride = null) ### Description Checks if a package file is in an official DLC folder (not mod-added DLC) and gets a short description of where the file is located (Basegame, DLC name, or Not in installation). Does not specify game. ### Method static bool GetLocationDescriptor(IMEPackage pcc, out string descriptor, string gameRootOverride = null) ### Parameters - **pcc** (IMEPackage) - Required - The package file to check. - **descriptor** (string) - Output - A short description of the file location. - **gameRootOverride** (string) - Optional - Override for the game root path. ### Returns - **bool** - True if the file is in an official DLC folder, false otherwise. ``` -------------------------------- ### FromSingleFile(MEGame game, string singleFile) Source: https://me3tweaks.github.io/LegendaryExplorer/nightly/class_legendary_explorer_core_1_1_coalesced_1_1_config_1_1_config_asset_bundle-members.html Creates a ConfigAssetBundle from a single file. ```APIDOC ## FromSingleFile(MEGame game, string singleFile) ### Description Creates a ConfigAssetBundle from a single file. ### Method FromSingleFile (static) ### Parameters - **game** (MEGame) - Required - The game associated with the file. - **singleFile** (string) - Required - The path to the single file. ### Returns ConfigAssetBundle ``` -------------------------------- ### GetASIPath(string rootPathOverride = null) Source: https://me3tweaks.github.io/LegendaryExplorer/nightly/class_legendary_explorer_core_1_1_game_filesystem_1_1_l_e3_directory.html Gets the path to the ASI install directory for LE3. Accepts an optional root path override and returns the ASI folder path or null if no usable root path is found. ```APIDOC ## GetASIPath(string rootPathOverride = null) ### Description Gets the path to the ASI install directory for LE3. ### Method GetASIPath ### Parameters - **rootPathOverride** (string) - Optional - Override game path root ### Returns Path to ASI folder, null if no usable root path ```