SpawnSphere

Engine/source/T3D/missionMarker.h

More...

Public Types

enum
SpawnSphereMasks {
  UpdateSphereMask = Parent::NextFreeMask
  NextFreeMask = Parent::NextFreeMask << 1
}

Private Types

Public Functions

Advances simulation time for animations.

DECLARE_CALLBACK(void , onAdd , (U32 objectId) )

Called after any property of the object is changed in the world editor.

bool

Called when the object is added to the sim.

packUpdate(NetConnection * conn, U32 mask, BitStream * stream)

Instructs this object to pack its state for transfer over the network.

Processes a move event and updates object state once every 32 milliseconds.

spawnObject(String additionalProps)

Instructs this object to read state data previously packed with packUpdate.

Public Static Functions

Detailed Description

Public Types

SpawnSphereMasks

Enumerator

UpdateSphereMask = Parent::NextFreeMask
NextFreeMask = Parent::NextFreeMask << 1

Private Types

typedef MissionMarker Parent 

Public Attributes

bool mAutoSpawn 
F32 mIndoorWeight 
F32 mOutdoorWeight 
F32 mRadius 
String mSpawnClass 
String mSpawnDataBlock 
String mSpawnName 
String mSpawnProperties 
String mSpawnScript 
bool mSpawnTransform 
F32 mSphereWeight 

Public Functions

SpawnSphere()

advanceTime(F32 dt)

Reimplemented from: ProcessObject

DECLARE_CALLBACK(void , onAdd , (U32 objectId) )

DECLARE_CONOBJECT(SpawnSphere )

inspectPostApply()

Reimplemented from: MissionMarker

onAdd()

Reimplemented from: MissionMarker

packUpdate(NetConnection * conn, U32 mask, BitStream * stream)

Reimplemented from: MissionMarker

processTick(const Move * move)

Reimplemented from: GameBase

spawnObject(String additionalProps)

unpackUpdate(NetConnection * conn, BitStream * stream)

Reimplemented from: MissionMarker

Public Static Functions

initPersistFields()