torque Torque Game Engine Documentation
TGE Version 1.5.2

MissionArea Class Reference

#include <missionArea.h>

Inheritance diagram for MissionArea:

Inheritance graph
[legend]

NetObject Inheritance

enum  NetMaskBits { UpdateMask = BIT(0) }
U32 packUpdate (NetConnection *conn, U32 mask, BitStream *stream)
 Instructs this object to pack its state for transfer over the network.
void unpackUpdate (NetConnection *conn, BitStream *stream)
 Instructs this object to read state data previously packed with packUpdate.

SimObject Inheritance

bool onAdd ()
 Called when the object is added to the sim.
static void initPersistFields ()
 Register dynamic fields in a subclass of ConsoleObject.

Public Member Functions

 MissionArea ()
F32 getFlightCeiling () const
F32 getFlightCeilingRange () const
const RectIgetArea ()
void setArea (const RectI &area)
 DECLARE_CONOBJECT (MissionArea)

Static Public Member Functions

static const MissionAreagetServerObject ()

Static Public Attributes

static RectI smMissionArea

Private Types

typedef NetObject Parent

Private Attributes

RectI mArea
F32 mFlightCeiling
F32 mFlightCeilingRange

Member Typedef Documentation

typedef NetObject MissionArea::Parent [private]

Reimplemented from NetObject.


Member Enumeration Documentation

Enumerator:
UpdateMask 


Constructor & Destructor Documentation

MissionArea::MissionArea (  ) 


Member Function Documentation

static const MissionArea* MissionArea::getServerObject (  )  [static]

F32 MissionArea::getFlightCeiling (  )  const [inline]

F32 MissionArea::getFlightCeilingRange (  )  const [inline]

const RectI& MissionArea::getArea (  )  [inline]

void MissionArea::setArea ( const RectI area  ) 

bool MissionArea::onAdd (  )  [virtual]

Called when the object is added to the sim.

Reimplemented from NetObject.

static void MissionArea::initPersistFields (  )  [static]

Register dynamic fields in a subclass of ConsoleObject.

See also:
addField(), addFieldV(), addDepricatedField(), addGroup(), endGroup()

Reimplemented from NetObject.

U32 MissionArea::packUpdate ( NetConnection conn,
U32  mask,
BitStream stream 
) [virtual]

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

Parameters:
conn Net connection being used
mask Mask indicating fields to transmit.
stream Bitstream to pack data to
Returns:
Any bits which were not dealt with. The value is stored by the networking system. Don't set bits you weren't passed.

Reimplemented from NetObject.

void MissionArea::unpackUpdate ( NetConnection conn,
BitStream stream 
) [virtual]

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

Parameters:
conn Net connection being used
stream stream to read from

Reimplemented from NetObject.

MissionArea::DECLARE_CONOBJECT ( MissionArea   ) 


Field Documentation




All Rights Reserved GarageGames.com, Inc. 1999-2005
Auto-magically Generated with Doxygen