Struct AtkUnitBasePtr
A readonly wrapper for AtkUnitBase.
Assembly: Dalamud.dll​
public readonly struct AtkUnitBasePtr : IEquatable<AtkUnitBasePtr>
Implements:
System.IEquatable<Dalamud.Game.NativeWrapper.AtkUnitBasePtr>
Properties​
IsNull​
Gets a value indicating whether the underlying pointer is a nullptr.
public bool IsNull { get; }
IsReady​
Gets a value indicating whether the OnSetup function has been called.
public bool IsReady { get; }
IsVisible​
Gets a value indicating whether the AtkUnitBase is visible.
public bool IsVisible { get; }
Name​
Gets the name.
public string Name { get; }
NameSpan​
Gets the name as System.ReadOnlySpan1`.
public ReadOnlySpan<byte> NameSpan { get; }
Id​
Gets the id.
public ushort Id { get; }
ParentId​
Gets the parent id.
public ushort ParentId { get; }
HostId​
Gets the host id.
public ushort HostId { get; }
Scale​
Gets the scale.
public float Scale { get; }
X​
Gets the x-position.
public short X { get; }
Y​
Gets the y-position.
public short Y { get; }
Width​
Gets the width.
public float Width { get; }
Height​
Gets the height.
public float Height { get; }
ScaledWidth​
Gets the scaled width.
public float ScaledWidth { get; }
ScaledHeight​
Gets the scaled height.
public float ScaledHeight { get; }
Position​
Gets the position.
public Vector2 Position { get; }
Size​
Gets the size.
public Vector2 Size { get; }
ScaledSize​
Gets the scaled size.
public Vector2 ScaledSize { get; }
AtkValuesCount​
Gets the number of FFXIVClientStructs.FFXIV.Component.GUI.AtkValue entries.
public int AtkValuesCount { get; }
AtkValues​
Gets an enumerable collection of Dalamud.Game.NativeWrapper.AtkValuePtr of the addons current AtkValues.
public IEnumerable<AtkValuePtr> AtkValues { get; }
Fields​
Address​
The address to the AtkUnitBase.
public readonly nint Address
Methods​
Focus()​
Focuses the AtkUnitBase.
public void Focus()
Equals(AtkUnitBasePtr)​
Determines whether the specified AtkUnitBasePtr is equal to the current AtkUnitBasePtr.
public bool Equals(AtkUnitBasePtr other)
Returns​
System.Boolean: true if the specified AtkUnitBasePtr is equal to the current AtkUnitBasePtr; otherwise, false.
Parameters​
| Type | Name | Description |
|---|---|---|
| Dalamud.Game.NativeWrapper.AtkUnitBasePtr | other | The AtkUnitBasePtr to compare with the current AtkUnitBasePtr. |
Equals(object)​
public override bool Equals(object obj)
Returns​
System.Boolean
Parameters​
| Type | Name |
|---|---|
System.Object | obj |
GetHashCode()​
public override int GetHashCode()
Returns​
System.Int32
Implements​
System.IEquatable<Dalamud.Game.NativeWrapper.AtkUnitBasePtr>