Plasma Engine  2.0
Loading...
Searching...
No Matches
FmodPreferences.h
1#pragma once
2
3#include <EditorFramework/Preferences/Preferences.h>
4#include <EditorPluginFmod/EditorPluginFmodDLL.h>
5#include <Foundation/Strings/String.h>
6
7class PL_EDITORPLUGINFMOD_DLL plFmodProjectPreferences : public plPreferences
8{
9 PL_ADD_DYNAMIC_REFLECTION(plFmodProjectPreferences, plPreferences);
10
11public:
14
15 void SetMute(bool bMute);
16 bool GetMute() const { return m_bMute; }
17
18 void SetVolume(float fVolume);
19 float GetVolume() const { return m_fMasterVolume; }
20
21 void SyncCVars();
22
23private:
24 void ProcessEventHandler(const plEditorEngineProcessConnection::Event& e);
25
26 bool m_bMute = false;
27 float m_fMasterVolume = 1.0f;
28};
Definition FmodPreferences.h:8
Base class for all preferences.
Definition Preferences.h:17
Definition EngineProcessConnection.h:63