Show / Hide Table of Contents

Class DamageContainerPrototype

A damage container which can be used to specify support for various damage types.

Inheritance
System.Object
DamageContainerPrototype
Implements
Robust.Shared.Prototypes.IPrototype
Namespace: Content.Shared.Damage.Prototypes
Assembly: Content.Shared.dll
Syntax
public sealed class DamageContainerPrototype : object, IPrototype
Remarks

This is effectively just a list of damage types that can be specified in YAML files using both damage types and damage groups. Currently this is only used to specify what damage types a DamageableComponent should support.

Fields

| Improve this Doc View Source

SupportedGroups

List of damage groups that are supported by this container.

Declaration
public List<string> SupportedGroups
Field Value
Type Description
List<System.String>
| Improve this Doc View Source

SupportedTypes

Partial List of damage types supported by this container. Note that members of the damage groups listed in SupportedGroups are also supported, but they are not included in this list.

Declaration
public List<string> SupportedTypes
Field Value
Type Description
List<System.String>

Properties

| Improve this Doc View Source

ID

Declaration
public string ID { get; }
Property Value
Type Description
System.String

Implements

Robust.Shared.Prototypes.IPrototype
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾