2022-09-28 19:22:27 -07:00
|
|
|
using Robust.Shared.Serialization;
|
|
|
|
|
|
|
|
|
|
namespace Content.Shared.VoiceMask;
|
|
|
|
|
|
|
|
|
|
[Serializable, NetSerializable]
|
|
|
|
|
public enum VoiceMaskUIKey : byte
|
|
|
|
|
{
|
|
|
|
|
Key
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[Serializable, NetSerializable]
|
|
|
|
|
public sealed class VoiceMaskBuiState : BoundUserInterfaceState
|
|
|
|
|
{
|
|
|
|
|
public string Name { get; }
|
2023-04-27 08:03:44 +06:00
|
|
|
public string Voice { get; }
|
2022-09-28 19:22:27 -07:00
|
|
|
|
2023-04-27 08:03:44 +06:00
|
|
|
public VoiceMaskBuiState(string name, string voice)
|
2022-09-28 19:22:27 -07:00
|
|
|
{
|
|
|
|
|
Name = name;
|
2023-04-27 08:03:44 +06:00
|
|
|
Voice = voice;
|
2022-09-28 19:22:27 -07:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[Serializable, NetSerializable]
|
|
|
|
|
public sealed class VoiceMaskChangeNameMessage : BoundUserInterfaceMessage
|
|
|
|
|
{
|
|
|
|
|
public string Name { get; }
|
|
|
|
|
|
|
|
|
|
public VoiceMaskChangeNameMessage(string name)
|
|
|
|
|
{
|
|
|
|
|
Name = name;
|
|
|
|
|
}
|
|
|
|
|
}
|