![]() |
VR-Forces Developer's Guide
|
Admin content which contains the list of sounds on an entity. This is the response to the DtSoundListRequestAdmin message.

Public Member Functions | |
| DtSoundListResponseAdmin () | |
| DtSoundListResponseAdmin (const DtSoundListResponseAdmin &orig) | |
| const DtSoundListResponseAdmin & | operator= (const DtSoundListResponseAdmin &orig) |
| virtual | ~DtSoundListResponseAdmin () override |
| virtual bool | init () override |
| virtual const DtAdminContentMessageType & | type () const override |
| virtual void | addSoundType (const DtRwSoundType &sound) |
| virtual void | clearSoundTypes () |
| virtual DtAdminContent * | clone () const override |
| virtual DtString | stringRep () const override |
| virtual int | netRepSize () const override |
| virtual bool | setFromNet (const char *contentBuffer, unsigned contentSize) override |
| virtual bool | setToNet () override |
| virtual const DtSoundTypeList & | soundTypes () const |
| virtual DtSoundTypeList & | soundTypes () |
Public Member Functions inherited from DtAdminContent | |
| virtual | ~DtAdminContent () |
| virtual char * | netRep () |
Static Public Member Functions | |
| static DtAdminContent * | create () |
Static Public Member Functions inherited from DtAdminContent | |
| static void | addAdminContentCreatorFcn (const DtAdminContentMessageType &contentName, DtAdminContentCreatorFcn fcn) |
| static void | setFactory (DtAdminContentFactory *factory) |
| static DtAdminContentFactory * | factory () |
| static bool | isTypeRegistered (const DtAdminContentMessageType &type) |
Protected Attributes | |
| DtSoundTypeList | mySoundTypes |
Protected Attributes inherited from DtAdminContent | |
| char * | myNetRep |
Additional Inherited Members | |
Protected Member Functions inherited from DtAdminContent | |
| DtAdminContent () | |
| DtAdminContent (const DtAdminContent &orig) | |
| const DtAdminContent & | operator= (const DtAdminContent &orig) |
| virtual char * | createNetworkBuffer () |
Static Protected Attributes inherited from DtAdminContent | |
| static DtAdminContentFactory * | myFactory |
| DtSoundListResponseAdmin::DtSoundListResponseAdmin | ( | ) |
default constructor
| DtSoundListResponseAdmin::DtSoundListResponseAdmin | ( | const DtSoundListResponseAdmin & | orig | ) |
copy constructor
|
overridevirtual |
destructor
| const DtSoundListResponseAdmin& DtSoundListResponseAdmin::operator= | ( | const DtSoundListResponseAdmin & | orig | ) |
assignment operator; same as copy constructor.
|
static |
Creator function. Returns new instance of this class.
|
overridevirtual |
Call after construction.
Reimplemented from DtAdminContent.
|
overridevirtual |
Implements DtAdminContent.
|
virtual |
Direct access to the list of sounds.
|
virtual |
Direct access to the list of sounds.
|
virtual |
Add an additional sound to the end of the current sound list.
|
virtual |
Clear the current sound list.
|
overridevirtual |
Make a copy of this content. Returns a pointer to a newly created copy of this class.
Implements DtAdminContent.
|
overridevirtual |
Get a readable string representation of this content.
Implements DtAdminContent.
|
overridevirtual |
Reimplemented from DtAdminContent.
|
overridevirtual |
Decodes content from buffer.
Reimplemented from DtAdminContent.
|
overridevirtual |
Encodes content into buffer.
Reimplemented from DtAdminContent.
|
protected |
The list of sound types.