Skip to content

Commit

Permalink
Update ShellCommandInterface (#1306)
Browse files Browse the repository at this point in the history
* Update ShellCommandInterface

* Slightly better name
  • Loading branch information
Haselnussbomber authored Feb 15, 2025
1 parent ab7a783 commit a9070a1
Showing 1 changed file with 14 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,4 +1,17 @@
using FFXIVClientStructs.FFXIV.Client.System.String;

namespace FFXIVClientStructs.FFXIV.Component.Shell;

[GenerateInterop]
[StructLayout(LayoutKind.Explicit, Size = 0x08)]
public struct ShellCommandInterface;
public unsafe partial struct ShellCommandInterface {
[VirtualFunction(1)]
public partial int ExecuteCommand(CommandContext* context, void* source);

[StructLayout(LayoutKind.Explicit, Size = 0x30)]
public struct CommandContext {
[FieldOffset(0x00)] public ushort TextCommandId;

[FieldOffset(0x18)] public StdVector<Utf8String> StringArgs;
}
}

0 comments on commit a9070a1

Please sign in to comment.