Table of Contents

Class MapSoundManager

Namespace
Root
Assembly
SPZGameAssembly.dll
public class MapSoundManager
Inheritance
object
MapSoundManager
Extension Methods

Constructors

MapSoundManager(IMapModel, Viewport, AudioListener, BuildingSoundManager, ISoundPlayer, ISimulationSpeedReader, MapSoundSettings, ILogger)

public MapSoundManager(IMapModel map, Viewport viewport, AudioListener audioListener, BuildingSoundManager soundManager, ISoundPlayer soundPlayer, ISimulationSpeedReader simulationSpeed, MapSoundSettings settings, ILogger logger)

Parameters

map IMapModel
viewport Viewport
audioListener AudioListener
soundManager BuildingSoundManager
soundPlayer ISoundPlayer
simulationSpeed ISimulationSpeedReader
settings MapSoundSettings
logger ILogger

Fields

ActiveBuildings

public readonly List<MapSoundManager.ActiveBuilding> ActiveBuildings

Field Value

List<MapSoundManager.ActiveBuilding>

BeltAmbiencePosition

public float3 BeltAmbiencePosition

Field Value

float3

BeltAmbienceScore

public float BeltAmbienceScore

Field Value

float

BeltAmbienceVolume

public float BeltAmbienceVolume

Field Value

float

Clusters

public readonly MapSoundManager.Cluster[] Clusters

Field Value

Cluster[]

CurrentChunksPlayingSounds

public readonly HashSet<GlobalChunkCoordinate> CurrentChunksPlayingSounds

Field Value

HashSet<GlobalChunkCoordinate>

Settings

public readonly MapSoundSettings Settings

Field Value

MapSoundSettings

Properties

IsActive

public bool IsActive { get; set; }

Property Value

bool

Methods

Dispose()

public void Dispose()

UpdateBeforeLogic(MapCullResult)

public void UpdateBeforeLogic(MapCullResult cullResult)

Parameters

cullResult MapCullResult