give multistation stuff VV R/W for mappers
This commit is contained in:
@@ -2,6 +2,7 @@
|
|||||||
using Robust.Shared.Analyzers;
|
using Robust.Shared.Analyzers;
|
||||||
using Robust.Shared.GameObjects;
|
using Robust.Shared.GameObjects;
|
||||||
using Robust.Shared.Serialization.Manager.Attributes;
|
using Robust.Shared.Serialization.Manager.Attributes;
|
||||||
|
using Robust.Shared.ViewVariables;
|
||||||
|
|
||||||
namespace Content.Server.Station;
|
namespace Content.Server.Station;
|
||||||
|
|
||||||
@@ -17,5 +18,6 @@ public class BecomesStationComponent : Component
|
|||||||
/// scenarios.
|
/// scenarios.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[DataField("id", required: true)]
|
[DataField("id", required: true)]
|
||||||
|
[ViewVariables(VVAccess.ReadWrite)]
|
||||||
public string Id = default!;
|
public string Id = default!;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
using Robust.Shared.Analyzers;
|
using Robust.Shared.Analyzers;
|
||||||
using Robust.Shared.GameObjects;
|
using Robust.Shared.GameObjects;
|
||||||
using Robust.Shared.Serialization.Manager.Attributes;
|
using Robust.Shared.Serialization.Manager.Attributes;
|
||||||
|
using Robust.Shared.ViewVariables;
|
||||||
|
|
||||||
namespace Content.Server.Station;
|
namespace Content.Server.Station;
|
||||||
|
|
||||||
@@ -14,5 +15,6 @@ namespace Content.Server.Station;
|
|||||||
public class PartOfStationComponent : Component
|
public class PartOfStationComponent : Component
|
||||||
{
|
{
|
||||||
[DataField("id", required: true)] // does yamllinter even lint maps for required fields?
|
[DataField("id", required: true)] // does yamllinter even lint maps for required fields?
|
||||||
|
[ViewVariables(VVAccess.ReadWrite)]
|
||||||
public string Id = default!;
|
public string Id = default!;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user