36 lines
992 B
C#
36 lines
992 B
C#
using Content.Shared.Traitor.Uplink;
|
|
using Robust.Shared.GameObjects;
|
|
using Robust.Shared.Serialization;
|
|
using System;
|
|
|
|
|
|
namespace Content.Shared.PDA
|
|
{
|
|
[Serializable, NetSerializable]
|
|
public sealed class PDAUpdateState : BoundUserInterfaceState
|
|
{
|
|
public bool FlashlightEnabled;
|
|
public bool HasPen;
|
|
public PDAIdInfoText PDAOwnerInfo;
|
|
public bool HasUplink;
|
|
public bool CanPlayMusic;
|
|
|
|
public PDAUpdateState(bool flashlightEnabled, bool hasPen, PDAIdInfoText pDAOwnerInfo, bool hasUplink = false, bool canPlayMusic = false)
|
|
{
|
|
FlashlightEnabled = flashlightEnabled;
|
|
HasPen = hasPen;
|
|
PDAOwnerInfo = pDAOwnerInfo;
|
|
HasUplink = hasUplink;
|
|
CanPlayMusic = canPlayMusic;
|
|
}
|
|
}
|
|
|
|
[Serializable, NetSerializable]
|
|
public struct PDAIdInfoText
|
|
{
|
|
public string? ActualOwnerName;
|
|
public string? IdOwner;
|
|
public string? JobTitle;
|
|
}
|
|
}
|