mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-01-01 05:13:40 +01:00
docs fixed
This commit is contained in:
parent
eb2a5f36f9
commit
1304c54eff
2 changed files with 5 additions and 3 deletions
|
|
@ -34,13 +34,15 @@ public interface IGameInteropProvider
|
|||
|
||||
/// <summary>
|
||||
/// Initialize <see cref="Hook{T}"/> members decorated with the <see cref="SignatureAttribute"/>.
|
||||
/// Initialize any delegate members decorated with the <see cref="SignatureAttribute"/>.
|
||||
/// Fill out any IntPtr members decorated with the <see cref="SignatureAttribute"/> with the resolved address.
|
||||
/// Errors for fallible signatures will be logged.
|
||||
/// </summary>
|
||||
/// <param name="self">The object to initialize.</param>
|
||||
public void InitializeFromAttributes(object self);
|
||||
|
||||
/// <summary>
|
||||
/// Creates a hook by rewriting import table address.
|
||||
/// Creates a hook by replacing the original address with an address pointing to a newly created jump to the detour.
|
||||
/// </summary>
|
||||
/// <param name="address">A memory address to install a hook.</param>
|
||||
/// <param name="detour">Callback function. Delegate must have a same original function prototype.</param>
|
||||
|
|
|
|||
|
|
@ -21,10 +21,10 @@ internal static class SignatureHelper
|
|||
private const BindingFlags Flags = BindingFlags.Instance | BindingFlags.Static | BindingFlags.Public | BindingFlags.NonPublic;
|
||||
|
||||
/// <summary>
|
||||
/// Initialises an object's fields and properties that are annotated with a
|
||||
/// Initializes an object's fields and properties that are annotated with a
|
||||
/// <see cref="SignatureAttribute"/>.
|
||||
/// </summary>
|
||||
/// <param name="self">The object to initialise.</param>
|
||||
/// <param name="self">The object to initialize.</param>
|
||||
/// <param name="log">If warnings should be logged using <see cref="PluginLog"/>.</param>
|
||||
/// <returns>Collection of created IDalamudHooks.</returns>
|
||||
internal static IEnumerable<IDalamudHook> Initialize(object self, bool log = true)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue