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

#include <NetData.h>

Inheritance diagram for NetObjTarget:
NetData

List of all members.

Public Types

enum  { TYPE = NET_OBJ_TARGET, SIZE = 7 }

Public Member Functions

 NetObjTarget ()
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)
DWORD GetTgtID () const
void SetTgtID (DWORD o)
int GetSubtarget () const
void SetSubtarget (int n)
- Public Member Functions inherited from NetData
 NetData ()
virtual ~NetData ()

Static Public Member Functions

static const char * TYPENAME ()

Detailed Description

Definition at line 420 of file NetData.h.


Member Enumeration Documentation

anonymous enum
Enumerator:
TYPE 
SIZE 

Definition at line 427 of file NetData.h.


Constructor & Destructor Documentation

NetObjTarget::NetObjTarget ( )
inline

Definition at line 425 of file NetData.h.


Member Function Documentation

virtual DWORD NetObjTarget::GetObjID ( ) const
inlinevirtual

Reimplemented from NetData.

Definition at line 434 of file NetData.h.

int NetObjTarget::GetSubtarget ( ) const
inline

Definition at line 439 of file NetData.h.

DWORD NetObjTarget::GetTgtID ( ) const
inline

Definition at line 437 of file NetData.h.

virtual int NetObjTarget::Length ( ) const
inlinevirtual

Reimplemented from NetData.

Definition at line 432 of file NetData.h.

BYTE * NetObjTarget::Pack ( )
virtual

Reimplemented from NetData.

Definition at line 682 of file NetData.cpp.

virtual void NetObjTarget::SetObjID ( DWORD  o)
inlinevirtual

Reimplemented from NetData.

Definition at line 435 of file NetData.h.

void NetObjTarget::SetSubtarget ( int  n)
inline

Definition at line 440 of file NetData.h.

void NetObjTarget::SetTgtID ( DWORD  o)
inline

Definition at line 438 of file NetData.h.

virtual int NetObjTarget::Type ( ) const
inlinevirtual

Reimplemented from NetData.

Definition at line 431 of file NetData.h.

static const char* NetObjTarget::TYPENAME ( )
inlinestatic

Reimplemented from NetData.

Definition at line 423 of file NetData.h.

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

Reimplemented from NetData.

Definition at line 699 of file NetData.cpp.


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