mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-15 03:30:53 +01:00
pvs refactor (#2247)
Co-authored-by: Paul <ritter.paul1+git@googlemail.com>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user