mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-09-06 17:58:05 +02:00
18 lines
523 B
C#
18 lines
523 B
C#
using Robust.Shared.GameObjects;
|
|
using Robust.Shared.Serialization.Manager.Attributes;
|
|
|
|
namespace Robust.Server.GameObjects
|
|
{
|
|
[RegisterComponent]
|
|
[Access(typeof(VisibilitySystem))]
|
|
public sealed partial class VisibilityComponent : Component
|
|
{
|
|
/// <summary>
|
|
/// The visibility layer for the entity.
|
|
/// Players whose visibility masks don't match this won't get state updates for it.
|
|
/// </summary>
|
|
[DataField("layer")]
|
|
public ushort Layer = 1;
|
|
}
|
|
}
|