Struct AgentInterfacePtr
A readonly wrapper for AgentInterface.
Assembly: Dalamud.dll
public readonly struct AgentInterfacePtr : IEquatable<AgentInterfacePtr>
Implements:
System.IEquatable<Dalamud.Game.NativeWrapper.AgentInterfacePtr>
Properties
IsNull
Gets a value indicating whether the underlying pointer is a nullptr.
public bool IsNull { get; }
Addon
Gets a value indicating whether the agents addon is visible.
public AtkUnitBasePtr Addon { get; }
AddonId
Gets a value indicating whether the agent is active.
public ushort AddonId { get; }
IsAgentActive
Gets a value indicating whether the agent is active.
public bool IsAgentActive { get; }
IsAddonReady
Gets a value indicating whether the agents addon is ready.
public bool IsAddonReady { get; }
IsAddonShown
Gets a value indicating whether the agents addon is visible.
public bool IsAddonShown { get; }
Fields
Address
The address to the AgentInterface.
public readonly nint Address
Methods
FocusAddon()
Focuses the AtkUnitBase.
public bool FocusAddon()
Returns
System.Boolean: true when the addon was focused, false otherwise.
Equals(AgentInterfacePtr)
Determines whether the specified AgentInterfacePtr is equal to the current AgentInterfacePtr.
public bool Equals(AgentInterfacePtr other)
Returns
System.Boolean: true if the specified AgentInterfacePtr is equal to the current AgentInterfacePtr; otherwise, false.
Parameters
| Type | Name | Description |
|---|---|---|
| Dalamud.Game.NativeWrapper.AgentInterfacePtr | other | The AgentInterfacePtr to compare with the current AgentInterfacePtr. |
Equals(object)
public override bool Equals(object obj)
Returns
System.Boolean
Parameters
| Type | Name |
|---|---|
System.Object | obj |
GetHashCode()
public override int GetHashCode()
Returns
System.Int32
Implements
System.IEquatable<Dalamud.Game.NativeWrapper.AgentInterfacePtr>