HPlugin Methods |
The HPlugin type exposes the following members.
Name | Description | |
---|---|---|
![]() | ConfigurationLoaded |
Called by the HPlugin applicator after Initialize and after the plugin's on-disk savedata has been loaded (if applicable).
At this point, the Configuration property has been populated and is ready to use.
Perform one-time setup logic here, such as loading user preferences from the Configuration property.
|
![]() | CreateHPatchOperation(MethodBase, MethodInfo, HPatchLocation, Int32) |
Creates a new patch operation using the supplied target method, stub method, and patch location.
|
![]() | CreateHPatchOperation(MethodBase, String, HPatchLocation, Int32) |
Creates a new patch operation using the supplied target method, stub method name from this class, and patch location.
|
![]() | CreateHPatchOperation(String, String, MethodInfo, HPatchLocation, Int32) |
Creates a new patch operation using the supplied target type name, target method name, stub method, and patch location.
|
![]() | CreateHPatchOperation(String, String, String, HPatchLocation, Int32) |
Creates a new patch operation using the supplied target type name, target method name, stub method name, and patch location.
|
![]() | CreateHPatchOperation(Type, String, MethodInfo, HPatchLocation, Int32) |
Creates a new patch operation using the supplied target type and method name, stub method, and patch location.
|
![]() | CreateHPatchOperation(Type, String, String, HPatchLocation, Int32) |
Creates a new patch operation using the supplied target type and method name, stub method name, and patch location.
|
![]() | CreateHPatchOperation(String, String, Int32, String, HPatchLocation, Int32) |
Creates a new patch operation using the supplied target type name, target method name, target method parameter count, stub method name, and patch location.
|
![]() | CreateHPatchOperation(String, String, Int32, Type, String, HPatchLocation, Int32) |
Creates a new patch operation using the supplied target type name, target method name, target method parameter count, target method last parameter type, stub method name, and patch location.
|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetPluginAssemblyResourceBytes |
Retrieves the byte[] that constitutes an embedded resouce in this HPlugin's PluginAssembly.
This helper is particularly useful when the plugin Security Level is set to Level 3 or higher (which disallows use of System.IO).
|
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | Initialize |
Called by the HPlugin applicator immediately after creating an instance of this HPlugin. Setup your plugin here.
1. Set the various fields of the Identity property to identify your plugin.
2. Set HasPersistentData to true or false, depending on the plugin's needs.
|
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | PrePatch |
Called by the HPlugin applicator immediately before the plugin's PatchOperations are executed.
If the plugin has not defined its PatchOperations by this point, it must do so now, or nothing will be patched.
|
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |