2021-06-19 10:03:24 +02:00
|
|
|
|
using Robust.Shared.GameObjects;
|
|
|
|
|
|
|
|
|
|
|
|
namespace Content.Shared.Throwing
|
|
|
|
|
|
{
|
2022-02-16 00:23:23 -07:00
|
|
|
|
public sealed class ThrowAttemptEvent : CancellableEntityEventArgs
|
2021-06-19 10:03:24 +02:00
|
|
|
|
{
|
2021-11-09 13:20:55 +01:00
|
|
|
|
public ThrowAttemptEvent(EntityUid uid)
|
2021-06-19 10:03:24 +02:00
|
|
|
|
{
|
2021-11-09 13:20:55 +01:00
|
|
|
|
Uid = uid;
|
2021-06-19 10:03:24 +02:00
|
|
|
|
}
|
|
|
|
|
|
|
2021-11-09 13:20:55 +01:00
|
|
|
|
public EntityUid Uid { get; }
|
2021-06-19 10:03:24 +02:00
|
|
|
|
}
|
2021-06-28 14:17:08 +10:00
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Raised when we try to pushback an entity from throwing
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public sealed class ThrowPushbackAttemptEvent : CancellableEntityEventArgs {}
|
2021-06-19 10:03:24 +02:00
|
|
|
|
}
|