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

#include <NetData.h>

Inheritance diagram for NetJoinRequest:
NetData

List of all members.

Public Types

enum  { TYPE = NET_JOIN_REQUEST, SIZE = 128 }

Public Member Functions

 NetJoinRequest ()
virtual BYTE * Pack ()
virtual bool Unpack (const BYTE *data)
virtual int Type () const
virtual int Length () const
const char * GetName () const
const char * GetPassword () const
const char * GetSerialNumber () const
const char * GetElement () const
int GetIndex () const
void SetName (const char *n)
void SetPassword (const char *p)
void SetSerialNumber (const char *s)
void SetElement (const char *n)
void SetIndex (int n)
- Public Member Functions inherited from NetData
 NetData ()
virtual ~NetData ()
virtual DWORD GetObjID () const
virtual void SetObjID (DWORD o)

Static Public Member Functions

static const char * TYPENAME ()

Detailed Description

Definition at line 140 of file NetData.h.


Member Enumeration Documentation

anonymous enum
Enumerator:
TYPE 
SIZE 

Definition at line 147 of file NetData.h.


Constructor & Destructor Documentation

NetJoinRequest::NetJoinRequest ( )
inline

Definition at line 145 of file NetData.h.


Member Function Documentation

const char* NetJoinRequest::GetElement ( ) const
inline

Definition at line 157 of file NetData.h.

int NetJoinRequest::GetIndex ( ) const
inline

Definition at line 158 of file NetData.h.

const char* NetJoinRequest::GetName ( ) const
inline

Definition at line 154 of file NetData.h.

const char* NetJoinRequest::GetPassword ( ) const
inline

Definition at line 155 of file NetData.h.

const char* NetJoinRequest::GetSerialNumber ( ) const
inline

Definition at line 156 of file NetData.h.

virtual int NetJoinRequest::Length ( ) const
inlinevirtual

Reimplemented from NetData.

Definition at line 152 of file NetData.h.

BYTE * NetJoinRequest::Pack ( )
virtual

Reimplemented from NetData.

Definition at line 189 of file NetData.cpp.

void NetJoinRequest::SetElement ( const char *  n)
inline

Definition at line 163 of file NetData.h.

void NetJoinRequest::SetIndex ( int  n)
inline

Definition at line 164 of file NetData.h.

void NetJoinRequest::SetName ( const char *  n)
inline

Definition at line 160 of file NetData.h.

void NetJoinRequest::SetPassword ( const char *  p)
inline

Definition at line 161 of file NetData.h.

void NetJoinRequest::SetSerialNumber ( const char *  s)
inline

Definition at line 162 of file NetData.h.

virtual int NetJoinRequest::Type ( ) const
inlinevirtual

Reimplemented from NetData.

Definition at line 151 of file NetData.h.

static const char* NetJoinRequest::TYPENAME ( )
inlinestatic

Reimplemented from NetData.

Definition at line 143 of file NetData.h.

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

Reimplemented from NetData.

Definition at line 214 of file NetData.cpp.


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