LightningData

Engine/source/T3D/fx/lightning.h

More...

Public Types

enum
Constants {
  MaxThunders = 8
  MaxTextures = 8
}

Private Types

Parent 

Protected Functions

bool

Called when the object is added to the sim.

Public Functions

bool
preload(bool server, String & errorStr)

Called to prepare the datablock for use, after it has been unpacked.

Public Static Functions

Detailed Description

Public Types

Constants

Enumerator

MaxThunders = 8
MaxTextures = 8

Private Types

typedef GameBaseData Parent 

Public Attributes

U32 mNumStrikeTextures 
U32 numThunders 
SFXTrack * strikeSound 
StringTableEntry strikeTextureNames [MaxTextures]
GFXTexHandle strikeTextures [MaxTextures]
SFXTrack * thunderSounds [MaxThunders]

Protected Functions

onAdd()

Reimplemented from: SimDataBlock

Public Functions

LightningData()

~LightningData()

DECLARE_CONOBJECT(LightningData )

packData(BitStream * )

Reimplemented from: SimDataBlock

preload(bool server, String & errorStr)

Reimplemented from: SimDataBlock

unpackData(BitStream * )

Reimplemented from: SimDataBlock

Public Static Functions

initPersistFields()