ChatMuteEntry
Namespace Mc.Scripting · Kind class (sealed)
public sealed class ChatMuteEntry : IEquatable<ChatMuteEntry>An active chat mute: the muted player, when the mute ends and the reason it was given.
Constructors
Section titled “Constructors”| Member | Description |
|---|---|
ChatMuteEntry(Uuid Player, DateTimeOffset? Expires, string? Reason) |
An active chat mute: the muted player, when the mute ends and the reason it was given. |
Constructor
Section titled “Constructor”public ChatMuteEntry(Uuid Player, DateTimeOffset? Expires, string? Reason)An active chat mute: the muted player, when the mute ends and the reason it was given.
Parameters
| Name | Type | Description |
|---|---|---|
Player |
Uuid |
The muted player’s profile id. |
Expires |
DateTimeOffset? |
When the mute ends; null = forever. |
Reason |
string? |
The reason the mute was given; null when none. |
Properties
Section titled “Properties”| Member | Description |
|---|---|
DateTimeOffset? Expires { get; init; } |
When the mute ends; null = forever. |
Uuid Player { get; init; } |
The muted player’s profile id. |
string? Reason { get; init; } |
The reason the mute was given; null when none. |
Expires
Section titled “Expires”public DateTimeOffset? Expires { get; init; }When the mute ends; null = forever.
Player
Section titled “Player”public Uuid Player { get; init; }The muted player’s profile id.
Reason
Section titled “Reason”public string? Reason { get; init; }The reason the mute was given; null when none.