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 SourceDamage
Damage per interval dealt to entity holding the entity with this component
Declaration
public DamageSpecifier Damage
Field Value
Type | Description |
---|---|
DamageSpecifier |
Enabled
Declaration
public bool Enabled
Field Value
Type | Description |
---|---|
System.Boolean |
Interval
Delay between damage events in seconds
Declaration
public float Interval
Field Value
Type | Description |
---|---|
System.Single |
NextDamage
Declaration
public TimeSpan NextDamage
Field Value
Type | Description |
---|---|
TimeSpan |