mirror of
https://github.com/SabreTools/SabreTools.Serialization.git
synced 2026-04-05 22:01:33 +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.
33 lines
979 B
C#
33 lines
979 B
C#
using System.Runtime.InteropServices;
|
|
|
|
namespace SabreTools.Data.Models.BSP
|
|
{
|
|
/// <see href="https://github.com/ValveSoftware/source-sdk-2013/blob/0d8dceea4310fde5706b3ce1c70609d72a38efdf/sp/src/public/bspfile.h#L557"/>
|
|
[StructLayout(LayoutKind.Sequential)]
|
|
public sealed class CDispSubNeighbor
|
|
{
|
|
/// <summary>
|
|
/// This indexes into ddispinfos.
|
|
/// </summary>
|
|
/// <remarks>0xFFFF if there is no neighbor here.</remarks>
|
|
public ushort NeighborIndex;
|
|
|
|
/// <summary>
|
|
/// (CCW) rotation of the neighbor wrt this displacement.
|
|
/// </summary>
|
|
public byte NeighborOrientation;
|
|
|
|
// These use the NeighborSpan type.
|
|
|
|
/// <summary>
|
|
/// Where the neighbor fits onto this side of our displacement.
|
|
/// </summary>
|
|
public byte Span;
|
|
|
|
/// <summary>
|
|
/// Where we fit onto our neighbor.
|
|
/// </summary>
|
|
public byte NeighborSpan;
|
|
}
|
|
}
|