mirror of
https://github.com/SabreTools/SabreTools.Serialization.git
synced 2026-04-17 11:43:02 +00:00
This change looks dramatic, but it's just separating out the already-split namespaces into separate top-level folders. In theory, every single one could be built into their own Nuget package. `SabreTools.Serialization` still builds the normal Nuget package that is used by all other projects and includes all namespaces.
23 lines
713 B
C#
23 lines
713 B
C#
using System.Runtime.InteropServices;
|
|
|
|
namespace SabreTools.Data.Models.BSP
|
|
{
|
|
/// <see href="https://github.com/RavuAlHemio/hllib/blob/master/HLLib/VBSPFile.h"/>
|
|
/// <see href="https://developer.valvesoftware.com/wiki/BSP_(Source)"/>
|
|
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Ansi)]
|
|
public sealed class VbspLumpEntry : BspLumpEntry
|
|
{
|
|
/// <summary>
|
|
/// Lump format version
|
|
/// </summary>
|
|
public uint Version;
|
|
|
|
/// <summary>
|
|
/// Lump ident code
|
|
/// </summary>
|
|
/// <remarks>Default to 0, 0, 0, 0</remarks>
|
|
[MarshalAs(UnmanagedType.ByValArray, SizeConst = 4)]
|
|
public byte[] FourCC = new byte[4];
|
|
}
|
|
}
|