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

#include <NetData.h>

Inheritance diagram for NetObjDamage:
NetData

List of all members.

Public Types

enum  { TYPE = NET_OBJ_DAMAGE, SIZE = 12 }

Public Member Functions

 NetObjDamage ()
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 GetShotID () const
virtual void SetShotID (DWORD o)
float GetDamage () const
void SetDamage (float d)
- Public Member Functions inherited from NetData
 NetData ()
virtual ~NetData ()

Static Public Member Functions

static const char * TYPENAME ()

Detailed Description

Definition at line 298 of file NetData.h.


Member Enumeration Documentation

anonymous enum
Enumerator:
TYPE 
SIZE 

Definition at line 305 of file NetData.h.


Constructor & Destructor Documentation

NetObjDamage::NetObjDamage ( )
inline

Definition at line 303 of file NetData.h.


Member Function Documentation

float NetObjDamage::GetDamage ( ) const
inline

Definition at line 318 of file NetData.h.

virtual DWORD NetObjDamage::GetObjID ( ) const
inlinevirtual

Reimplemented from NetData.

Definition at line 312 of file NetData.h.

virtual DWORD NetObjDamage::GetShotID ( ) const
inlinevirtual

Definition at line 315 of file NetData.h.

virtual int NetObjDamage::Length ( ) const
inlinevirtual

Reimplemented from NetData.

Definition at line 310 of file NetData.h.

BYTE * NetObjDamage::Pack ( )
virtual

Reimplemented from NetData.

Definition at line 456 of file NetData.cpp.

void NetObjDamage::SetDamage ( float  d)
inline

Definition at line 319 of file NetData.h.

virtual void NetObjDamage::SetObjID ( DWORD  o)
inlinevirtual

Reimplemented from NetData.

Definition at line 313 of file NetData.h.

virtual void NetObjDamage::SetShotID ( DWORD  o)
inlinevirtual

Definition at line 316 of file NetData.h.

virtual int NetObjDamage::Type ( ) const
inlinevirtual

Reimplemented from NetData.

Definition at line 309 of file NetData.h.

static const char* NetObjDamage::TYPENAME ( )
inlinestatic

Reimplemented from NetData.

Definition at line 301 of file NetData.h.

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

Reimplemented from NetData.

Definition at line 475 of file NetData.cpp.


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