| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172 |
- using Content.Shared.Eui;
- using Robust.Shared.Serialization;
- namespace Content.Shared.Fax;
- [Serializable, NetSerializable]
- public sealed class AdminFaxEuiState : EuiStateBase
- {
- public List<AdminFaxEntry> Entries { get; }
- public AdminFaxEuiState(List<AdminFaxEntry> entries)
- {
- Entries = entries;
- }
- }
- [Serializable, NetSerializable]
- public sealed class AdminFaxEntry
- {
- public NetEntity Uid { get; }
- public string Name { get; }
- public string Address { get; }
- public AdminFaxEntry(NetEntity uid, string name, string address)
- {
- Uid = uid;
- Name = name;
- Address = address;
- }
- }
- public static class AdminFaxEuiMsg
- {
- [Serializable, NetSerializable]
- public sealed class Close : EuiMessageBase
- {
- }
- [Serializable, NetSerializable]
- public sealed class Follow : EuiMessageBase
- {
- public NetEntity TargetFax { get; }
- public Follow(NetEntity targetFax)
- {
- TargetFax = targetFax;
- }
- }
- [Serializable, NetSerializable]
- public sealed class Send : EuiMessageBase
- {
- public NetEntity Target { get; }
- public string Title { get; }
- public string From { get; }
- public string Content { get; }
- public string StampState { get; }
- public Color StampColor { get; }
- public bool Locked { get; }
- public Send(NetEntity target, string title, string from, string content, string stamp, Color stampColor, bool locked)
- {
- Target = target;
- Title = title;
- From = from;
- Content = content;
- StampState = stamp;
- StampColor = stampColor;
- Locked = locked;
- }
- }
- }
|