Skip to main content
Version: 15.x (API 15) [Current]

Struct AgentInterfacePtr

A readonly wrapper for AgentInterface.

Assembly: Dalamud.dll​
Declaration
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.

Declaration
public bool IsNull { get; }

Addon​

Gets a value indicating whether the agents addon is visible.

Declaration
public AtkUnitBasePtr Addon { get; }

AddonId​

Gets a value indicating whether the agent is active.

Declaration
public ushort AddonId { get; }

IsAgentActive​

Gets a value indicating whether the agent is active.

Declaration
public bool IsAgentActive { get; }

IsAddonReady​

Gets a value indicating whether the agents addon is ready.

Declaration
public bool IsAddonReady { get; }

IsAddonShown​

Gets a value indicating whether the agents addon is visible.

Declaration
public bool IsAddonShown { get; }

Fields​

Address​

The address to the AgentInterface.

Declaration
public readonly nint Address

Methods​

FocusAddon()​

Focuses the AtkUnitBase.

Declaration
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.

Declaration
public bool Equals(AgentInterfacePtr other)
Returns​

System.Boolean: true if the specified AgentInterfacePtr is equal to the current AgentInterfacePtr; otherwise, false.

Parameters​
TypeNameDescription
Dalamud.Game.NativeWrapper.AgentInterfacePtrotherThe AgentInterfacePtr to compare with the current AgentInterfacePtr.

Equals(object)​

Declaration
public override bool Equals(object obj)
Returns​

System.Boolean

Parameters​
TypeName
System.Objectobj

GetHashCode()​

Declaration
public override int GetHashCode()
Returns​

System.Int32

Implements​

  • System.IEquatable<Dalamud.Game.NativeWrapper.AgentInterfacePtr>