Class VendingMachineRestockComponent
Inheritance
System.Object
VendingMachineRestockComponent
Namespace: Content.Shared.VendingMachines
Assembly: Content.Shared.dll
Syntax
public sealed class VendingMachineRestockComponent : Component
Fields
| Improve this Doc View SourceCanRestock
What sort of machine inventory does this restock? This is checked against the VendingMachineComponent's pack value.
Declaration
public HashSet<string> CanRestock
Field Value
Type | Description |
---|---|
HashSet<System.String> |
RestockDelay
The time (in seconds) that it takes to restock a machine.
Declaration
public TimeSpan RestockDelay
Field Value
Type | Description |
---|---|
TimeSpan |
SoundRestockDone
Sound that plays when finished restocking a machine.
Declaration
public SoundSpecifier SoundRestockDone
Field Value
Type | Description |
---|---|
Robust.Shared.Audio.SoundSpecifier |
SoundRestockStart
Sound that plays when starting to restock a machine.
Declaration
public SoundSpecifier SoundRestockStart
Field Value
Type | Description |
---|---|
Robust.Shared.Audio.SoundSpecifier |