Class SharedChatSystem
Inheritance
System.Object
SharedChatSystem
Assembly: Content.Shared.dll
Syntax
public abstract class SharedChatSystem : EntitySystem
Fields
|
Improve this Doc
View Source
AdminPrefix
Declaration
public const char AdminPrefix = null
Field Value
Type |
Description |
System.Char |
|
|
Improve this Doc
View Source
CommonChannel
Declaration
public const string CommonChannel = null
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
ConsolePrefix
Declaration
public const char ConsolePrefix = null
Field Value
Type |
Description |
System.Char |
|
|
Improve this Doc
View Source
DeadPrefix
Declaration
public const char DeadPrefix = null
Field Value
Type |
Description |
System.Char |
|
|
Improve this Doc
View Source
DefaultChannelKey
Declaration
public const char DefaultChannelKey = null
Field Value
Type |
Description |
System.Char |
|
|
Improve this Doc
View Source
DefaultChannelPrefix
Declaration
public static string DefaultChannelPrefix
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
DefaultSpeechVerb
Declaration
public const string DefaultSpeechVerb = null
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
EmotesAltPrefix
Declaration
public const char EmotesAltPrefix = null
Field Value
Type |
Description |
System.Char |
|
|
Improve this Doc
View Source
EmotesPrefix
Declaration
public const char EmotesPrefix = null
Field Value
Type |
Description |
System.Char |
|
|
Improve this Doc
View Source
LocalPrefix
Declaration
public const char LocalPrefix = null
Field Value
Type |
Description |
System.Char |
|
|
Improve this Doc
View Source
LOOCPrefix
Declaration
public const char LOOCPrefix = null
Field Value
Type |
Description |
System.Char |
|
|
Improve this Doc
View Source
OOCPrefix
Declaration
public const char OOCPrefix = null
Field Value
Type |
Description |
System.Char |
|
|
Improve this Doc
View Source
RadioChannelAltPrefix
Declaration
public const char RadioChannelAltPrefix = null
Field Value
Type |
Description |
System.Char |
|
|
Improve this Doc
View Source
RadioChannelPrefix
Declaration
public const char RadioChannelPrefix = null
Field Value
Type |
Description |
System.Char |
|
|
Improve this Doc
View Source
RadioCommonPrefix
Declaration
public const char RadioCommonPrefix = null
Field Value
Type |
Description |
System.Char |
|
|
Improve this Doc
View Source
WhisperPrefix
Declaration
public const char WhisperPrefix = null
Field Value
Type |
Description |
System.Char |
|
Methods
|
Improve this Doc
View Source
GetSpeechVerb(EntityUid, String, SpeechComponent)
Declaration
public SpeechVerbPrototype GetSpeechVerb(EntityUid source, string message, SpeechComponent speech = null)
Parameters
Type |
Name |
Description |
EntityUid |
source |
|
System.String |
message |
|
SpeechComponent |
speech |
|
Returns
|
Improve this Doc
View Source
Initialize()
Declaration
public override void Initialize()
|
Improve this Doc
View Source
SanitizeMessageCapital(String)
Declaration
public string SanitizeMessageCapital(string message)
Parameters
Type |
Name |
Description |
System.String |
message |
|
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
SanitizeMessageCapitalizeTheWordI(String, String)
Declaration
public string SanitizeMessageCapitalizeTheWordI(string message, string theWordI = "i")
Parameters
Type |
Name |
Description |
System.String |
message |
|
System.String |
theWordI |
|
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Shutdown()
Declaration
public override void Shutdown()
|
Improve this Doc
View Source
TryProccessRadioMessage(EntityUid, String, out String, out RadioChannelPrototype, Boolean)
Attempts to resolve radio prefixes in chat messages (e.g., remove a leading ":e" and resolve the requested
channel. Returns true if a radio message was attempted, even if the channel is invalid.
Declaration
public bool TryProccessRadioMessage(EntityUid source, string input, out string output, out RadioChannelPrototype channel, bool quiet = false)
Parameters
Type |
Name |
Description |
EntityUid |
source |
Source of the message
|
System.String |
input |
The message to be modified
|
System.String |
output |
The modified message
|
RadioChannelPrototype |
channel |
The channel that was requested, if any
|
System.Boolean |
quiet |
Whether or not to generate an informative pop-up message.
|
Returns
Type |
Description |
System.Boolean |
|