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

#include <NetData.h>

Inheritance diagram for NetCommMsg:
NetData

List of all members.

Public Types

enum  { TYPE = NET_COMM_MESSAGE, SIZE = 200 }

Public Member Functions

 NetCommMsg ()
virtual ~NetCommMsg ()
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)
RadioMessageGetRadioMessage ()
void SetRadioMessage (RadioMessage *m)
- Public Member Functions inherited from NetData
 NetData ()
virtual ~NetData ()

Static Public Member Functions

static const char * TYPENAME ()

Detailed Description

Definition at line 674 of file NetData.h.


Member Enumeration Documentation

anonymous enum
Enumerator:
TYPE 
SIZE 

Definition at line 682 of file NetData.h.


Constructor & Destructor Documentation

NetCommMsg::NetCommMsg ( )
inline

Definition at line 679 of file NetData.h.

NetCommMsg::~NetCommMsg ( )
virtual

Definition at line 865 of file NetData.cpp.


Member Function Documentation

virtual DWORD NetCommMsg::GetObjID ( ) const
inlinevirtual

Reimplemented from NetData.

Definition at line 689 of file NetData.h.

RadioMessage* NetCommMsg::GetRadioMessage ( )
inline

Definition at line 692 of file NetData.h.

virtual int NetCommMsg::Length ( ) const
inlinevirtual

Reimplemented from NetData.

Definition at line 687 of file NetData.h.

BYTE * NetCommMsg::Pack ( )
virtual

Reimplemented from NetData.

Definition at line 877 of file NetData.cpp.

virtual void NetCommMsg::SetObjID ( DWORD  o)
inlinevirtual

Reimplemented from NetData.

Definition at line 690 of file NetData.h.

void NetCommMsg::SetRadioMessage ( RadioMessage m)

Definition at line 871 of file NetData.cpp.

virtual int NetCommMsg::Type ( ) const
inlinevirtual

Reimplemented from NetData.

Definition at line 686 of file NetData.h.

static const char* NetCommMsg::TYPENAME ( )
inlinestatic

Reimplemented from NetData.

Definition at line 677 of file NetData.h.

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

Reimplemented from NetData.

Definition at line 933 of file NetData.cpp.


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