Content update for NetEntities (#18935)
This commit is contained in:
@@ -4,7 +4,9 @@ using Robust.Shared.Serialization;
|
||||
namespace Content.Shared.PDA
|
||||
{
|
||||
[Serializable, NetSerializable]
|
||||
public sealed class PdaUpdateState : CartridgeLoaderUiState
|
||||
public sealed class PdaUpdateState : CartridgeLoaderUiState // WTF is this. what. I ... fuck me I just want net entities to work
|
||||
// TODO purge this shit
|
||||
//AAAAAAAAAAAAAAAA
|
||||
{
|
||||
public bool FlashlightEnabled;
|
||||
public bool HasPen;
|
||||
@@ -14,9 +16,17 @@ namespace Content.Shared.PDA
|
||||
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)
|
||||
public PdaUpdateState(
|
||||
List<NetEntity> programs,
|
||||
NetEntity? activeUI,
|
||||
bool flashlightEnabled,
|
||||
bool hasPen,
|
||||
PdaIdInfoText pdaOwnerInfo,
|
||||
string? stationName,
|
||||
bool hasUplink = false,
|
||||
bool canPlayMusic = false,
|
||||
string? address = null)
|
||||
: base(programs, activeUI)
|
||||
{
|
||||
FlashlightEnabled = flashlightEnabled;
|
||||
HasPen = hasPen;
|
||||
|
||||
Reference in New Issue
Block a user