mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-10 10:51:14 +03:00
* button to new ui * text box and button * change size * get the current round * turn into a command * fix round id not updating * button to send log send message to server * send message to discord * use another cvar * general fixes * update event webhook * use a place holder * fix placeholder * update button name Co-authored-by: AJCM-git <60196617+AJCM-git@users.noreply.github.com> * move to a separate folder * turn into a fancy window * add margin * center text in the button * move reset button to the left * update the window * move send button to the left * update color * remove indentation * set sawmill inside PostInject * remove random newline * move PostInject to start of the class * use darkViolet * summary * remove whitespace * comment --------- Co-authored-by: AJCM-git <60196617+AJCM-git@users.noreply.github.com>
31 lines
770 B
C#
31 lines
770 B
C#
using Content.Shared.Eui;
|
|
using Robust.Shared.Player;
|
|
using Robust.Shared.Serialization;
|
|
|
|
namespace Content.Shared.Administration.AdminEventLog;
|
|
|
|
[Serializable, NetSerializable]
|
|
public sealed class AdminEventLogEuiState : EuiStateBase
|
|
{
|
|
public AdminEventLogEuiState(int roundId)
|
|
{
|
|
RoundId = roundId;
|
|
}
|
|
|
|
public int RoundId { get; }
|
|
}
|
|
|
|
[Serializable, NetSerializable]
|
|
public sealed class AdminEventLogEuiMsg : EuiMessageBase
|
|
{
|
|
public AdminEventLogEuiMsg(int roundId, string adminUser, string eventDescription)
|
|
{
|
|
RoundId = roundId;
|
|
AdminUser = adminUser;
|
|
EventDescription = eventDescription;
|
|
}
|
|
|
|
public int RoundId { get; }
|
|
public string AdminUser { get; }
|
|
public string EventDescription { get; }
|
|
}
|