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 SourceBold
Should use of this speech verb bold the corresponding message?
Declaration
public bool Bold
Field Value
Type | Description |
---|---|
System.Boolean |
FontId
What font prototype ID should be used for the message contents?
Declaration
public string FontId
Field Value
Type | Description |
---|---|
System.String |
FontSize
What font size should be used for the message contents?
Declaration
public int FontSize
Field Value
Type | Description |
---|---|
System.Int32 |
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 |
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 SourceID
Declaration
public string ID { get; }
Property Value
Type | Description |
---|---|
System.String |
Implements
Robust.Shared.Prototypes.IPrototype