Show / Hide Table of Contents

Class OpenBehavior

Causes the drink/food to open when the destruction threshold is reached. If it is already open nothing happens.

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

Methods

| Improve this Doc View Source

Execute(EntityUid, DestructibleSystem, Nullable<EntityUid>)

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

Implements

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