-
Notifications
You must be signed in to change notification settings - Fork 170
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update ShellCommandInterface (#1306)
* Update ShellCommandInterface * Slightly better name
- Loading branch information
1 parent
ab7a783
commit a9070a1
Showing
1 changed file
with
14 additions
and
1 deletion.
There are no files selected for viewing
15 changes: 14 additions & 1 deletion
15
FFXIVClientStructs/FFXIV/Component/Shell/ShellCommandInterface.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
} | ||
} |