Type

enum Type

An enumeration of hitsplat types.

Entries

Link copied to clipboard

Blocking damage by me (blue).

Link copied to clipboard

Blocking damage by others (blue).

Link copied to clipboard

Taking damage by me (red).

Link copied to clipboard

Taking damage by others (red).

Link copied to clipboard

Taking damage by me (cyan).

Link copied to clipboard

Taking damage by others (cyan).

Link copied to clipboard

Taking damage by me (orange).

Link copied to clipboard

Taking damage by others (orange).

Link copied to clipboard

Taking damage by me (yellow).

Link copied to clipboard

Taking damage by others (yellow).

Link copied to clipboard

Taking damage by me (white).

Link copied to clipboard

Taking damage by others (white/black).

Link copied to clipboard

Damage from poison (green).

Link copied to clipboard

Damage from venom (teal).

Link copied to clipboard

Damage from disease (orange).

Link copied to clipboard

Healing (purple).

Link copied to clipboard

Bleeding hit splat type (light red).

Link copied to clipboard

Unknown hit splat type

Functions

Link copied to clipboard
open fun valueOf(name: String): Hitsplat.Type

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.