servicepoint-tanks/DisplayCommands/Internals/HeaderWindow.cs

20 lines
394 B
C#
Raw Normal View History

2024-04-12 14:29:26 +02:00
using System.Runtime.InteropServices;
using EndiannessSourceGenerator;
2024-04-12 14:29:26 +02:00
namespace DisplayCommands.Internals;
[StructEndianness(IsLittleEndian = false)]
2024-04-12 14:29:26 +02:00
[StructLayout(LayoutKind.Sequential, Pack = 16, Size = 10)]
internal partial struct HeaderWindow
2024-04-12 14:29:26 +02:00
{
private ushort _command;
2024-04-12 14:29:26 +02:00
private ushort _posX;
2024-04-12 14:29:26 +02:00
private ushort _posY;
2024-04-12 14:29:26 +02:00
private ushort _width;
2024-04-12 14:29:26 +02:00
private ushort _height;
2024-04-19 13:40:26 +02:00
}