add some preliminary vfx work

This commit is contained in:
Stanley Dimant
2022-08-15 17:36:43 +02:00
parent 4226f2e16d
commit 8459fe8f25
11 changed files with 217 additions and 26 deletions

View File

@@ -28,6 +28,19 @@ namespace MareSynchronos.Utils
public event LogOut? LogOut;
public event FrameworkUpdate? FrameworkUpdate;
public unsafe bool IsDrawObjectPresent(IntPtr key)
{
foreach (var obj in _objectTable)
{
if ((IntPtr)((GameObject*)obj.Address)->GetDrawObject() == key)
{
return true;
}
}
return false;
}
public DalamudUtil(ClientState clientState, ObjectTable objectTable, Framework framework)
{
_clientState = clientState;