Client LuaCsForBarotrauma
AIChatMessage.cs
2 using System;
3 using System.Collections.Generic;
4 using System.Text;
5 
6 namespace Barotrauma
7 {
9  {
10  public readonly string Message;
11 
16  public readonly Identifier Identifier;
17 
19 
20  public float SendDelay;
21  public double SendTime;
22 
23  public AIChatMessage(string message, ChatMessageType? type, Identifier identifier = default, float delay = 0.0f)
24  {
25  Message = message;
26  MessageType = type;
27  Identifier = identifier;
28  SendDelay = delay;
29  }
30  }
31 }
readonly Identifier Identifier
An arbitrary identifier that can be used to determine what kind of a message this is and prevent char...
readonly string Message
ChatMessageType? MessageType
AIChatMessage(string message, ChatMessageType? type, Identifier identifier=default, float delay=0.0f)