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

#include <NetData.h>

Inheritance diagram for NetElemCreate:
NetData

List of all members.

Public Types

enum  { TYPE = NET_ELEM_CREATE, SIZE = 192, NAME_LEN = 32 }

Public Member Functions

 NetElemCreate ()
virtual BYTE * Pack ()
virtual bool Unpack (const BYTE *data)
virtual int Type () const
virtual int Length () const
const TextGetName () const
void SetName (const char *m)
const TextGetCommander () const
void SetCommander (const char *m)
const TextGetObjective () const
void SetObjective (const char *m)
const TextGetCarrier () const
void SetCarrier (const char *m)
int GetIFF () const
void SetIFF (int n)
int GetType () const
void SetType (int n)
int GetIntel () const
void SetIntel (int n)
int GetObjCode () const
void SetObjCode (int n)
int GetSquadron () const
void SetSquadron (int n)
int * GetLoadout ()
void SetLoadout (int *n)
int * GetSlots ()
void SetSlots (int *n)
bool GetAlert () const
void SetAlert (bool a)
bool GetInFlight () const
void SetInFlight (bool f)
- 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 762 of file NetData.h.


Member Enumeration Documentation

anonymous enum
Enumerator:
TYPE 
SIZE 
NAME_LEN 

Definition at line 769 of file NetData.h.


Constructor & Destructor Documentation

NetElemCreate::NetElemCreate ( )

Definition at line 1083 of file NetData.cpp.


Member Function Documentation

bool NetElemCreate::GetAlert ( ) const
inline

Definition at line 801 of file NetData.h.

const Text& NetElemCreate::GetCarrier ( ) const
inline

Definition at line 782 of file NetData.h.

const Text& NetElemCreate::GetCommander ( ) const
inline

Definition at line 778 of file NetData.h.

int NetElemCreate::GetIFF ( ) const
inline

Definition at line 785 of file NetData.h.

bool NetElemCreate::GetInFlight ( ) const
inline

Definition at line 804 of file NetData.h.

int NetElemCreate::GetIntel ( ) const
inline

Definition at line 789 of file NetData.h.

int* NetElemCreate::GetLoadout ( )
inline

Definition at line 796 of file NetData.h.

const Text& NetElemCreate::GetName ( ) const
inline

Definition at line 776 of file NetData.h.

int NetElemCreate::GetObjCode ( ) const
inline

Definition at line 791 of file NetData.h.

const Text& NetElemCreate::GetObjective ( ) const
inline

Definition at line 780 of file NetData.h.

int* NetElemCreate::GetSlots ( )
inline

Definition at line 798 of file NetData.h.

int NetElemCreate::GetSquadron ( ) const
inline

Definition at line 793 of file NetData.h.

int NetElemCreate::GetType ( ) const
inline

Definition at line 787 of file NetData.h.

virtual int NetElemCreate::Length ( ) const
inlinevirtual

Reimplemented from NetData.

Definition at line 774 of file NetData.h.

BYTE * NetElemCreate::Pack ( )
virtual

Reimplemented from NetData.

Definition at line 1115 of file NetData.cpp.

void NetElemCreate::SetAlert ( bool  a)
inline

Definition at line 802 of file NetData.h.

void NetElemCreate::SetCarrier ( const char *  m)
inline

Definition at line 783 of file NetData.h.

void NetElemCreate::SetCommander ( const char *  m)
inline

Definition at line 779 of file NetData.h.

void NetElemCreate::SetIFF ( int  n)
inline

Definition at line 786 of file NetData.h.

void NetElemCreate::SetInFlight ( bool  f)
inline

Definition at line 805 of file NetData.h.

void NetElemCreate::SetIntel ( int  n)
inline

Definition at line 790 of file NetData.h.

void NetElemCreate::SetLoadout ( int *  n)

Definition at line 1091 of file NetData.cpp.

void NetElemCreate::SetName ( const char *  m)
inline

Definition at line 777 of file NetData.h.

void NetElemCreate::SetObjCode ( int  n)
inline

Definition at line 792 of file NetData.h.

void NetElemCreate::SetObjective ( const char *  m)
inline

Definition at line 781 of file NetData.h.

void NetElemCreate::SetSlots ( int *  n)

Definition at line 1103 of file NetData.cpp.

void NetElemCreate::SetSquadron ( int  n)
inline

Definition at line 794 of file NetData.h.

void NetElemCreate::SetType ( int  n)
inline

Definition at line 788 of file NetData.h.

virtual int NetElemCreate::Type ( ) const
inlinevirtual

Reimplemented from NetData.

Definition at line 773 of file NetData.h.

static const char* NetElemCreate::TYPENAME ( )
inlinestatic

Reimplemented from NetData.

Definition at line 765 of file NetData.h.

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

Reimplemented from NetData.

Definition at line 1147 of file NetData.cpp.


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