Skip to main content
Version: 14.x (API 14) [Legacy]

Class AgentArgs

Base class for AgentLifecycle AgentArgTypes.

Assembly: Dalamud.dll
Declaration
public class AgentArgs

Derived:
Dalamud.Game.Agent.AgentArgTypes.AgentClassJobChangeArgs, Dalamud.Game.Agent.AgentArgTypes.AgentGameEventArgs, Dalamud.Game.Agent.AgentArgTypes.AgentLevelChangeArgs, Dalamud.Game.Agent.AgentArgTypes.AgentReceiveEventArgs

Properties

Agent

Gets the pointer to the Agents AgentInterface*.

Declaration
public AgentInterfacePtr Agent { get; }

AgentId

Gets the agent id.

Declaration
public AgentId AgentId { get; }

Type

Gets the type of these args.

Declaration
public virtual AgentArgsType Type { get; }

Methods

GetAgentPointer<T>()

Gets the typed pointer to the Agents AgentInterface*.

Declaration
public T* GetAgentPointer<T>() where T : unmanaged
Returns

<T>*: Typed pointer to contained Agents AgentInterface.

Type Parameters
NameDescription
TAgentInterface.