34 lines
748 B
C#
34 lines
748 B
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
|
|
namespace Lucidiot.Raima {
|
|
public enum RecordEntryOptions : ushort {
|
|
None = 0x0000,
|
|
Timestamped = 0x0001,
|
|
Static = 0x0002,
|
|
Local = 0x0004,
|
|
ContainsCompoundKey = 0x0010,
|
|
}
|
|
|
|
[StructLayout(LayoutKind.Explicit, Size = 12)]
|
|
public struct RecordEntry {
|
|
[FieldOffset(0)]
|
|
public ushort FileEntryIndex;
|
|
|
|
[FieldOffset(2)]
|
|
public ushort Length;
|
|
|
|
[FieldOffset(4)]
|
|
public ushort DataOffset;
|
|
|
|
[FieldOffset(6)]
|
|
public ushort FirstFieldEntryIndex;
|
|
|
|
[FieldOffset(8)]
|
|
public ushort FieldEntryCount;
|
|
|
|
[FieldOffset(10)]
|
|
public RecordEntryOptions Options;
|
|
}
|
|
}
|