Show / Hide Table of Contents

Class SpawnEntitiesBehavior

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

Fields

| Improve this Doc View Source

DoTransferForensics

Declaration
public bool DoTransferForensics
Field Value
Type Description
System.Boolean

Properties

| Improve this Doc View Source

Offset

Declaration
public float Offset { get; set; }
Property Value
Type Description
System.Single
| Improve this Doc View Source

Spawn

Entities spawned on reaching this threshold, from a min to a max.

Declaration
public Dictionary<string, MinMax> Spawn { get; set; }
Property Value
Type Description
Dictionary<System.String, MinMax>

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

TransferForensics(EntityUid, DestructibleSystem, EntityUid)

Declaration
public void TransferForensics(EntityUid spawned, DestructibleSystem system, EntityUid owner)
Parameters
Type Name Description
EntityUid spawned
DestructibleSystem system
EntityUid owner

Implements

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