Vixen
caa30e12
csharp
public sealed class MuteList

Who is silenced, and until when.

Read the guide page for this →

Remarks

A mute is a chat sanction, so chat owns it. Keeping it — a mute that survives a relog is the only kind worth having — is the realm's, on the same terms as everything else durable in these libraries.

Fields and properties (1)

  • public int Count

    How many mutes are recorded, expired or not.

Methods (4)

  • public void Mute(PlayerId player, float expires)

    Silences somebody.

  • public bool Unmute(PlayerId player)

    Lifts a mute.

  • public bool IsMuted(PlayerId player, float now)

    Whether somebody is silenced right now.

  • public float Until(PlayerId player)

    When a mute lifts.

Used by (2)

  • ChatFilterTestsVixen.Gameplay.Chat.Tests
  • MutedVixen.Gameplay.Chat