Class TargetManager
Get and set various kinds of targets for the player.
Inheritance
Inherited Members
Namespace: Dalamud.Game.ClientState.Objects
Assembly: Dalamud.dll
Syntax
public sealed class TargetManager
Properties
| Improve this Doc View SourceAddress
Gets the address of the target manager.
Declaration
public IntPtr Address { get; }
Property Value
| Type | Description |
|---|---|
| System.IntPtr |
FocusTarget
Gets or sets the focus target.
Declaration
public GameObject FocusTarget { get; set; }
Property Value
| Type | Description |
|---|---|
| GameObject |
MouseOverTarget
Gets or sets the mouseover target.
Declaration
public GameObject MouseOverTarget { get; set; }
Property Value
| Type | Description |
|---|---|
| GameObject |
PreviousTarget
Gets or sets the previous target.
Declaration
public GameObject PreviousTarget { get; set; }
Property Value
| Type | Description |
|---|---|
| GameObject |
SoftTarget
Gets or sets the soft target.
Declaration
public GameObject SoftTarget { get; set; }
Property Value
| Type | Description |
|---|---|
| GameObject |
Target
Gets or sets the current target.
Declaration
public GameObject Target { get; set; }
Property Value
| Type | Description |
|---|---|
| GameObject |
Methods
| Improve this Doc View SourceClearFocusTarget()
Clears the focus target.
Declaration
public void ClearFocusTarget()
ClearMouseOverTarget()
Clears the mouseover target.
Declaration
public void ClearMouseOverTarget()
ClearPreviousTarget()
Clears the previous target.
Declaration
public void ClearPreviousTarget()
ClearSoftTarget()
Clears the soft target.
Declaration
public void ClearSoftTarget()
ClearTarget()
Clears the current target.
Declaration
public void ClearTarget()
SetFocusTarget(GameObject)
Sets the focus target.
Declaration
public void SetFocusTarget(GameObject actor)
Parameters
| Type | Name | Description |
|---|---|---|
| GameObject | actor | Actor to target. |
SetFocusTarget(IntPtr)
Sets the focus target.
Declaration
public void SetFocusTarget(IntPtr actorAddress)
Parameters
| Type | Name | Description |
|---|---|---|
| System.IntPtr | actorAddress | Actor (address) to target. |
SetMouseOverTarget(GameObject)
Sets the mouseover target.
Declaration
public void SetMouseOverTarget(GameObject actor)
Parameters
| Type | Name | Description |
|---|---|---|
| GameObject | actor | Actor to target. |
SetMouseOverTarget(IntPtr)
Sets the mouseover target.
Declaration
public void SetMouseOverTarget(IntPtr actorAddress)
Parameters
| Type | Name | Description |
|---|---|---|
| System.IntPtr | actorAddress | Actor (address) to target. |
SetPreviousTarget(GameObject)
Sets the previous target.
Declaration
public void SetPreviousTarget(GameObject actor)
Parameters
| Type | Name | Description |
|---|---|---|
| GameObject | actor | Actor to target. |
SetPreviousTarget(IntPtr)
Sets the previous target.
Declaration
public void SetPreviousTarget(IntPtr actorAddress)
Parameters
| Type | Name | Description |
|---|---|---|
| System.IntPtr | actorAddress | Actor (address) to target. |
SetSoftTarget(GameObject)
Sets the soft target.
Declaration
public void SetSoftTarget(GameObject actor)
Parameters
| Type | Name | Description |
|---|---|---|
| GameObject | actor | Actor to target. |
SetSoftTarget(IntPtr)
Sets the soft target.
Declaration
public void SetSoftTarget(IntPtr actorAddress)
Parameters
| Type | Name | Description |
|---|---|---|
| System.IntPtr | actorAddress | Actor (address) to target. |
SetTarget(GameObject)
Sets the current target.
Declaration
public void SetTarget(GameObject actor)
Parameters
| Type | Name | Description |
|---|---|---|
| GameObject | actor | Actor to target. |
SetTarget(IntPtr)
Sets the current target.
Declaration
public void SetTarget(IntPtr actorAddress)
Parameters
| Type | Name | Description |
|---|---|---|
| System.IntPtr | actorAddress | Actor (address) to target. |