AudioProfile Class Reference#include <audioDataBlock.h>
Inheritance diagram for AudioProfile:
[legend]
Member Typedef Documentation
Constructor & Destructor Documentation
AudioProfile::AudioProfile |
( |
|
) |
|
Member Function Documentation
static void AudioProfile::initPersistFields |
( |
|
) |
[static] |
virtual bool AudioProfile::onAdd |
( |
|
) |
[virtual] |
Called when the object is added to the sim.
Reimplemented from SimDataBlock.
virtual void AudioProfile::packData |
( |
BitStream * |
stream |
) |
[virtual] |
virtual void AudioProfile::unpackData |
( |
BitStream * |
stream |
) |
[virtual] |
virtual bool AudioProfile::preload |
( |
bool |
server, |
|
|
char |
errorBuffer[256] | |
|
) |
| | [virtual] |
Called to prepare the datablock for use, after it has been unpacked.
- Parameters:
-
| server | Set if we're running on the server (and therefore don't need to load things like textures or sounds). |
| errorBuffer | If an error occurs in loading, this is set to a short string describing the error. |
- Returns:
- True if all went well; false if something failed.
- See also:
- preload() and File Downloading
Reimplemented from SimDataBlock.
bool AudioProfile::isPreload |
( |
|
) |
[inline] |
Field Documentation
|