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
5
namespace
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;
18
sbk::core::database_ptr<sbk::core::database_object>
m_destination;
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
sbk::core::database_object
Base object type for any object that can exist in the editor/database. Holds an ID and name.
Definition
database_object.h:12
sbk::core::database_ptr
Definition
database_ptr.h:23
sbk::engine::event
Definition
event.h:22
sbk::engine::action
Definition
event.h:16
src
sound_bakery
event
event.h
Generated by
1.9.8