Show / Hide Table of Contents

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 Source

MuzzleFlashEvent(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 Source

MatchRotation

Should the effect match the rotation of the entity.

Declaration
public bool MatchRotation
Field Value
Type Description
System.Boolean
| Improve this Doc View Source

Prototype

Declaration
public string Prototype
Field Value
Type Description
System.String
| Improve this Doc View Source

Uid

Declaration
public NetEntity Uid
Field Value
Type Description
NetEntity
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾