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

#include <NetData.h>

Inheritance diagram for NetSysDamage:
NetData

List of all members.

Public Types

enum  { TYPE = NET_SYS_DAMAGE, SIZE = 12 }

Public Member Functions

 NetSysDamage ()
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)
int GetSystem () const
void SetSystem (int n)
BYTE GetDamageType () const
void SetDamageType (BYTE t)
double GetDamage () const
void SetDamage (double d)
- Public Member Functions inherited from NetData
 NetData ()
virtual ~NetData ()

Static Public Member Functions

static const char * TYPENAME ()

Detailed Description

Definition at line 481 of file NetData.h.


Member Enumeration Documentation

anonymous enum
Enumerator:
TYPE 
SIZE 

Definition at line 488 of file NetData.h.


Constructor & Destructor Documentation

NetSysDamage::NetSysDamage ( )
inline

Definition at line 486 of file NetData.h.


Member Function Documentation

double NetSysDamage::GetDamage ( ) const
inline

Definition at line 502 of file NetData.h.

BYTE NetSysDamage::GetDamageType ( ) const
inline

Definition at line 500 of file NetData.h.

virtual DWORD NetSysDamage::GetObjID ( ) const
inlinevirtual

Reimplemented from NetData.

Definition at line 495 of file NetData.h.

int NetSysDamage::GetSystem ( ) const
inline

Definition at line 498 of file NetData.h.

virtual int NetSysDamage::Length ( ) const
inlinevirtual

Reimplemented from NetData.

Definition at line 493 of file NetData.h.

BYTE * NetSysDamage::Pack ( )
virtual

Reimplemented from NetData.

Definition at line 493 of file NetData.cpp.

void NetSysDamage::SetDamage ( double  d)
inline

Definition at line 503 of file NetData.h.

void NetSysDamage::SetDamageType ( BYTE  t)
inline

Definition at line 501 of file NetData.h.

virtual void NetSysDamage::SetObjID ( DWORD  o)
inlinevirtual

Reimplemented from NetData.

Definition at line 496 of file NetData.h.

void NetSysDamage::SetSystem ( int  n)
inline

Definition at line 499 of file NetData.h.

virtual int NetSysDamage::Type ( ) const
inlinevirtual

Reimplemented from NetData.

Definition at line 492 of file NetData.h.

static const char* NetSysDamage::TYPENAME ( )
inlinestatic

Reimplemented from NetData.

Definition at line 484 of file NetData.h.

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

Reimplemented from NetData.

Definition at line 513 of file NetData.cpp.


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