Logo
Explore Help
Register Sign In
Cinka/OldThink
1
0
Fork 0
You've already forked OldThink
Code Issues Pull Requests Actions 1 Packages Projects Releases Wiki Activity
Files
23b0b0d76ac4bf6ecd4ed424eee540c21edadd8e
OldThink/Content.Shared/Throwing/ThrowAttemptEvent.cs

20 lines
472 B
C#
Raw Normal View History

Deprecate IActionBlocker in favour of cancellable events (#4193) * Deprecate IActionBlocker in favour of cancellable events * Bring back old speech/emoting component restrictions * Rename action blocker listener methods * Use Entity System public methods instead of extension methods Co-authored-by: Vera Aguilera Puerto <gradientvera@outlook.com>
2021-06-19 10:03:24 +02:00
using Robust.Shared.GameObjects;
namespace Content.Shared.Throwing
{
public class ThrowAttemptEvent : CancellableEntityEventArgs
{
public ThrowAttemptEvent(IEntity entity)
{
Entity = entity;
}
public IEntity Entity { get; }
}
Don't pushback when throwing while buckled (#4232) * Don't pushback when throwing while buckled * Address reviews * Fix
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 {}
Deprecate IActionBlocker in favour of cancellable events (#4193) * Deprecate IActionBlocker in favour of cancellable events * Bring back old speech/emoting component restrictions * Rename action blocker listener methods * Use Entity System public methods instead of extension methods Co-authored-by: Vera Aguilera Puerto <gradientvera@outlook.com>
2021-06-19 10:03:24 +02:00
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.3 Page: 1201ms Template: 119ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API