Starshatter_Open
Open source Starshatter engine
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
NetObjLoc Class Reference

#include <NetData.h>

Inheritance diagram for NetObjLoc:
NetData

List of all members.

Public Types

enum  { TYPE = NET_OBJ_LOC, SIZE = 24 }

Public Member Functions

 NetObjLoc ()
 NetObjLoc (DWORD oid, const Point &pos, const Point &orient, const Point &vel)
virtual BYTE * Pack ()
virtual bool Unpack (const BYTE *data)
virtual int Type () const
virtual int Length () const
virtual DWORD GetObjID () const
virtual void SetObjID (DWORD id)
Point GetLocation () const
Point GetVelocity () const
Point GetOrientation () const
bool GetThrottle () const
bool GetAugmenter () const
bool GetGearDown () const
int GetShield () const
void SetLocation (const Point &loc)
void SetVelocity (const Point &v)
void SetOrientation (const Point &o)
void SetThrottle (bool t)
void SetAugmenter (bool a)
void SetGearDown (bool g)
void SetShield (int s)
- Public Member Functions inherited from NetData
 NetData ()
virtual ~NetData ()

Static Public Member Functions

static const char * TYPENAME ()

Detailed Description

Definition at line 89 of file NetData.h.


Member Enumeration Documentation

anonymous enum
Enumerator:
TYPE 
SIZE 

Definition at line 99 of file NetData.h.


Constructor & Destructor Documentation

NetObjLoc::NetObjLoc ( )
inline

Definition at line 94 of file NetData.h.

NetObjLoc::NetObjLoc ( DWORD  oid,
const Point pos,
const Point orient,
const Point vel 
)
inline

Definition at line 95 of file NetData.h.


Member Function Documentation

bool NetObjLoc::GetAugmenter ( ) const
inline

Definition at line 113 of file NetData.h.

bool NetObjLoc::GetGearDown ( ) const
inline

Definition at line 114 of file NetData.h.

Point NetObjLoc::GetLocation ( ) const
inline

Definition at line 109 of file NetData.h.

virtual DWORD NetObjLoc::GetObjID ( ) const
inlinevirtual

Reimplemented from NetData.

Definition at line 106 of file NetData.h.

Point NetObjLoc::GetOrientation ( ) const
inline

Definition at line 111 of file NetData.h.

int NetObjLoc::GetShield ( ) const
inline

Definition at line 115 of file NetData.h.

bool NetObjLoc::GetThrottle ( ) const
inline

Definition at line 112 of file NetData.h.

Point NetObjLoc::GetVelocity ( ) const
inline

Definition at line 110 of file NetData.h.

virtual int NetObjLoc::Length ( ) const
inlinevirtual

Reimplemented from NetData.

Definition at line 104 of file NetData.h.

BYTE * NetObjLoc::Pack ( )
virtual

Reimplemented from NetData.

Definition at line 48 of file NetData.cpp.

void NetObjLoc::SetAugmenter ( bool  a)
inline

Definition at line 121 of file NetData.h.

void NetObjLoc::SetGearDown ( bool  g)
inline

Definition at line 122 of file NetData.h.

void NetObjLoc::SetLocation ( const Point loc)
inline

Definition at line 117 of file NetData.h.

virtual void NetObjLoc::SetObjID ( DWORD  id)
inlinevirtual

Reimplemented from NetData.

Definition at line 107 of file NetData.h.

void NetObjLoc::SetOrientation ( const Point o)
inline

Definition at line 119 of file NetData.h.

void NetObjLoc::SetShield ( int  s)
inline

Definition at line 123 of file NetData.h.

void NetObjLoc::SetThrottle ( bool  t)
inline

Definition at line 120 of file NetData.h.

void NetObjLoc::SetVelocity ( const Point v)
inline

Definition at line 118 of file NetData.h.

virtual int NetObjLoc::Type ( ) const
inlinevirtual

Reimplemented from NetData.

Definition at line 103 of file NetData.h.

static const char* NetObjLoc::TYPENAME ( )
inlinestatic

Reimplemented from NetData.

Definition at line 92 of file NetData.h.

bool NetObjLoc::Unpack ( const BYTE *  data)
virtual

Reimplemented from NetData.

Definition at line 134 of file NetData.cpp.


The documentation for this class was generated from the following files: