Class MeleeLungeEvent
Data for melee lunges from attacks.
Inheritance
System.Object
MeleeLungeEvent
Namespace: Content.Shared.Weapons.Melee.Events
Assembly: Content.Shared.dll
Syntax
public sealed class MeleeLungeEvent : EntityEventArgs
Constructors
| Improve this Doc View SourceMeleeLungeEvent(NetEntity, Angle, Vector2, Nullable<String>)
Declaration
public MeleeLungeEvent(NetEntity entity, Angle angle, Vector2 localPos, string? animation)
Parameters
Type | Name | Description |
---|---|---|
NetEntity | entity | |
Angle | angle | |
Vector2 | localPos | |
System.Nullable<System.String> | animation |
Fields
| Improve this Doc View SourceAngle
Width of the attack angle.
Declaration
public Angle Angle
Field Value
Type | Description |
---|---|
Angle |
Animation
Entity to spawn for the animation
Declaration
public string? Animation
Field Value
Type | Description |
---|---|
System.Nullable<System.String> |
Entity
Declaration
public NetEntity Entity
Field Value
Type | Description |
---|---|
NetEntity |
LocalPos
The relative local position to the Entity
Declaration
public Vector2 LocalPos
Field Value
Type | Description |
---|---|
Vector2 |