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

#include <NetData.h>

Inheritance diagram for NetJoinAnnounce:
NetData

List of all members.

Public Types

enum  { TYPE = NET_JOIN_ANNOUNCE, SIZE = 200 }

Public Member Functions

 NetJoinAnnounce ()
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 o)
const char * GetName () const
const char * GetElement () const
const char * GetRegion () const
const PointGetLocation () const
const PointGetVelocity () const
int GetIndex () const
double GetIntegrity () const
int GetRespawns () const
int GetDecoys () const
int GetProbes () const
int GetFuel () const
int GetShield () const
const int * GetAmmo () const
void SetShip (Ship *s)
void SetName (const char *n)
void SetElement (const char *n)
void SetRegion (const char *r)
void SetLocation (const Point &l)
void SetVelocity (const Point &v)
void SetIndex (int n)
void SetIntegrity (double n)
void SetRespawns (int n)
void SetDecoys (int n)
void SetProbes (int n)
void SetFuel (int n)
void SetShield (int n)
void SetAmmo (const int *a)
virtual DWORD GetNetID () const
virtual void SetNetID (DWORD n)
- Public Member Functions inherited from NetData
 NetData ()
virtual ~NetData ()

Static Public Member Functions

static const char * TYPENAME ()

Detailed Description

Definition at line 178 of file NetData.h.


Member Enumeration Documentation

anonymous enum
Enumerator:
TYPE 
SIZE 

Definition at line 185 of file NetData.h.


Constructor & Destructor Documentation

NetJoinAnnounce::NetJoinAnnounce ( )

Definition at line 246 of file NetData.cpp.


Member Function Documentation

const int* NetJoinAnnounce::GetAmmo ( ) const
inline

Definition at line 207 of file NetData.h.

int NetJoinAnnounce::GetDecoys ( ) const
inline

Definition at line 203 of file NetData.h.

const char* NetJoinAnnounce::GetElement ( ) const
inline

Definition at line 196 of file NetData.h.

int NetJoinAnnounce::GetFuel ( ) const
inline

Definition at line 205 of file NetData.h.

int NetJoinAnnounce::GetIndex ( ) const
inline

Definition at line 200 of file NetData.h.

double NetJoinAnnounce::GetIntegrity ( ) const
inline

Definition at line 201 of file NetData.h.

const Point& NetJoinAnnounce::GetLocation ( ) const
inline

Definition at line 198 of file NetData.h.

const char* NetJoinAnnounce::GetName ( ) const
inline

Definition at line 195 of file NetData.h.

virtual DWORD NetJoinAnnounce::GetNetID ( ) const
inlinevirtual

Definition at line 225 of file NetData.h.

virtual DWORD NetJoinAnnounce::GetObjID ( ) const
inlinevirtual

Reimplemented from NetData.

Definition at line 192 of file NetData.h.

int NetJoinAnnounce::GetProbes ( ) const
inline

Definition at line 204 of file NetData.h.

const char* NetJoinAnnounce::GetRegion ( ) const
inline

Definition at line 197 of file NetData.h.

int NetJoinAnnounce::GetRespawns ( ) const
inline

Definition at line 202 of file NetData.h.

int NetJoinAnnounce::GetShield ( ) const
inline

Definition at line 206 of file NetData.h.

const Point& NetJoinAnnounce::GetVelocity ( ) const
inline

Definition at line 199 of file NetData.h.

virtual int NetJoinAnnounce::Length ( ) const
inlinevirtual

Reimplemented from NetData.

Definition at line 190 of file NetData.h.

BYTE * NetJoinAnnounce::Pack ( )
virtual

Reimplemented from NetData.

Definition at line 295 of file NetData.cpp.

void NetJoinAnnounce::SetAmmo ( const int *  a)

Definition at line 254 of file NetData.cpp.

void NetJoinAnnounce::SetDecoys ( int  n)
inline

Definition at line 219 of file NetData.h.

void NetJoinAnnounce::SetElement ( const char *  n)
inline

Definition at line 212 of file NetData.h.

void NetJoinAnnounce::SetFuel ( int  n)
inline

Definition at line 221 of file NetData.h.

void NetJoinAnnounce::SetIndex ( int  n)
inline

Definition at line 216 of file NetData.h.

void NetJoinAnnounce::SetIntegrity ( double  n)
inline

Definition at line 217 of file NetData.h.

void NetJoinAnnounce::SetLocation ( const Point l)
inline

Definition at line 214 of file NetData.h.

void NetJoinAnnounce::SetName ( const char *  n)
inline

Definition at line 211 of file NetData.h.

virtual void NetJoinAnnounce::SetNetID ( DWORD  n)
inlinevirtual

Definition at line 226 of file NetData.h.

virtual void NetJoinAnnounce::SetObjID ( DWORD  o)
inlinevirtual

Reimplemented from NetData.

Definition at line 193 of file NetData.h.

void NetJoinAnnounce::SetProbes ( int  n)
inline

Definition at line 220 of file NetData.h.

void NetJoinAnnounce::SetRegion ( const char *  r)
inline

Definition at line 213 of file NetData.h.

void NetJoinAnnounce::SetRespawns ( int  n)
inline

Definition at line 218 of file NetData.h.

void NetJoinAnnounce::SetShield ( int  n)
inline

Definition at line 222 of file NetData.h.

void NetJoinAnnounce::SetShip ( Ship s)

Definition at line 262 of file NetData.cpp.

void NetJoinAnnounce::SetVelocity ( const Point v)
inline

Definition at line 215 of file NetData.h.

virtual int NetJoinAnnounce::Type ( ) const
inlinevirtual

Reimplemented from NetData.

Definition at line 189 of file NetData.h.

static const char* NetJoinAnnounce::TYPENAME ( )
inlinestatic

Reimplemented from NetData.

Definition at line 181 of file NetData.h.

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

Reimplemented from NetData.

Definition at line 348 of file NetData.cpp.


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