Фичи для педалей (#202)
This commit is contained in:
@@ -12,6 +12,8 @@ namespace Content.Shared.Administration
|
||||
/// </summary>
|
||||
public bool Active;
|
||||
|
||||
public bool Stealth; // WD
|
||||
|
||||
/// <summary>
|
||||
/// The admin's title.
|
||||
/// </summary>
|
||||
|
||||
@@ -38,12 +38,16 @@ namespace Content.Shared.Administration
|
||||
public NetUserId TrueSender { get; }
|
||||
public string Text { get; }
|
||||
|
||||
public BwoinkTextMessage(NetUserId userId, NetUserId trueSender, string text, DateTime? sentAt = default)
|
||||
public bool IsAdmin { get; }
|
||||
|
||||
public BwoinkTextMessage(NetUserId userId, NetUserId trueSender, string text, bool isAdmin,
|
||||
DateTime? sentAt = default)
|
||||
{
|
||||
SentAt = sentAt ?? DateTime.Now;
|
||||
UserId = userId;
|
||||
TrueSender = trueSender;
|
||||
Text = text;
|
||||
IsAdmin = isAdmin;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user