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 sbk::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 sbk::core::database_object
22 {
23 REGISTER_REFLECTION(event, sbk::core::database_object)
24
25 public:
26 std::vector<action> m_actions;
27 };
28} // namespace sbk::engine
Base object type for any object that can exist in the editor/database. Holds an ID and name.
Definition database_object.h:12
Definition database_ptr.h:23
Definition event.h:22
Definition event.h:16