2023-04-27 08:03:44 +06:00
|
|
|
|
using Robust.Shared.Serialization;
|
|
|
|
|
|
|
2024-01-28 18:37:24 +07:00
|
|
|
|
namespace Content.Shared._White.TTS;
|
2023-04-27 08:03:44 +06:00
|
|
|
|
|
|
|
|
|
|
[Serializable, NetSerializable]
|
|
|
|
|
|
// ReSharper disable once InconsistentNaming
|
2024-04-17 11:36:02 +07:00
|
|
|
|
public sealed class PlayTTSEvent(NetEntity uid, byte[] data, bool boostVolume) : EntityEventArgs
|
2023-04-27 08:03:44 +06:00
|
|
|
|
{
|
2024-04-17 11:36:02 +07:00
|
|
|
|
public NetEntity Uid { get; } = uid;
|
2023-04-27 08:03:44 +06:00
|
|
|
|
|
2024-04-17 11:36:02 +07:00
|
|
|
|
public byte[] Data { get; } = data;
|
|
|
|
|
|
|
|
|
|
|
|
public bool BoostVolume { get; } = boostVolume;
|
|
|
|
|
|
}
|