pvs refactor (#2247)

Co-authored-by: Paul <ritter.paul1+git@googlemail.com>
This commit is contained in:
Paul Ritter
2021-11-30 15:07:08 +01:00
committed by GitHub
parent caa0212282
commit 44649eea1c
36 changed files with 1130 additions and 902 deletions

View File

@@ -12,11 +12,12 @@ namespace Robust.Shared.GameObjects
public NetListAsArray<ComponentChange> ComponentChanges { get; }
public bool Empty => ComponentChanges.Value is null or { Count: 0 };
public bool Hide;
public EntityState(EntityUid uid, NetListAsArray<ComponentChange> changedComponents)
public EntityState(EntityUid uid, NetListAsArray<ComponentChange> changedComponents, bool hide = false)
{
Uid = uid;
Hide = hide;
ComponentChanges = changedComponents;
}
}