PathedInteriorData Struct Reference

#include <pathedInterior.h>

Inheritance diagram for PathedInteriorData:

Inheritance graph
[legend]
List of all members.

Public Types

typedef GameBaseData Parent
 StartSound
 SustainSound
 StopSound
 MaxSounds
enum  Sounds {
  StartSound,
  SustainSound,
  StopSound,
  MaxSounds
}

Public Member Functions

virtual void packData (BitStream *stream)
virtual void unpackData (BitStream *stream)
bool preload (bool server, String &errorStr)
 Called to prepare the datablock for use, after it has been unpacked.
 PathedInteriorData ()
 DECLARE_CONOBJECT (PathedInteriorData)

Static Public Member Functions

static void initPersistFields ()
 Register dynamic fields in a subclass of ConsoleObject.

Public Attributes

SFXProfilesound [MaxSounds]

Member Typedef Documentation


Member Enumeration Documentation

Enumerator:
StartSound 
SustainSound 
StopSound 
MaxSounds 


Constructor & Destructor Documentation

PathedInteriorData::PathedInteriorData (  ) 


Member Function Documentation

static void PathedInteriorData::initPersistFields (  )  [static]

Register dynamic fields in a subclass of ConsoleObject.

See also:
addField(), addFieldV(), addDeprecatedField(), addGroup(), endGroup()

Reimplemented from GameBaseData.

virtual void PathedInteriorData::packData ( BitStream stream  )  [virtual]

Reimplemented from SimDataBlock.

virtual void PathedInteriorData::unpackData ( BitStream stream  )  [virtual]

Reimplemented from GameBaseData.

bool PathedInteriorData::preload ( bool  server,
String errorStr 
) [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).
errorStr 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 GameBaseData.

PathedInteriorData::DECLARE_CONOBJECT ( PathedInteriorData   ) 


Member Data Documentation