IW4M-Admin/Plugins/Mute/MuteStateMeta.cs
Amos 778feb8024 Fixed [JsonIgnore]
Fixed migration penalty creation
Fixed on migration command execution
Moved out CreatePenalty
Removed ClientId & AdminId since handled by Penalties
2022-10-13 13:29:39 -05:00

19 lines
359 B
C#

using System.Text.Json.Serialization;
namespace Mute;
public class MuteStateMeta
{
public string Reason { get; set; } = string.Empty;
public DateTime? Expiration { get; set; }
public MuteState MuteState { get; set; }
[JsonIgnore] public bool CommandExecuted { get; set; }
}
public enum MuteState
{
Muted,
Unmuting,
Unmuted
}