Makes more fields VV (#2026)
* Some more VV * Fixed build & some more gun vvs * Added VendingMachine Inventory & Items
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
using System.Threading.Tasks;
|
||||
using System.Threading.Tasks;
|
||||
using Content.Server.GameObjects.Components.GUI;
|
||||
using Content.Shared.GameObjects.Components;
|
||||
using Content.Shared.Interfaces.GameObjects.Components;
|
||||
using Robust.Shared.GameObjects;
|
||||
using Robust.Shared.Serialization;
|
||||
using Robust.Shared.ViewVariables;
|
||||
|
||||
namespace Content.Server.GameObjects.Components
|
||||
{
|
||||
@@ -11,8 +12,10 @@ namespace Content.Server.GameObjects.Components
|
||||
public class PlaceableSurfaceComponent : SharedPlaceableSurfaceComponent, IInteractUsing
|
||||
{
|
||||
private bool _isPlaceable;
|
||||
[ViewVariables(VVAccess.ReadWrite)]
|
||||
public bool IsPlaceable { get => _isPlaceable; set => _isPlaceable = value; }
|
||||
|
||||
[ViewVariables]
|
||||
int IInteractUsing.Priority => 1;
|
||||
|
||||
public override void ExposeData(ObjectSerializer serializer)
|
||||
|
||||
Reference in New Issue
Block a user