Show / Hide Table of Contents

Class SpeechVerbPrototype

Handles replacing speech verbs and other conditional chat modifications like bolding or font type depending on punctuation or by directly overriding the prototype.

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

Fields

| Improve this Doc View Source

Bold

Should use of this speech verb bold the corresponding message?

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

FontId

What font prototype ID should be used for the message contents?

Declaration
public string FontId
Field Value
Type Description
System.String
| Improve this Doc View Source

FontSize

What font size should be used for the message contents?

Declaration
public int FontSize
Field Value
Type Description
System.Int32
| Improve this Doc View Source

Priority

If multiple applicable speech verb protos are found (i.e. through speech suffixes) this will determine which one is picked. Higher = more priority.

Declaration
public int Priority
Field Value
Type Description
System.Int32
| Improve this Doc View Source

SpeechVerbStrings

Loc strings to be passed to the chat wrapper. 'says', 'states', etc. Picks one at random if there are multiple.

Declaration
public List<string> SpeechVerbStrings
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
☀
☾