i6engine
1.0
|
plays given sound with callback More...
#include <D:/Projekte/i6engine/libs/i6engine-modules/include/i6engine/api/configs/AudioConfig.h>
Public Member Functions | |
Audio_PlaySoundWithCallback_Create (SoundHandle h, const std::string &f, double m, const Vec3 &p, const Vec3 &d, bool c, const std::string &cat, const std::function< void(bool)> &cb) | |
Audio_PlaySoundWithCallback_Create * | copy () |
Copy method returning an exact copy of itself. More... | |
Public Member Functions inherited from i6e::core::MessageStruct | |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int) |
MessageStruct () | |
Default constructor for MessageStruct. More... | |
MessageStruct (const MessageStruct &other) | |
Copy constructor for MessageStruct. More... | |
MessageStruct (const int64_t id, const IPKey &send, const int64_t waitID) | |
Constructor for MessageStruct. More... | |
MessageStruct (int64_t id, int64_t waitID) | |
virtual | ~MessageStruct () |
Virtual destructor. More... | |
int64_t | getID () const |
returns the id More... | |
int64_t | getWaitID () const |
returns the waitForId More... | |
Public Attributes | |
SoundHandle | handle |
std::string | file |
double | maxDist |
Vec3 | position |
Vec3 | direction |
bool | cacheable |
std::string | category |
std::function< void(bool)> | callback |
Public Attributes inherited from i6e::core::MessageStruct | |
int64_t | _id |
IPKey | _sender |
int64_t | _waitForId |
plays given sound with callback
Definition at line 129 of file AudioConfig.h.
|
inline |
Definition at line 138 of file AudioConfig.h.
|
inlinevirtual |
Copy method returning an exact copy of itself.
Reimplemented from i6e::core::MessageStruct.
Definition at line 140 of file AudioConfig.h.
bool i6e::api::audio::Audio_PlaySoundWithCallback_Create::cacheable |
Definition at line 135 of file AudioConfig.h.
std::function<void(bool)> i6e::api::audio::Audio_PlaySoundWithCallback_Create::callback |
Definition at line 137 of file AudioConfig.h.
std::string i6e::api::audio::Audio_PlaySoundWithCallback_Create::category |
Definition at line 136 of file AudioConfig.h.
Vec3 i6e::api::audio::Audio_PlaySoundWithCallback_Create::direction |
Definition at line 134 of file AudioConfig.h.
std::string i6e::api::audio::Audio_PlaySoundWithCallback_Create::file |
Definition at line 131 of file AudioConfig.h.
SoundHandle i6e::api::audio::Audio_PlaySoundWithCallback_Create::handle |
Definition at line 130 of file AudioConfig.h.
double i6e::api::audio::Audio_PlaySoundWithCallback_Create::maxDist |
Definition at line 132 of file AudioConfig.h.
Vec3 i6e::api::audio::Audio_PlaySoundWithCallback_Create::position |
Definition at line 133 of file AudioConfig.h.