Content update for NetEntities (#18935)

This commit is contained in:
metalgearsloth
2023-09-11 09:42:41 +10:00
committed by GitHub
parent 389c8d1a2c
commit 5a0fc68be2
526 changed files with 3058 additions and 2215 deletions

View File

@@ -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;