Torque3D Documentation / _generateds / LightningStrikeEvent

LightningStrikeEvent

Engine/source/T3D/fx/lightning.cpp

More...

Public Types

enum
Constants {  PositionalBits = 10
}
enum
EventType {
  WarningFlash = 0
  Strike = 1
  TargetedStrike = 2
  TypeMin = WarningFlash
  TypeMax = TargetedStrike
}
Parent 

Detailed Description

Public Types

Constants

Enumerator

PositionalBits = 10
EventType

Enumerator

WarningFlash = 0
Strike = 1
TargetedStrike = 2
TypeMin = WarningFlash
TypeMax = TargetedStrike
typedef NetEvent Parent 

Public Attributes

S32 mClientId 
Lightning * mLightning 
Point2F mStart 
SimObjectPtr< SceneObject > mTarget 

Public Functions

LightningStrikeEvent()

~LightningStrikeEvent()

DECLARE_CONOBJECT(LightningStrikeEvent )

pack(NetConnection * , BitStream * )

Reimplemented from: NetEvent

process(NetConnection * )

Reimplemented from: NetEvent

unpack(NetConnection * , BitStream * )

Reimplemented from: NetEvent

write(NetConnection * , BitStream * )

Reimplemented from: NetEvent