Starshatter_Open
Open source Starshatter engine
|
#include <NetPlayer.h>
Public Member Functions | |
NetPlayer (DWORD nid) | |
~NetPlayer () | |
int | operator== (const NetPlayer &p) const |
DWORD | GetNetID () const |
DWORD | GetObjID () const |
void | SetObjID (DWORD o) |
int | GetIFF () const |
Ship * | GetShip () const |
void | SetShip (Ship *s) |
const char * | Name () const |
void | SetName (const char *n) |
const char * | SerialNumber () const |
void | SetSerialNumber (const char *n) |
virtual void | ExecFrame (double seconds) |
bool | DoObjLoc (NetObjLoc *obj_loc) |
bool | DoObjHyper (NetObjHyper *obj_hyper) |
bool | DoObjTarget (NetObjTarget *obj_target) |
bool | DoObjEmcon (NetObjEmcon *obj_emcon) |
bool | DoWepTrigger (NetWepTrigger *trigger) |
bool | DoWepRelease (NetWepRelease *release) |
bool | DoCommMessage (NetCommMsg *comm_msg) |
bool | DoSysDamage (NetSysDamage *sys_damage) |
bool | DoSysStatus (NetSysStatus *sys_status) |
virtual int | Type () const |
virtual bool | Update (SimObject *obj) |
virtual const char * | GetObserverName () const |
Public Member Functions inherited from Director | |
Director () | |
virtual | ~Director () |
virtual int | Subframe () const |
Public Member Functions inherited from SimObserver | |
virtual | ~SimObserver () |
int | operator== (const SimObserver &o) const |
virtual void | Observe (SimObject *obj) |
virtual void | Ignore (SimObject *obj) |
Static Public Member Functions | |
static const char * | TYPENAME () |
Protected Attributes | |
DWORD | netid |
DWORD | objid |
Text | name |
Text | serno |
Ship * | ship |
int | iff |
Point | loc_error |
double | bleed_time |
Protected Attributes inherited from SimObserver | |
List< SimObject > | observe_list |
Definition at line 43 of file NetPlayer.h.
|
inline |
Definition at line 48 of file NetPlayer.h.
NetPlayer::~NetPlayer | ( | ) |
Definition at line 43 of file NetPlayer.cpp.
bool NetPlayer::DoCommMessage | ( | NetCommMsg * | comm_msg | ) |
Definition at line 363 of file NetPlayer.cpp.
bool NetPlayer::DoObjEmcon | ( | NetObjEmcon * | obj_emcon | ) |
Definition at line 217 of file NetPlayer.cpp.
bool NetPlayer::DoObjHyper | ( | NetObjHyper * | obj_hyper | ) |
Definition at line 130 of file NetPlayer.cpp.
bool NetPlayer::DoObjLoc | ( | NetObjLoc * | obj_loc | ) |
Definition at line 102 of file NetPlayer.cpp.
bool NetPlayer::DoObjTarget | ( | NetObjTarget * | obj_target | ) |
Definition at line 185 of file NetPlayer.cpp.
bool NetPlayer::DoSysDamage | ( | NetSysDamage * | sys_damage | ) |
Definition at line 386 of file NetPlayer.cpp.
bool NetPlayer::DoSysStatus | ( | NetSysStatus * | sys_status | ) |
Definition at line 401 of file NetPlayer.cpp.
bool NetPlayer::DoWepRelease | ( | NetWepRelease * | release | ) |
Definition at line 310 of file NetPlayer.cpp.
bool NetPlayer::DoWepTrigger | ( | NetWepTrigger * | trigger | ) |
Definition at line 230 of file NetPlayer.cpp.
|
virtual |
Reimplemented from Director.
Definition at line 420 of file NetPlayer.cpp.
|
inline |
Definition at line 57 of file NetPlayer.h.
|
inline |
Definition at line 53 of file NetPlayer.h.
|
inline |
Definition at line 54 of file NetPlayer.h.
|
virtual |
Reimplemented from SimObserver.
Definition at line 461 of file NetPlayer.cpp.
|
inline |
Definition at line 58 of file NetPlayer.h.
|
inline |
Definition at line 61 of file NetPlayer.h.
|
inline |
Definition at line 51 of file NetPlayer.h.
|
inline |
Definition at line 63 of file NetPlayer.h.
|
inline |
Definition at line 62 of file NetPlayer.h.
|
inline |
Definition at line 55 of file NetPlayer.h.
|
inline |
Definition at line 64 of file NetPlayer.h.
void NetPlayer::SetShip | ( | Ship * | s | ) |
Definition at line 56 of file NetPlayer.cpp.
|
inlinevirtual |
Reimplemented from Director.
Definition at line 78 of file NetPlayer.h.
|
inlinestatic |
Reimplemented from SimObserver.
Definition at line 46 of file NetPlayer.h.
|
virtual |
Reimplemented from SimObserver.
Definition at line 451 of file NetPlayer.cpp.
|
protected |
Definition at line 92 of file NetPlayer.h.
|
protected |
Definition at line 89 of file NetPlayer.h.
|
protected |
Definition at line 91 of file NetPlayer.h.
|
protected |
Definition at line 86 of file NetPlayer.h.
|
protected |
Definition at line 84 of file NetPlayer.h.
|
protected |
Definition at line 85 of file NetPlayer.h.
|
protected |
Definition at line 87 of file NetPlayer.h.
|
protected |
Definition at line 88 of file NetPlayer.h.