mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-02-18 13:57:43 +01:00
start v9 branch, pin API level to major version
This commit is contained in:
parent
4139dc14e7
commit
f1f2b51cd6
3 changed files with 14 additions and 14 deletions
|
|
@ -49,8 +49,9 @@ internal partial class PluginManager : IDisposable, IServiceType
|
|||
{
|
||||
/// <summary>
|
||||
/// The current Dalamud API level, used to handle breaking changes. Only plugins with this level will be loaded.
|
||||
/// As of Dalamud 9.x, this always matches the major version number of Dalamud.
|
||||
/// </summary>
|
||||
public const int DalamudApiLevel = 8;
|
||||
public static int DalamudApiLevel => Assembly.GetExecutingAssembly().GetName().Version!.Major;
|
||||
|
||||
/// <summary>
|
||||
/// Default time to wait between plugin unload and plugin assembly unload.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue