mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-02-14 03:47:43 +01:00
Make plugins load asynchronously (#896)
This commit is contained in:
parent
19eb54cd78
commit
7760457dc5
8 changed files with 204 additions and 60 deletions
|
|
@ -2,6 +2,7 @@ using System;
|
|||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Runtime.InteropServices;
|
||||
using JetBrains.Annotations;
|
||||
|
||||
namespace Dalamud.Game
|
||||
{
|
||||
|
|
@ -21,7 +22,16 @@ namespace Dalamud.Game
|
|||
protected bool IsResolved { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Setup the resolver, calling the appopriate method based on the process architecture.
|
||||
/// Setup the resolver, calling the appropriate method based on the process architecture,
|
||||
/// using the default SigScanner.
|
||||
///
|
||||
/// For plugins. Not intended to be called from Dalamud Service{T} constructors.
|
||||
/// </summary>
|
||||
[UsedImplicitly]
|
||||
public void Setup() => this.Setup(Service<SigScanner>.Get());
|
||||
|
||||
/// <summary>
|
||||
/// Setup the resolver, calling the appropriate method based on the process architecture.
|
||||
/// </summary>
|
||||
/// <param name="scanner">The SigScanner instance.</param>
|
||||
public void Setup(SigScanner scanner)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue