Class ChatMessage
Inheritance
System.Object
ChatMessage
Assembly: Content.Shared.dll
Syntax
public sealed class ChatMessage : object
Constructors
|
Improve this Doc
View Source
ChatMessage(ChatChannel, String, String, NetEntity, Boolean, Nullable<Color>, Nullable<String>, Single)
Declaration
public ChatMessage(ChatChannel channel, string message, string wrappedMessage, NetEntity source, bool hideChat = false, Color? colorOverride = null, string? audioPath = null, float audioVolume = null)
Parameters
Type |
Name |
Description |
ChatChannel |
channel |
|
System.String |
message |
|
System.String |
wrappedMessage |
|
NetEntity |
source |
|
System.Boolean |
hideChat |
|
System.Nullable<Color> |
colorOverride |
|
System.Nullable<System.String> |
audioPath |
|
System.Single |
audioVolume |
|
Fields
|
Improve this Doc
View Source
AudioPath
Declaration
Field Value
Type |
Description |
System.Nullable<System.String> |
|
|
Improve this Doc
View Source
AudioVolume
Declaration
Field Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
Channel
Declaration
public ChatChannel Channel
Field Value
|
Improve this Doc
View Source
HideChat
Declaration
Field Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Message
Declaration
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
MessageColorOverride
Declaration
public Color? MessageColorOverride
Field Value
Type |
Description |
System.Nullable<Color> |
|
|
Improve this Doc
View Source
Read
Declaration
Field Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
SenderEntity
Declaration
public NetEntity SenderEntity
Field Value
Type |
Description |
NetEntity |
|
|
Improve this Doc
View Source
WrappedMessage
Declaration
public string WrappedMessage
Field Value
Type |
Description |
System.String |
|