Class MuzzleFlashEvent
Raised whenever a muzzle flash client-side entity needs to be spawned.
Inheritance
System.Object
MuzzleFlashEvent
Namespace: Content.Shared.Weapons.Ranged.Events
Assembly: Content.Shared.dll
Syntax
public sealed class MuzzleFlashEvent : EntityEventArgs
Constructors
| Improve this Doc View SourceMuzzleFlashEvent(NetEntity, String, Boolean)
Declaration
public MuzzleFlashEvent(NetEntity uid, string prototype, bool matchRotation = false)
Parameters
Type | Name | Description |
---|---|---|
NetEntity | uid | |
System.String | prototype | |
System.Boolean | matchRotation |
Fields
| Improve this Doc View SourceMatchRotation
Should the effect match the rotation of the entity.
Declaration
public bool MatchRotation
Field Value
Type | Description |
---|---|
System.Boolean |
Prototype
Declaration
public string Prototype
Field Value
Type | Description |
---|---|
System.String |
Uid
Declaration
public NetEntity Uid
Field Value
Type | Description |
---|---|
NetEntity |