using Content.Shared.Decals; using Content.Shared.Maps; using Robust.Shared.Prototypes; namespace Content.Client.Mapping; /// /// Used to represent a button's data in the mapping editor. /// public sealed class MappingPrototype { /// /// The prototype instance, if any. /// Can be one of , or /// If null, this is a top-level button (such as Entities, Tiles or Decals) /// public readonly IPrototype? Prototype; /// /// The text to display on the UI for this button. /// public readonly string Name; /// /// Which other prototypes (buttons) this one is nested inside of. /// public List? Parents; /// /// Which other prototypes (buttons) are nested inside this one. /// public List? Children; public MappingPrototype(IPrototype? prototype, string name) { Prototype = prototype; Name = name; } }