* First Accent Prototype * -RegisterSystem -Fixed addaccent cmd -Spanish accent * -list is now ? -Checks if the accent is already added -Made components public * owo whats this * special word filter * Eeeeeeeeee * Better? * -Use a delegate func -Made some funcs not static -Moved SentenceRegex * InjectDependencies * Name change? Co-authored-by: DrSmugleaf <DrSmugleaf@users.noreply.github.com>
37 lines
1.1 KiB
C#
37 lines
1.1 KiB
C#
using Robust.Server.Interfaces.Player;
|
|
using Robust.Shared.Interfaces.GameObjects;
|
|
using System;
|
|
|
|
namespace Content.Server.Interfaces.Chat
|
|
{
|
|
public interface IChatManager
|
|
{
|
|
void Initialize();
|
|
|
|
/// <summary>
|
|
/// Dispatch a server announcement to every connected player.
|
|
/// </summary>
|
|
void DispatchServerAnnouncement(string message);
|
|
|
|
/// <summary>
|
|
/// Station announcement to every player
|
|
/// </summary>
|
|
/// <param name="message"></param>
|
|
void DispatchStationAnnouncement(string message);
|
|
|
|
void DispatchServerMessage(IPlayerSession player, string message);
|
|
|
|
void EntitySay(IEntity source, string message);
|
|
void EntityMe(IEntity source, string action);
|
|
|
|
void SendOOC(IPlayerSession player, string message);
|
|
void SendAdminChat(IPlayerSession player, string message);
|
|
void SendDeadChat(IPlayerSession player, string message);
|
|
|
|
void SendHookOOC(string sender, string message);
|
|
|
|
delegate string TransformChat(IEntity speaker, string message);
|
|
void RegisterChatTransform(TransformChat handler);
|
|
}
|
|
}
|