Sound Bakery  v0.1.0
Open-source audio middleware for games
Loading...
Searching...
No Matches
event.h
1#pragma once
2
3#include "sound_bakery/core/core_include.h"
4
5namespace SB::Engine
6{
7 enum SB_ACTION_TYPE
8 {
9 SB_ACTION_INVALID,
10 SB_ACTION_PLAY,
11 SB_ACTION_STOP,
12 SB_ACTION_NUM
13 };
14
15 struct SB_CLASS Action
16 {
17 SB_ACTION_TYPE m_type = SB_ACTION_PLAY;
19 };
20
21 class SB_CLASS Event : public SB::Core::DatabaseObject
22 {
23 REGISTER_REFLECTION(Event, SB::Core::DatabaseObject)
24
25 public:
26 std::vector<Action> m_actions;
27 };
28} // namespace SB::Engine
Base object type for any object that can exist in the editor/database. Holds an ID and name.
Definition database_object.h:22
Definition database_ptr.h:23
Definition event.h:22
Definition event.h:16