Plasma Engine  2.0
Loading...
Searching...
No Matches
AudioSystemMessages.h
1#pragma once
2
3#include <AudioSystemPlugin/AudioSystemPluginDLL.h>
4
5#include <AudioSystemPlugin/Core/AudioSystemData.h>
6
7#include <Core/Messages/EventMessage.h>
8#include <Foundation/Communication/Message.h>
9
10struct PL_AUDIOSYSTEMPLUGIN_DLL plMsgAudioSystemSetRtpcValue : public plMessage
11{
12 PL_DECLARE_MESSAGE_TYPE(plMsgAudioSystemSetRtpcValue, plMessage);
13
14 float m_fValue{0.0f};
15 bool m_bSync{false};
16};
17
18struct PL_AUDIOSYSTEMPLUGIN_DLL plMsgAudioSystemRtpcValueChanged : public plEventMessage
19{
20 PL_DECLARE_MESSAGE_TYPE(plMsgAudioSystemRtpcValueChanged, plEventMessage);
21
22 float m_fValue{0.0f};
23};
24
25struct PL_AUDIOSYSTEMPLUGIN_DLL plMsgAudioSystemSetSwitchState : public plMessage
26{
27 PL_DECLARE_MESSAGE_TYPE(plMsgAudioSystemSetSwitchState, plMessage);
28
29 plString m_sSwitchState{};
30 bool m_bSync{false};
31};
32
33struct PL_AUDIOSYSTEMPLUGIN_DLL plMsgAudioSystemSwitchStateChanged : public plEventMessage
34{
35 PL_DECLARE_MESSAGE_TYPE(plMsgAudioSystemSwitchStateChanged, plEventMessage);
36
37 plString m_sSwitchState{};
38};
39
40struct PL_AUDIOSYSTEMPLUGIN_DLL plMsgAudioSystemSetEnvironmentAmount : public plMessage
41{
42 PL_DECLARE_MESSAGE_TYPE(plMsgAudioSystemSetEnvironmentAmount, plMessage);
43
44 float m_fAmount{0.0f};
45 bool m_bSync{false};
46};
Base class for all message types. Each message type has it's own id which is used to dispatch message...
Definition Message.h:22
Base class for all messages that are sent as 'events'.
Definition EventMessage.h:8
Definition AudioSystemMessages.h:19
Definition AudioSystemMessages.h:41
Definition AudioSystemMessages.h:11
Definition AudioSystemMessages.h:26
Definition AudioSystemMessages.h:34