Show / Hide Table of Contents

Class DestructibleSystem

Inheritance
System.Object
SharedDestructibleSystem
DestructibleSystem
Namespace: Content.Server.Destructible
Assembly: Content.Server.dll
Syntax
public sealed class DestructibleSystem : SharedDestructibleSystem

Fields

| Improve this Doc View Source

_adminLogger

Declaration
public readonly IAdminLogManager _adminLogger
Field Value
Type Description
IAdminLogManager
| Improve this Doc View Source

AtmosphereSystem

Declaration
public readonly AtmosphereSystem AtmosphereSystem
Field Value
Type Description
AtmosphereSystem
| Improve this Doc View Source

AudioSystem

Declaration
public readonly AudioSystem AudioSystem
Field Value
Type Description
Robust.Server.GameObjects.AudioSystem
| Improve this Doc View Source

BodySystem

Declaration
public readonly BodySystem BodySystem
Field Value
Type Description
BodySystem
| Improve this Doc View Source

ComponentFactory

Declaration
public readonly IComponentFactory ComponentFactory
Field Value
Type Description
IComponentFactory
| Improve this Doc View Source

ConstructionSystem

Declaration
public readonly ConstructionSystem ConstructionSystem
Field Value
Type Description
ConstructionSystem
| Improve this Doc View Source

ExplosionSystem

Declaration
public readonly ExplosionSystem ExplosionSystem
Field Value
Type Description
ExplosionSystem
| Improve this Doc View Source

PrototypeManager

Declaration
public readonly IPrototypeManager PrototypeManager
Field Value
Type Description
Robust.Shared.Prototypes.IPrototypeManager
| Improve this Doc View Source

PuddleSystem

Declaration
public readonly PuddleSystem PuddleSystem
Field Value
Type Description
PuddleSystem
| Improve this Doc View Source

Random

Declaration
public readonly IRobustRandom Random
Field Value
Type Description
Robust.Shared.Random.IRobustRandom
| Improve this Doc View Source

SolutionContainerSystem

Declaration
public readonly SolutionContainerSystem SolutionContainerSystem
Field Value
Type Description
SolutionContainerSystem
| Improve this Doc View Source

StackSystem

Declaration
public readonly StackSystem StackSystem
Field Value
Type Description
StackSystem
| Improve this Doc View Source

TriggerSystem

Declaration
public readonly TriggerSystem TriggerSystem
Field Value
Type Description
TriggerSystem

Properties

| Improve this Doc View Source

EntityManager

Declaration
public IEntityManager EntityManager { get; }
Property Value
Type Description
IEntityManager

Methods

| Improve this Doc View Source

DestroyedAt(EntityUid, DestructibleComponent)

Figure out how much damage an entity needs to have in order to be destroyed.

Declaration
public FixedPoint2 DestroyedAt(EntityUid uid, DestructibleComponent destructible = null)
Parameters
Type Name Description
EntityUid uid
DestructibleComponent destructible
Returns
Type Description
FixedPoint2
Remarks

This assumes that this entity has some sort of destruction or breakage behavior triggered by a total-damage threshold.

| Improve this Doc View Source

Execute(EntityUid, DestructibleComponent, DamageChangedEvent)

Check if any thresholds were reached. if they were, execute them.

Declaration
public void Execute(EntityUid uid, DestructibleComponent component, DamageChangedEvent args)
Parameters
Type Name Description
EntityUid uid
DestructibleComponent component
DamageChangedEvent args
| Improve this Doc View Source

Initialize()

Declaration
public override void Initialize()
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾