i6engine  1.0
i6e::api::audio::Audio_PlaySound_Create Struct Reference

plays given sound once More...

#include <D:/Projekte/i6engine/libs/i6engine-modules/include/i6engine/api/configs/AudioConfig.h>

Public Member Functions

 Audio_PlaySound_Create (SoundHandle h, const std::string &f, double m, const Vec3 &p, const Vec3 &d, bool c, const std::string &cat)
 
Audio_PlaySound_Createcopy ()
 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
 
- Public Attributes inherited from i6e::core::MessageStruct
int64_t _id
 
IPKey _sender
 
int64_t _waitForId
 

Detailed Description

plays given sound once

Definition at line 111 of file AudioConfig.h.

Constructor & Destructor Documentation

i6e::api::audio::Audio_PlaySound_Create::Audio_PlaySound_Create ( SoundHandle  h,
const std::string &  f,
double  m,
const Vec3 p,
const Vec3 d,
bool  c,
const std::string &  cat 
)
inline

Definition at line 119 of file AudioConfig.h.

Member Function Documentation

Audio_PlaySound_Create* i6e::api::audio::Audio_PlaySound_Create::copy ( )
inlinevirtual

Copy method returning an exact copy of itself.

Returns
Copy of itself.

Reimplemented from i6e::core::MessageStruct.

Definition at line 121 of file AudioConfig.h.

Member Data Documentation

bool i6e::api::audio::Audio_PlaySound_Create::cacheable

Definition at line 117 of file AudioConfig.h.

std::string i6e::api::audio::Audio_PlaySound_Create::category

Definition at line 118 of file AudioConfig.h.

Vec3 i6e::api::audio::Audio_PlaySound_Create::direction

Definition at line 116 of file AudioConfig.h.

std::string i6e::api::audio::Audio_PlaySound_Create::file

Definition at line 113 of file AudioConfig.h.

SoundHandle i6e::api::audio::Audio_PlaySound_Create::handle

Definition at line 112 of file AudioConfig.h.

double i6e::api::audio::Audio_PlaySound_Create::maxDist

Definition at line 114 of file AudioConfig.h.

Vec3 i6e::api::audio::Audio_PlaySound_Create::position

Definition at line 115 of file AudioConfig.h.


The documentation for this struct was generated from the following file: