AudioProfile Class Reference#include <audioDataBlock.h>
Inheritance diagram for AudioProfile:
Member Typedef Documentation
Constructor & Destructor Documentation
| AudioProfile::AudioProfile |
( |
|
) |
|
|
Member Function Documentation
| static void AudioProfile::initPersistFields |
( |
|
) |
[static] |
|
| static void AudioProfile::consoleInit |
( |
|
) |
[static] |
|
|
|
Register global constant variables and do other one-time initialization tasks in a subclass of ConsoleObject.
- Deprecated:
- You should use ConsoleMethod and ConsoleFunction, not this, to register methods or commands.
- See also:
- console
Reimplemented from ConsoleObject. |
| 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
|