using Robust.Shared.Prototypes; namespace Content.Shared.Mapping; /// /// This is a prototype for predefining the start content of the “templates” section in the map editor. /// [Prototype("mappingTemplate")] public sealed partial class MappingTemplatePrototype : IPrototype { [IdDataField] public string ID { get; } = default!; /// /// Used to allocate root objects to the corresponding sections of the map editor interface. /// [DataField] public TemplateType? RootType { get; } /// /// Prototypes for which this one will be a parent. /// [DataField] public List Children { get; } = new (); } [Serializable] public enum TemplateType : byte { Tile, Decal, Entity, }