HPluginApplicator Class |
Namespace: com.tiberiumfusion.ttplugins.HarmonyPlugins
The HPluginApplicator type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() | AppliedHPlugins |
A list of all HPlugins that were successfully applied.
|
![]() ![]() | CommonAsmsInConfigGACList |
List of assembly display names from the plugin assemblies config xml file's GACAssembliesToLoad element.
|
![]() ![]() | EmbeddedCecilAssembly |
The Cecil assembly that was embedded into Terraria by TTApplicator.
|
![]() ![]() | EmbeddedCecilPdbAssembly |
The Cecil PDB assembly that was embedded into Terraria by TTApplicator.
|
![]() ![]() | EmbeddedHarmonyAssembly |
The Harmony assembly that was embedded into Terraria by TTApplicator.
|
![]() ![]() | ExtractedPluginAssemblyPaths |
A list of the paths of all plugin assemblies that were extracted to the disk.
|
![]() ![]() | HarmonyInstance |
The Harmony instance which was created during patch application
|
![]() ![]() | LastConfiguation |
The HPluginApplicatorConfiguration used in the last ApplyPatches() call.
|
![]() ![]() | LastResult |
The result report from the last time ApplyPatches() was invoked.
|
![]() ![]() | LoadedPluginAssemblies |
A list of all plugin assemblies that were loaded into the current AppDomain.
|
![]() ![]() | PluginDebugMode |
Flag for debug/release dichotomy of plugin operation.
If true, plugin assembly PDBs will be loaded and some exceptions will be rethrown (for your debugger to catch).
If false, PDBs will be skipped and only outstanding exceptions will be rethrown for the user to see.
|
![]() ![]() | ReLogicAssembly |
The proprietary ReLogic assembly, as loaded by Terraria.
|
![]() ![]() | RuntimeExtractFolder |
Directory where ourself (TTPlugins.dll), Harmony, and all plugin assemblies will be extracted to for loading (to avoid assembly context mismatch issues).
|
![]() ![]() | SecurityLevel |
The plugin Security Level used in the lastest (i.e. current) plugin application process.
HPlugins can get this value via GetCurrentPluginSecurityLevel().
|
![]() ![]() | TerrariaAssembly |
The executing Terraria assembly.
|
![]() ![]() | XNAAssemblies |
A list of the XNA assemblies loaded by Terraria.
|
Name | Description | |
---|---|---|
![]() ![]() | ApplyPatches |
Applies all HPlugins from the provided compiled assemblies.
|
![]() ![]() | CurrentDomain_AssemblyResolve | |
![]() ![]() | DeleteAllPluginConfigDiskCopies |
Synchronously deletes all plugin configuration temporary disk copies.
|
![]() ![]() | EntryPointForTerraria |
Method which TTApplicator will patch Terraria into calling. This method will create a HPluginApplicatorConfiguration and call ApplyPatches.
|
![]() ![]() | FindLoadedReLogicAssembly |
Looks for the proprietary ReLogic assembly in the current app domain.
The ReLogic assembly is lazy loaded using an AssemblyResolve handler inside Terraria.
|
![]() ![]() | FindLoadedXNAAssemblies |
Looks for all loaded XNA assemblies in the current app domain.
|
![]() ![]() | GetCurrentPluginSecurityLevel |
Gets the current plugin Security Level.
HPlugins can call this to learn what the current Security Level is and adjust themselves accordingly.
|
![]() ![]() | SetupDomainAssemblyResolver |
For helping the CLR load assemblies into the default context if calling code (namely plugin code) needs an assembly that hasn't been loaded yet.
|
![]() ![]() | WriteAllPluginConfigToDisk |
Synchronously writes all HPlugins' Configuration to its temporary on-disk copy. Typically called by a Harmony patch that hooks in to Terraria.Main.SaveSettings().
|