Show / Hide Table of Contents

Class DumpRestockInventory

Spawns a portion of the total items from one of the canRestock inventory entries on a VendingMachineRestock component.

Inheritance
System.Object
DumpRestockInventory
Implements
IThresholdBehavior
Namespace: Content.Server.Destructible.Thresholds.Behaviors
Assembly: Content.Server.dll
Syntax
public sealed class DumpRestockInventory : object, IThresholdBehavior

Fields

| Improve this Doc View Source

Percent

The percent of each inventory entry that will be salvaged upon destruction of the package.

Declaration
public float Percent
Field Value
Type Description
System.Single

Properties

| Improve this Doc View Source

Offset

Declaration
public float Offset { get; set; }
Property Value
Type Description
System.Single

Methods

| Improve this Doc View Source

Execute(EntityUid, DestructibleSystem, Nullable<EntityUid>)

Declaration
public void Execute(EntityUid owner, DestructibleSystem system, EntityUid? cause = null)
Parameters
Type Name Description
EntityUid owner
DestructibleSystem system
System.Nullable<EntityUid> cause

Implements

IThresholdBehavior
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾