Files
tbd-station-14/Content.Shared/Gravity/GravityChangedMessage.cs
Galactic Chimp afb5f5c8eb #1462 extracted MapGrid's HasGravity property to separate Content com… (#4200)
* #1462 extracted MapGrid's HasGravity property to separate Content component

* #1462 - PR suggestions

* Merge to master

Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
2021-06-27 15:43:39 +10:00

20 lines
467 B
C#

#nullable enable
using Robust.Shared.GameObjects;
using Robust.Shared.Map;
namespace Content.Shared.Gravity
{
public class GravityChangedMessage : EntityEventArgs
{
public GravityChangedMessage(GridId changedGridIndex, bool newGravityState)
{
HasGravity = newGravityState;
ChangedGridIndex = changedGridIndex;
}
public GridId ChangedGridIndex { get; }
public bool HasGravity { get; }
}
}