Fix PDA capitalization to be PascalCase (#17335)
This commit is contained in:
41
Content.Shared/PDA/PdaUpdateState.cs
Normal file
41
Content.Shared/PDA/PdaUpdateState.cs
Normal file
@@ -0,0 +1,41 @@
|
||||
using Content.Shared.CartridgeLoader;
|
||||
using Robust.Shared.Serialization;
|
||||
|
||||
|
||||
namespace Content.Shared.PDA
|
||||
{
|
||||
[Serializable, NetSerializable]
|
||||
public sealed class PdaUpdateState : CartridgeLoaderUiState
|
||||
{
|
||||
public bool FlashlightEnabled;
|
||||
public bool HasPen;
|
||||
public PdaIdInfoText PdaOwnerInfo;
|
||||
public string? StationName;
|
||||
public bool HasUplink;
|
||||
public bool CanPlayMusic;
|
||||
public string? Address;
|
||||
|
||||
public PdaUpdateState(bool flashlightEnabled, bool hasPen, PdaIdInfoText pdaOwnerInfo,
|
||||
string? stationName, bool hasUplink = false,
|
||||
bool canPlayMusic = false, string? address = null)
|
||||
{
|
||||
FlashlightEnabled = flashlightEnabled;
|
||||
HasPen = hasPen;
|
||||
PdaOwnerInfo = pdaOwnerInfo;
|
||||
HasUplink = hasUplink;
|
||||
CanPlayMusic = canPlayMusic;
|
||||
StationName = stationName;
|
||||
Address = address;
|
||||
}
|
||||
}
|
||||
|
||||
[Serializable, NetSerializable]
|
||||
public struct PdaIdInfoText
|
||||
{
|
||||
public string? ActualOwnerName;
|
||||
public string? IdOwner;
|
||||
public string? JobTitle;
|
||||
public string? StationAlertLevel;
|
||||
public Color StationAlertColor;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user