Show / Hide Table of Contents

Class DamageOnHoldingComponent

Inheritance
System.Object
DamageOnHoldingComponent
Namespace: Content.Shared.Damage.Components
Assembly: Content.Shared.dll
Syntax
public sealed class DamageOnHoldingComponent : Component

Fields

| Improve this Doc View Source

Damage

Damage per interval dealt to entity holding the entity with this component

Declaration
public DamageSpecifier Damage
Field Value
Type Description
DamageSpecifier
| Improve this Doc View Source

Enabled

Declaration
public bool Enabled
Field Value
Type Description
System.Boolean
| Improve this Doc View Source

Interval

Delay between damage events in seconds

Declaration
public float Interval
Field Value
Type Description
System.Single
| Improve this Doc View Source

NextDamage

Declaration
public TimeSpan NextDamage
Field Value
Type Description
TimeSpan
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾