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.
29 lines
1.1 KiB
C#
29 lines
1.1 KiB
C#
using System.Collections.Generic;
|
|
|
|
namespace SabreTools.Data.Models.BSP
|
|
{
|
|
/// <summary>
|
|
/// The entity lump is basically a pure ASCII text section.
|
|
/// It consists of the string representations of all entities,
|
|
/// which are copied directly from the input file to the output
|
|
/// BSP file by the compiler.
|
|
///
|
|
/// Every entity begins and ends with curly brackets. In between
|
|
/// there are the attributes of the entity, one in each line,
|
|
/// which are pairs of strings enclosed by quotes. The first
|
|
/// string is the name of the attribute (the key), the second one
|
|
/// its value. The attribute "classname" is mandatory for every
|
|
/// entity specifiying its type and therefore, how it is
|
|
/// interpreted by the engine.
|
|
/// </summary>
|
|
/// <see href="https://developer.valvesoftware.com/wiki/BSP_(GoldSrc)"/>
|
|
/// <see href="https://developer.valvesoftware.com/wiki/BSP_(Source)"/>
|
|
public sealed class Entity
|
|
{
|
|
/// <summary>
|
|
/// Entity attributes
|
|
/// </summary>
|
|
public List<KeyValuePair<string, string>> Attributes { get; set; } = [];
|
|
}
|
|
}
|