Interface IChatManager
Assembly: Content.Server.dll
Syntax
public interface IChatManager
Methods
|
Improve this Doc
View Source
ChatMessageToAll(ChatChannel, String, String, EntityUid, Boolean, Boolean, Nullable<Color>, Nullable<String>, Single)
Declaration
void ChatMessageToAll(ChatChannel channel, string message, string wrappedMessage, EntityUid source, bool hideChat, bool recordReplay, Color? colorOverride = null, string? audioPath = null, float audioVolume = null)
Parameters
Type |
Name |
Description |
ChatChannel |
channel |
|
System.String |
message |
|
System.String |
wrappedMessage |
|
EntityUid |
source |
|
System.Boolean |
hideChat |
|
System.Boolean |
recordReplay |
|
System.Nullable<Color> |
colorOverride |
|
System.Nullable<System.String> |
audioPath |
|
System.Single |
audioVolume |
|
|
Improve this Doc
View Source
ChatMessageToMany(ChatChannel, String, String, EntityUid, Boolean, Boolean, IEnumerable<INetChannel>, Nullable<Color>, Nullable<String>, Single)
Declaration
void ChatMessageToMany(ChatChannel channel, string message, string wrappedMessage, EntityUid source, bool hideChat, bool recordReplay, IEnumerable<INetChannel> clients, Color? colorOverride = null, string? audioPath = null, float audioVolume = null)
Parameters
Type |
Name |
Description |
ChatChannel |
channel |
|
System.String |
message |
|
System.String |
wrappedMessage |
|
EntityUid |
source |
|
System.Boolean |
hideChat |
|
System.Boolean |
recordReplay |
|
IEnumerable<Robust.Shared.Network.INetChannel> |
clients |
|
System.Nullable<Color> |
colorOverride |
|
System.Nullable<System.String> |
audioPath |
|
System.Single |
audioVolume |
|
|
Improve this Doc
View Source
ChatMessageToManyFiltered(Filter, ChatChannel, String, String, EntityUid, Boolean, Boolean, Nullable<Color>, Nullable<String>, Single)
Declaration
void ChatMessageToManyFiltered(Filter filter, ChatChannel channel, string message, string wrappedMessage, EntityUid source, bool hideChat, bool recordReplay, Color? colorOverride, string? audioPath = null, float audioVolume = null)
Parameters
Type |
Name |
Description |
Robust.Shared.Player.Filter |
filter |
|
ChatChannel |
channel |
|
System.String |
message |
|
System.String |
wrappedMessage |
|
EntityUid |
source |
|
System.Boolean |
hideChat |
|
System.Boolean |
recordReplay |
|
System.Nullable<Color> |
colorOverride |
|
System.Nullable<System.String> |
audioPath |
|
System.Single |
audioVolume |
|
|
Improve this Doc
View Source
ChatMessageToOne(ChatChannel, String, String, EntityUid, Boolean, INetChannel, Nullable<Color>, Boolean, Nullable<String>, Single)
Declaration
void ChatMessageToOne(ChatChannel channel, string message, string wrappedMessage, EntityUid source, bool hideChat, INetChannel client, Color? colorOverride = null, bool recordReplay = false, string? audioPath = null, float audioVolume = null)
Parameters
Type |
Name |
Description |
ChatChannel |
channel |
|
System.String |
message |
|
System.String |
wrappedMessage |
|
EntityUid |
source |
|
System.Boolean |
hideChat |
|
Robust.Shared.Network.INetChannel |
client |
|
System.Nullable<Color> |
colorOverride |
|
System.Boolean |
recordReplay |
|
System.Nullable<System.String> |
audioPath |
|
System.Single |
audioVolume |
|
|
Improve this Doc
View Source
DispatchServerAnnouncement(String, Nullable<Color>)
Dispatch a server announcement to every connected player.
Declaration
void DispatchServerAnnouncement(string message, Color? colorOverride = null)
Parameters
Type |
Name |
Description |
System.String |
message |
|
System.Nullable<Color> |
colorOverride |
Override the color of the message being sent.
|
|
Improve this Doc
View Source
DispatchServerMessage(ICommonSession, String, Boolean)
Declaration
void DispatchServerMessage(ICommonSession player, string message, bool suppressLog = false)
Parameters
Type |
Name |
Description |
Robust.Shared.Players.ICommonSession |
player |
|
System.String |
message |
|
System.Boolean |
suppressLog |
|
|
Improve this Doc
View Source
Initialize()
Declaration
|
Improve this Doc
View Source
MessageCharacterLimit(IPlayerSession, String)
Declaration
bool MessageCharacterLimit(IPlayerSession player, string message)
Parameters
Type |
Name |
Description |
Robust.Server.Player.IPlayerSession |
player |
|
System.String |
message |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
SendAdminAlert(EntityUid, String)
Declaration
void SendAdminAlert(EntityUid player, string message)
Parameters
Type |
Name |
Description |
EntityUid |
player |
|
System.String |
message |
|
|
Improve this Doc
View Source
SendAdminAlert(String)
Declaration
void SendAdminAlert(string message)
Parameters
Type |
Name |
Description |
System.String |
message |
|
|
Improve this Doc
View Source
SendAdminAnnouncement(String)
Declaration
void SendAdminAnnouncement(string message)
Parameters
Type |
Name |
Description |
System.String |
message |
|
|
Improve this Doc
View Source
SendHookOOC(String, String)
Declaration
void SendHookOOC(string sender, string message)
Parameters
Type |
Name |
Description |
System.String |
sender |
|
System.String |
message |
|
|
Improve this Doc
View Source
TrySendOOCMessage(IPlayerSession, String, OOCChatType)
Declaration
void TrySendOOCMessage(IPlayerSession player, string message, OOCChatType type)
Parameters
Type |
Name |
Description |
Robust.Server.Player.IPlayerSession |
player |
|
System.String |
message |
|
OOCChatType |
type |
|