2024-08-06 16:58:30 +03:00
|
|
|
|
using Content.Shared.CartridgeLoader;
|
|
|
|
|
|
using Robust.Shared.Serialization;
|
|
|
|
|
|
|
|
|
|
|
|
namespace Content.Shared._White.CartridgeLoader.Cartridges;
|
|
|
|
|
|
|
|
|
|
|
|
[Serializable, NetSerializable]
|
2024-08-08 13:20:06 +03:00
|
|
|
|
public sealed class MessagesUiMessageEvent(MessagesUiAction action, string? stringInput, int? targetChatUid) : CartridgeMessageEvent
|
2024-08-06 16:58:30 +03:00
|
|
|
|
{
|
2024-08-08 13:20:06 +03:00
|
|
|
|
public readonly MessagesUiAction Action = action;
|
2024-08-06 16:58:30 +03:00
|
|
|
|
|
2024-08-08 13:20:06 +03:00
|
|
|
|
public readonly int? TargetChatUid = targetChatUid;
|
|
|
|
|
|
|
|
|
|
|
|
public readonly string? StringInput = stringInput;
|
2024-08-06 16:58:30 +03:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
[Serializable, NetSerializable]
|
|
|
|
|
|
public enum MessagesUiAction : byte
|
|
|
|
|
|
{
|
|
|
|
|
|
Send,
|
|
|
|
|
|
ChangeChat
|
|
|
|
|
|
}
|