Show / Hide Table of Contents

Class EmoteOnDamageComponent

Causes an entity to automatically emote when taking damage.

Inheritance
System.Object
EmoteOnDamageComponent
Namespace: Content.Server.Chat
Assembly: Content.Server.dll
Syntax
public sealed class EmoteOnDamageComponent : Component

Fields

| Improve this Doc View Source

EmoteChance

Chance of preforming an emote when taking damage and not on cooldown.

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

EmoteCooldown

The cooldown between emotes.

Declaration
public TimeSpan EmoteCooldown
Field Value
Type Description
TimeSpan
| Improve this Doc View Source

Emotes

A set of emotes that will be randomly picked from. EmotePrototype

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

HiddenFromChatWindow

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

LastEmoteTime

The simulation time of the last emote preformed due to taking damage.

Declaration
public TimeSpan LastEmoteTime
Field Value
Type Description
TimeSpan
| Improve this Doc View Source

WithChat

Declaration
public bool WithChat
Field Value
Type Description
System.Boolean
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾