Show / Hide Table of Contents

Class EjectVendorItems

Throws out a specific amount of random items from a vendor

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

Fields

| Improve this Doc View Source

Max

The maximum amount of vendor items it can eject useful for high-inventory vendors

Declaration
public int Max
Field Value
Type Description
System.Int32
| Improve this Doc View Source

Percent

The percent amount of the total inventory that will be ejected.

Declaration
public float Percent
Field 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
☀
☾