Table of Contents

Class CwSoundEmitter

Namespace
WoWLib.Formats.ADT.Chunks
Assembly
WoWLib.dll

A terrain sound emitter (MCSE, 28 bytes): a SoundEntriesAdvanced foreign key and a position/size pair placing an ambient sound in the cell.

public class CwSoundEmitter : IDisposable
Inheritance
CwSoundEmitter
Implements
Inherited Members

Constructors

CwSoundEmitter()

public CwSoundEmitter()

CwSoundEmitter(uint, C3Vector, C3Vector)

public CwSoundEmitter(uint entryId, C3Vector position, C3Vector size)

Parameters

entryId uint
position C3Vector
size C3Vector

CwSoundEmitter(CwSoundEmitter)

Copy-construct: a deep copy of other (the C++ copy constructor).

public CwSoundEmitter(CwSoundEmitter other)

Parameters

other CwSoundEmitter

Properties

EntryId

The sound entry (a SoundEntriesAdvanced foreign key).

public uint EntryId { get; set; }

Property Value

uint

Position

The emitter position.

public C3Vector Position { get; set; }

Property Value

C3Vector

Size

The emitter size / extents.

public C3Vector Size { get; set; }

Property Value

C3Vector

Methods

Dispose()

Release the native object now. Optional: the finalizer releases it on collection anyway - dispose (or using) when you want native memory back promptly.

public virtual void Dispose()

Equals(object?)

Determines whether the specified object is equal to the current object.

public override bool Equals(object? obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

GetHashCode()

Reference-identity hash (the C++ type has no hash to mirror).

public override int GetHashCode()

Returns

int

Operators

operator ==(CwSoundEmitter?, CwSoundEmitter?)

public static bool operator ==(CwSoundEmitter? l, CwSoundEmitter? r)

Parameters

l CwSoundEmitter
r CwSoundEmitter

Returns

bool

operator !=(CwSoundEmitter?, CwSoundEmitter?)

public static bool operator !=(CwSoundEmitter? l, CwSoundEmitter? r)

Parameters

l CwSoundEmitter
r CwSoundEmitter

Returns

bool