Show / Hide Table of Contents

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 Source

CanRestock

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>
| Improve this Doc View Source

RestockDelay

The time (in seconds) that it takes to restock a machine.

Declaration
public TimeSpan RestockDelay
Field Value
Type Description
TimeSpan
| Improve this Doc View Source

SoundRestockDone

Sound that plays when finished restocking a machine.

Declaration
public SoundSpecifier SoundRestockDone
Field Value
Type Description
Robust.Shared.Audio.SoundSpecifier
| Improve this Doc View Source

SoundRestockStart

Sound that plays when starting to restock a machine.

Declaration
public SoundSpecifier SoundRestockStart
Field Value
Type Description
Robust.Shared.Audio.SoundSpecifier
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾