WorldLoaderComponent.cs 504 B

123456789101112131415161718
  1. using Content.Server.Worldgen.Systems;
  2. namespace Content.Server.Worldgen.Components;
  3. /// <summary>
  4. /// This is used for allowing some objects to load the game world.
  5. /// </summary>
  6. [RegisterComponent]
  7. [Access(typeof(WorldControllerSystem))]
  8. public sealed partial class WorldLoaderComponent : Component
  9. {
  10. /// <summary>
  11. /// The radius in which the loader loads the world.
  12. /// </summary>
  13. [ViewVariables(VVAccess.ReadWrite)] [DataField("radius")]
  14. public int Radius = 128;
  15. }