mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-12 21:27:21 +01:00
add some preliminary vfx work
This commit is contained in:
parent
4226f2e16d
commit
8459fe8f25
11 changed files with 217 additions and 26 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue