mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-14 04:34:16 +01:00
35 lines
735 B
C#
35 lines
735 B
C#
using System.Runtime.InteropServices;
|
|
|
|
namespace Dalamud.Game.ClientState.Structs;
|
|
|
|
/// <summary>
|
|
/// Native memory representation of a FFXIV status effect.
|
|
/// </summary>
|
|
[StructLayout(LayoutKind.Sequential)]
|
|
public struct StatusEffect
|
|
{
|
|
/// <summary>
|
|
/// The effect ID.
|
|
/// </summary>
|
|
public short EffectId;
|
|
|
|
/// <summary>
|
|
/// How many stacks are present.
|
|
/// </summary>
|
|
public byte StackCount;
|
|
|
|
/// <summary>
|
|
/// Additional parameters.
|
|
/// </summary>
|
|
public byte Param;
|
|
|
|
/// <summary>
|
|
/// The duration remaining.
|
|
/// </summary>
|
|
public float Duration;
|
|
|
|
/// <summary>
|
|
/// The ID of the actor that caused this effect.
|
|
/// </summary>
|
|
public int OwnerId;
|
|
}
|