Class BeforeThrowEvent
Inheritance
System.Object
BeforeThrowEvent
Assembly: Content.Shared.dll
Syntax
public sealed class BeforeThrowEvent : HandledEntityEventArgs
Constructors
|
Improve this Doc
View Source
BeforeThrowEvent(EntityUid, Vector2, Single, EntityUid)
Declaration
public BeforeThrowEvent(EntityUid itemUid, Vector2 direction, float throwStrength, EntityUid playerUid)
Parameters
Type |
Name |
Description |
EntityUid |
itemUid |
|
Vector2 |
direction |
|
System.Single |
throwStrength |
|
EntityUid |
playerUid |
|
Properties
|
Improve this Doc
View Source
Direction
Declaration
public Vector2 Direction { get; }
Property Value
|
Improve this Doc
View Source
ItemUid
Declaration
public EntityUid ItemUid { get; set; }
Property Value
Type |
Description |
EntityUid |
|
|
Improve this Doc
View Source
PlayerUid
Declaration
public EntityUid PlayerUid { get; }
Property Value
Type |
Description |
EntityUid |
|
|
Improve this Doc
View Source
ThrowStrength
Declaration
public float ThrowStrength { get; set; }
Property Value
Type |
Description |
System.Single |
|