Content update for NetEntities (#18935)
This commit is contained in:
@@ -78,7 +78,7 @@ public sealed partial class BuckleComponent : Component
|
||||
[Serializable, NetSerializable]
|
||||
public sealed class BuckleComponentState : ComponentState
|
||||
{
|
||||
public BuckleComponentState(bool buckled, EntityUid? buckledTo, EntityUid? lastEntityBuckledTo,
|
||||
public BuckleComponentState(bool buckled, NetEntity? buckledTo, NetEntity? lastEntityBuckledTo,
|
||||
bool dontCollide)
|
||||
{
|
||||
Buckled = buckled;
|
||||
@@ -88,8 +88,8 @@ public sealed class BuckleComponentState : ComponentState
|
||||
}
|
||||
|
||||
public readonly bool Buckled;
|
||||
public readonly EntityUid? BuckledTo;
|
||||
public readonly EntityUid? LastEntityBuckledTo;
|
||||
public readonly NetEntity? BuckledTo;
|
||||
public readonly NetEntity? LastEntityBuckledTo;
|
||||
public readonly bool DontCollide;
|
||||
}
|
||||
|
||||
|
||||
@@ -125,10 +125,10 @@ public sealed class StrapComponentState : ComponentState
|
||||
public readonly StrapPosition Position;
|
||||
public readonly float MaxBuckleDistance;
|
||||
public readonly Vector2 BuckleOffsetClamped;
|
||||
public readonly HashSet<EntityUid> BuckledEntities;
|
||||
public readonly HashSet<NetEntity> BuckledEntities;
|
||||
public readonly int OccupiedSize;
|
||||
|
||||
public StrapComponentState(StrapPosition position, Vector2 offset, HashSet<EntityUid> buckled,
|
||||
public StrapComponentState(StrapPosition position, Vector2 offset, HashSet<NetEntity> buckled,
|
||||
float maxBuckleDistance, int occupiedSize)
|
||||
{
|
||||
Position = position;
|
||||
|
||||
Reference in New Issue
Block a user