Reduce knocked down players tile friction (#11035)
This commit is contained in:
15
Content.Shared/Movement/Events/TileFrictionEvent.cs
Normal file
15
Content.Shared/Movement/Events/TileFrictionEvent.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
namespace Content.Shared.Movement.Events;
|
||||
|
||||
/// <summary>
|
||||
/// Raised to try and get any tile friction modifiers for a particular body.
|
||||
/// </summary>
|
||||
[ByRefEvent]
|
||||
public struct TileFrictionEvent
|
||||
{
|
||||
public float Modifier;
|
||||
|
||||
public TileFrictionEvent(float modifier)
|
||||
{
|
||||
Modifier = modifier;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user