[AddonEventManager] Reserve the first range for Dalamud internal use

This commit is contained in:
MidoriKami 2023-09-02 09:49:21 -07:00
parent 712a492c89
commit 22a381b874

View file

@ -19,7 +19,8 @@ namespace Dalamud.Game.AddonEventManager;
internal unsafe class AddonEventManager : IDisposable, IServiceType internal unsafe class AddonEventManager : IDisposable, IServiceType
{ {
// The starting value for param key ranges. // The starting value for param key ranges.
private const uint ParamKeyStart = 0x0000_0000; // Reserve the first 0x10_000 for dalamud internal use.
private const uint ParamKeyStart = 0x0010_0000;
// The range each plugin is allowed to use. // The range each plugin is allowed to use.
// 1,048,576 per plugin should be reasonable. // 1,048,576 per plugin should be reasonable.