VActor

Engine/source/Verve/VActor/VActor.h

More...

Public Types

enum
eEventType {
  k_MountEvent 
  k_UnmountEvent 
}
enum
eMaskBits {
  MoveMask = Parent::NextFreeMask << 0
  PhysicsMask = ( MoveMask )
  NextFreeMask = Parent::NextFreeMask << 1
}
tEventSignal 

Private Types

Parent 

Public Functions

bool

Called when the object is added to the sim.

onMount(SceneObject * pObject, S32 pNode)

On Mount.

bool
onNewDataBlock(GameBaseData * dptr, bool reload)

Called when a new datablock is set.

Called when the object is removed from the sim.

onUnmount(SceneObject * pObject, S32 pNode)

On Unmount.

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.

Set Transform.

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

Detailed Description

Public Types

eEventType

Enumerator

k_MountEvent
k_UnmountEvent
eMaskBits

Enumerator

MoveMask = Parent::NextFreeMask << 0
PhysicsMask = ( MoveMask )
NextFreeMask = Parent::NextFreeMask << 1
typedef Signal< void(const eEventType &)> tEventSignal 

Private Types

typedef ShapeBase Parent 

Protected Attributes

VActorData * mDataBlock 
tEventSignal mEventSignal 

Public Functions

VActor(void )

~VActor(void )

DECLARE_CONOBJECT(VActor )

getAnimationController(void )

Get Animation Controller.

Reimplemented by: VHumanoidActor

getDataBlock(void )

getEventSignal(void )

getPhysicsController(void )

Get Physics Controller.

Reimplemented by: VHumanoidActor

onAdd(void )

Reimplemented from: ShapeBase

onMount(SceneObject * pObject, S32 pNode)

Reimplemented from: ShapeBase

onNewDataBlock(GameBaseData * dptr, bool reload)

Reimplemented from: ShapeBase

onRemove(void )

Reimplemented from: ShapeBase

onUnmount(SceneObject * pObject, S32 pNode)

Reimplemented from: ShapeBase

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

Reimplemented from: ShapeBase

Reimplemented by: VHumanoidActor

processTick(const Move * move)

Reimplemented from: ShapeBase

Reimplemented by: VHumanoidActor

setTransform(const MatrixF & pMatrix)

Reimplemented from: ShapeBase

unpackUpdate(NetConnection * conn, BitStream * stream)

Reimplemented from: ShapeBase

Reimplemented by: VHumanoidActor