Show / Hide Table of Contents

Class ChatMessage

Inheritance
System.Object
ChatMessage
Namespace: Content.Shared.Chat
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
public string? AudioPath
Field Value
Type Description
System.Nullable<System.String>
| Improve this Doc View Source

AudioVolume

Declaration
public float AudioVolume
Field Value
Type Description
System.Single
| Improve this Doc View Source

Channel

Declaration
public ChatChannel Channel
Field Value
Type Description
ChatChannel
| Improve this Doc View Source

HideChat

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

Message

Declaration
public string Message
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
public bool Read
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
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾