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

#include <NetData.h>

Inheritance diagram for NetSysStatus:
NetData

List of all members.

Public Types

enum  { TYPE = NET_SYS_STATUS, SIZE = 12 }

Public Member Functions

 NetSysStatus ()
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 GetStatus () const
void SetStatus (BYTE s)
int GetPower () const
void SetPower (int n)
int GetReactor () const
void SetReactor (int n)
double GetAvailability () const
void SetAvailablility (double a)
- Public Member Functions inherited from NetData
 NetData ()
virtual ~NetData ()

Static Public Member Functions

static const char * TYPENAME ()

Detailed Description

Definition at line 516 of file NetData.h.


Member Enumeration Documentation

anonymous enum
Enumerator:
TYPE 
SIZE 

Definition at line 524 of file NetData.h.


Constructor & Destructor Documentation

NetSysStatus::NetSysStatus ( )
inline

Definition at line 521 of file NetData.h.


Member Function Documentation

double NetSysStatus::GetAvailability ( ) const
inline

Definition at line 542 of file NetData.h.

virtual DWORD NetSysStatus::GetObjID ( ) const
inlinevirtual

Reimplemented from NetData.

Definition at line 531 of file NetData.h.

int NetSysStatus::GetPower ( ) const
inline

Definition at line 538 of file NetData.h.

int NetSysStatus::GetReactor ( ) const
inline

Definition at line 540 of file NetData.h.

BYTE NetSysStatus::GetStatus ( ) const
inline

Definition at line 536 of file NetData.h.

int NetSysStatus::GetSystem ( ) const
inline

Definition at line 534 of file NetData.h.

virtual int NetSysStatus::Length ( ) const
inlinevirtual

Reimplemented from NetData.

Definition at line 529 of file NetData.h.

BYTE * NetSysStatus::Pack ( )
virtual

Reimplemented from NetData.

Definition at line 533 of file NetData.cpp.

void NetSysStatus::SetAvailablility ( double  a)
inline

Definition at line 543 of file NetData.h.

virtual void NetSysStatus::SetObjID ( DWORD  o)
inlinevirtual

Reimplemented from NetData.

Definition at line 532 of file NetData.h.

void NetSysStatus::SetPower ( int  n)
inline

Definition at line 539 of file NetData.h.

void NetSysStatus::SetReactor ( int  n)
inline

Definition at line 541 of file NetData.h.

void NetSysStatus::SetStatus ( BYTE  s)
inline

Definition at line 537 of file NetData.h.

void NetSysStatus::SetSystem ( int  n)
inline

Definition at line 535 of file NetData.h.

virtual int NetSysStatus::Type ( ) const
inlinevirtual

Reimplemented from NetData.

Definition at line 528 of file NetData.h.

static const char* NetSysStatus::TYPENAME ( )
inlinestatic

Reimplemented from NetData.

Definition at line 519 of file NetData.h.

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

Reimplemented from NetData.

Definition at line 554 of file NetData.cpp.


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