Table of Contents

Class NPCNoiseEvent

Namespace
S1API.Entities
Assembly
S1API.dll

An immutable snapshot of a noise event heard by an NPC.

public sealed class NPCNoiseEvent
Inheritance
NPCNoiseEvent
Inherited Members
Extension Methods

Properties

Origin

The world-space origin of the noise.

public Vector3 Origin { get; }

Property Value

Vector3

OriginInSewer

Whether the noise originated in the sewer.

public bool OriginInSewer { get; }

Property Value

bool

Range

The range of the noise.

public float Range { get; }

Property Value

float

Source

The GameObject that emitted the noise, if the native event identified one.

public GameObject? Source { get; }

Property Value

GameObject

Type

The type of noise.

public NPCNoiseType Type { get; }

Property Value

NPCNoiseType