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