mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
[AddonEventManager] Reserve the first range for Dalamud internal use
This commit is contained in:
parent
712a492c89
commit
22a381b874
1 changed files with 2 additions and 1 deletions
|
|
@ -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.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue