Show / Hide Table of Contents

Class BeforeThrowEvent

Inheritance
System.Object
BeforeThrowEvent
Namespace: Content.Shared.Throwing
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
Type Description
Vector2
| 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
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾