[apiX] dalamud fixes for CS updates (#1821)

* update CS & fix compilation issues

* update CS to latest commit

* update CS & change battlechara

* more CS updates and compilation fixes

* one last cs update
This commit is contained in:
aers 2024-06-03 12:49:44 -07:00 committed by GitHub
parent 8d5f2bdf51
commit 479049b78d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
14 changed files with 24 additions and 27 deletions

View file

@ -317,8 +317,8 @@ internal sealed unsafe class ContextMenu : IInternalDisposableService, IContextM
this.SelectedMenuType = ContextMenuType.Default;
var menu = AgentContext.Instance()->CurrentContextMenu;
var handlers = new Span<Pointer<AtkEventInterface>>(menu->EventHandlerArray, 32);
var ids = new Span<byte>(menu->EventIdArray, 32);
var handlers = menu->EventHandlers;
var ids = menu->EventIds;
var count = (int)values[0].UInt;
handlers = handlers.Slice(7, count);
ids = ids.Slice(7, count);