Skip to main content

Struct EnvironmentManager

This class is a high level abstraction of sound and window systems. And handles sanity checks before propagating values to the more low-level classes respectively

Assembly: FFXIVClientStructs.dll
Declaration
public struct EnvironmentManager

Fields

Task

View Source
Declaration
public Task Task

ChangeEventInterface

View Source
Declaration
public ChangeEventInterface ChangeEventInterface

CutsceneMovieVoice

Cutscene Audio Language (-1 indicates to use ClientLanguage)

View Source
Declaration
public int CutsceneMovieVoice

Methods

SetVolume(uint, int, bool)

Sets the volume if volume is in the allowed range

View Source
Declaration
[MemberFunction("48 89 5C 24 ?? 48 89 74 24 ?? 57 48 83 EC ?? 41 8B F8 41 0F B6 F1")]
public void SetVolume(uint channel, int volume, bool saveToConfig)
Parameters
TypeNameDescription
System.UInt32channelIndicates which volume to set
System.Int32volumeVolume in range 0-100, -1 indicates to read the configuration value
System.BooleansaveToConfigWether the new volume should be written to system configuration

SetMasterVolume(int, bool)

View Source
Declaration
[MemberFunction("E8 ?? ?? ?? ?? 48 8B 8F ?? ?? ?? ?? 41 B1 ?? 41 83 C8")]
public void SetMasterVolume(int volume, bool saveToConfig)
Parameters
TypeName
System.Int32volume
System.BooleansaveToConfig

SetVolume(SoundChannel, int, bool)

Sets the volume if volume is in the allowed range

View Source
Declaration
public void SetVolume(EnvironmentManager.SoundChannel channel, int volume, bool saveToConfig)
Parameters
TypeNameDescription
FFXIVClientStructs.FFXIV.Client.System.Framework.EnvironmentManager.SoundChannelchannelIndicates which volume to set
System.Int32volumeVolume in range 0-100, -1 indicates to read the configuration value
System.BooleansaveToConfigWether the new volume should be written to system configuration