mirror of
https://github.com/WWhiteDreamProject/wwdpublic.git
synced 2026-04-17 21:48:58 +03:00
* mass clean up
(cherry picked from commit 12bb873b02c1ef50e20763542b030452cc0613da)
* Revert "Centrifuge buff (#393)"
This reverts commit 2a59a18230.
(cherry picked from commit 9ee495ab4bb365e1ccd3dc627ecb55114fea6944)
* Shoving merge conflict
* fix rich traitor
* fix test
* yml
* fix test
* fix test
* ohh
24 lines
777 B
C#
24 lines
777 B
C#
using Robust.Shared.Map;
|
|
|
|
namespace Content.Shared._White.Move;
|
|
|
|
[ByRefEvent]
|
|
public readonly struct MoveEventProxy(
|
|
Entity<TransformComponent, MetaDataComponent> entity,
|
|
EntityCoordinates oldPos,
|
|
EntityCoordinates newPos,
|
|
Angle oldRotation,
|
|
Angle newRotation)
|
|
{
|
|
public readonly Entity<TransformComponent, MetaDataComponent> Entity = entity;
|
|
public readonly EntityCoordinates OldPosition = oldPos;
|
|
public readonly EntityCoordinates NewPosition = newPos;
|
|
public readonly Angle OldRotation = oldRotation;
|
|
public readonly Angle NewRotation = newRotation;
|
|
|
|
public EntityUid Sender => Entity.Owner;
|
|
public TransformComponent Component => Entity.Comp1;
|
|
|
|
public bool ParentChanged => NewPosition.EntityId != OldPosition.EntityId;
|
|
}
|