LightningStrikeEvent
Engine/source/T3D/fx/lightning.cpp
Public Types
enum
Constants { PositionalBits = 10 }
enum
EventType { WarningFlash = 0 Strike = 1 TargetedStrike = 2 TypeMin = WarningFlash TypeMax = TargetedStrike }
Parent
Public Attributes
Public Functions
pack(NetConnection * , BitStream * )
process(NetConnection * )
unpack(NetConnection * , BitStream * )
write(NetConnection * , BitStream * )
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