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

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.

PreventOriginal()​

Request that the call to original is skipped. Only valid to be called from a Pre event listener not a Post event listener.

Declaration
public void PreventOriginal()