Adds VV attributes on some fields in surveillance camera components (#11453)
This commit is contained in:
@@ -10,6 +10,7 @@ public sealed class SurveillanceCameraComponent : Component
|
||||
// List of active viewers. This is for bookkeeping purposes,
|
||||
// so that when a camera shuts down, any entity viewing it
|
||||
// will immediately have their subscription revoked.
|
||||
[ViewVariables]
|
||||
public HashSet<EntityUid> ActiveViewers { get; } = new();
|
||||
|
||||
// Monitors != Viewers, as viewers are entities that are tied
|
||||
@@ -18,6 +19,7 @@ public sealed class SurveillanceCameraComponent : Component
|
||||
// Monitors are grouped sets of viewers, and may be
|
||||
// completely different monitor types (e.g., monitor console,
|
||||
// AI, etc.)
|
||||
[ViewVariables]
|
||||
public HashSet<EntityUid> ActiveMonitors { get; } = new();
|
||||
|
||||
// If this camera is active or not. Deactivating a camera
|
||||
|
||||
Reference in New Issue
Block a user