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

#include <NetData.h>

Inheritance diagram for NetObjKill:
NetData

List of all members.

Public Types

enum  {
  TYPE = NET_OBJ_KILL, SIZE = 24, KILL_MISC = 0, KILL_PRIMARY,
  KILL_SECONDARY, KILL_COLLISION, KILL_CRASH, KILL_DOCK
}

Public Member Functions

 NetObjKill ()
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)
virtual DWORD GetKillerID () const
virtual void SetKillerID (DWORD o)
virtual int GetKillType () const
virtual void SetKillType (int t)
virtual bool GetRespawn () const
virtual void SetRespawn (bool r)
virtual Point GetRespawnLoc () const
virtual void SetRespawnLoc (const Point &p)
virtual int GetFlightDeck () const
virtual void SetFlightDeck (int n)
- Public Member Functions inherited from NetData
 NetData ()
virtual ~NetData ()

Static Public Member Functions

static const char * TYPENAME ()

Detailed Description

Definition at line 331 of file NetData.h.


Member Enumeration Documentation

anonymous enum
Enumerator:
TYPE 
SIZE 
KILL_MISC 
KILL_PRIMARY 
KILL_SECONDARY 
KILL_COLLISION 
KILL_CRASH 
KILL_DOCK 

Definition at line 338 of file NetData.h.


Constructor & Destructor Documentation

NetObjKill::NetObjKill ( )
inline

Definition at line 336 of file NetData.h.


Member Function Documentation

virtual int NetObjKill::GetFlightDeck ( ) const
inlinevirtual

Definition at line 362 of file NetData.h.

virtual DWORD NetObjKill::GetKillerID ( ) const
inlinevirtual

Definition at line 354 of file NetData.h.

virtual int NetObjKill::GetKillType ( ) const
inlinevirtual

Definition at line 356 of file NetData.h.

virtual DWORD NetObjKill::GetObjID ( ) const
inlinevirtual

Reimplemented from NetData.

Definition at line 352 of file NetData.h.

virtual bool NetObjKill::GetRespawn ( ) const
inlinevirtual

Definition at line 358 of file NetData.h.

virtual Point NetObjKill::GetRespawnLoc ( ) const
inlinevirtual

Definition at line 360 of file NetData.h.

virtual int NetObjKill::Length ( ) const
inlinevirtual

Reimplemented from NetData.

Definition at line 350 of file NetData.h.

BYTE * NetObjKill::Pack ( )
virtual

Reimplemented from NetData.

Definition at line 578 of file NetData.cpp.

virtual void NetObjKill::SetFlightDeck ( int  n)
inlinevirtual

Definition at line 363 of file NetData.h.

virtual void NetObjKill::SetKillerID ( DWORD  o)
inlinevirtual

Definition at line 355 of file NetData.h.

virtual void NetObjKill::SetKillType ( int  t)
inlinevirtual

Definition at line 357 of file NetData.h.

virtual void NetObjKill::SetObjID ( DWORD  o)
inlinevirtual

Reimplemented from NetData.

Definition at line 353 of file NetData.h.

virtual void NetObjKill::SetRespawn ( bool  r)
inlinevirtual

Definition at line 359 of file NetData.h.

virtual void NetObjKill::SetRespawnLoc ( const Point p)
inlinevirtual

Definition at line 361 of file NetData.h.

virtual int NetObjKill::Type ( ) const
inlinevirtual

Reimplemented from NetData.

Definition at line 349 of file NetData.h.

static const char* NetObjKill::TYPENAME ( )
inlinestatic

Reimplemented from NetData.

Definition at line 334 of file NetData.h.

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

Reimplemented from NetData.

Definition at line 603 of file NetData.cpp.


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