LoadedChunkComponent.cs 455 B

1234567891011121314151617
  1. using Content.Server.Worldgen.Systems;
  2. namespace Content.Server.Worldgen.Components;
  3. /// <summary>
  4. /// This is used for marking a chunk as loaded.
  5. /// </summary>
  6. [RegisterComponent]
  7. [Access(typeof(WorldControllerSystem))]
  8. public sealed partial class LoadedChunkComponent : Component
  9. {
  10. /// <summary>
  11. /// The current list of entities loading this chunk.
  12. /// </summary>
  13. [ViewVariables] public List<EntityUid>? Loaders = null;
  14. }