csharp
public sealed class ChatDraftA message on its way through the pipeline, before anybody has heard it.
Remarks
⚠ Mutable, because a word filter censors rather than rejects. Rejecting a message for one word tells the sender exactly which word the filter has, which is how a filter gets worked around within a day; replacing it and sending it on does not. So a filter may rewrite Text and still pass.
Fields and properties (6)
public PlayerId SenderWho is speaking.
public ChatChannel ChannelWhich channel.
public string TextWhat they said, as the filters have left it.
public DefId SceneWhich map they said it on.
public PlayerId RecipientWho it is for, on a direct channel.
public bool WasRewrittenWhether any filter changed the words.
Methods (1)
Used by (11)
- BlockedVixen.Gameplay.Chat
- ChatFilterTestsVixen.Gameplay.Chat.Tests
- ChatPipelineVixen.Gameplay.Chat
- ChatRouterVixen.Gameplay.Chat
- EmptyVixen.Gameplay.Chat
- IChatFilterVixen.Gameplay.Chat
- LengthVixen.Gameplay.Chat
- MutedVixen.Gameplay.Chat
- RateLimitVixen.Gameplay.Chat
- RepeatVixen.Gameplay.Chat
- WordsVixen.Gameplay.Chat