[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

@ -173,14 +173,14 @@ internal unsafe class AddonEventManager : IInternalDisposableService
{
try
{
var atkStage = AtkStage.GetSingleton();
var atkStage = AtkStage.Instance();
if (this.cursorOverride is not null && atkStage is not null)
{
var cursor = (AddonCursorType)atkStage->AtkCursor.Type;
if (cursor != this.cursorOverride)
{
AtkStage.GetSingleton()->AtkCursor.SetCursorType((AtkCursor.CursorType)this.cursorOverride, 1);
AtkStage.Instance()->AtkCursor.SetCursorType((AtkCursor.CursorType)this.cursorOverride, 1);
}
return nint.Zero;