Add PDA Ringtones (#5842)
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
This commit is contained in:
20
Content.Shared/PDA/Ringer/RingerUpdateState.cs
Normal file
20
Content.Shared/PDA/Ringer/RingerUpdateState.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using Robust.Shared.GameObjects;
|
||||
using Robust.Shared.Serialization;
|
||||
using System;
|
||||
|
||||
namespace Content.Shared.PDA.Ringer
|
||||
{
|
||||
[Serializable, NetSerializable]
|
||||
public sealed class RingerUpdateState : BoundUserInterfaceState
|
||||
{
|
||||
public bool IsPlaying;
|
||||
public Note[] Ringtone;
|
||||
|
||||
public RingerUpdateState(bool isPlay, Note[] ringtone)
|
||||
{
|
||||
IsPlaying = isPlay;
|
||||
Ringtone = ringtone;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user