Barotrauma Client Doc
Barotrauma.AIChatMessage Class Reference

Public Member Functions

 AIChatMessage (string message, ChatMessageType? type, Identifier identifier=default, float delay=0.0f)
 

Public Attributes

readonly string Message
 
readonly Identifier Identifier
 An arbitrary identifier that can be used to determine what kind of a message this is and prevent characters from saying the same kind of line too often. More...
 
ChatMessageTypeMessageType
 
float SendDelay
 
double SendTime
 

Detailed Description

Definition at line 8 of file AIChatMessage.cs.

Constructor & Destructor Documentation

◆ AIChatMessage()

Barotrauma.AIChatMessage.AIChatMessage ( string  message,
ChatMessageType type,
Identifier  identifier = default,
float  delay = 0.0f 
)

Definition at line 23 of file AIChatMessage.cs.

Member Data Documentation

◆ Identifier

readonly Identifier Barotrauma.AIChatMessage.Identifier

An arbitrary identifier that can be used to determine what kind of a message this is and prevent characters from saying the same kind of line too often.

Definition at line 16 of file AIChatMessage.cs.

◆ Message

readonly string Barotrauma.AIChatMessage.Message

Definition at line 10 of file AIChatMessage.cs.

◆ MessageType

ChatMessageType? Barotrauma.AIChatMessage.MessageType

Definition at line 18 of file AIChatMessage.cs.

◆ SendDelay

float Barotrauma.AIChatMessage.SendDelay

Definition at line 20 of file AIChatMessage.cs.

◆ SendTime

double Barotrauma.AIChatMessage.SendTime

Definition at line 21 of file AIChatMessage.cs.