1
Fork 0
mirror of https://github.com/redstrate/Auracite.git synced 2025-04-23 21:27:45 +00:00
auracite/dalamud/Auracite/CurrencyStep.cs

30 lines
576 B
C#
Raw Normal View History

2024-10-05 12:26:12 -04:00
using FFXIVClientStructs.FFXIV.Client.Game;
namespace Auracite;
public class CurrencyStep : IStep
{
public event IStep.CompletedDelegate? Completed;
public void Run()
{
if (Plugin.ClientState.LocalPlayer != null)
{
unsafe
{
Plugin.package.gil = InventoryManager.Instance()->GetGil();
}
}
Completed?.Invoke();
}
public string StepName()
{
return "Currency";
}
public string StepDescription()
{
return "No user action required.";
}
}