GridPreloaderComponent.cs 506 B

12345678910111213141516
  1. using Content.Shared.GridPreloader.Prototypes;
  2. using Robust.Shared.Map;
  3. using Robust.Shared.Prototypes;
  4. namespace Content.Server.GridPreloader;
  5. /// <summary>
  6. /// Component storing data about preloaded grids and their location
  7. /// Goes on the map entity
  8. /// </summary>
  9. [RegisterComponent, Access(typeof(GridPreloaderSystem))]
  10. public sealed partial class GridPreloaderComponent : Component
  11. {
  12. [DataField]
  13. public Dictionary<ProtoId<PreloadedGridPrototype>, List<EntityUid>> PreloadedGrids = new();
  14. }