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

#include <NetUtil.h>

List of all members.

Static Public Member Functions

static void SendObjDamage (SimObject *obj, double damage, Shot *shot=0)
static void SendObjKill (Ship *obj, const Ship *killer, int type=0, int deck=0)
static void SendObjHyper (Ship *obj, const char *rgn, const Point &loc, const Ship *fc1=0, const Ship *fc2=0, int ttype=0)
static void SendObjTarget (Ship *obj)
static void SendObjEmcon (Ship *obj)
static void SendSysDamage (Ship *obj, System *sys, double damage)
static void SendSysStatus (Ship *obj, System *sys)
static void SendWepTrigger (Weapon *wep, int count=1)
static void SendWepRelease (Weapon *wep, Shot *shot)
static void SendWepDestroy (Shot *shot)
static void SendChat (DWORD dst, const char *name, const char *text)
static void SendElemRequest (const char *name)
static void SendElemCreate (Element *elem, int squadron, int *slots, bool alert, bool in_flight=false)
static void SendShipLaunch (Ship *carrier, int squadron, int slot)
static void SendNavData (bool add, Element *elem, int index, Instruction *navpt)
static void SendNavDelete (Element *elem, int index)
static void SendSelfDestruct (Ship *ship, double damage)

Detailed Description

Definition at line 34 of file NetUtil.h.


Member Function Documentation

void NetUtil::SendChat ( DWORD  dst,
const char *  name,
const char *  text 
)
static

Definition at line 280 of file NetUtil.cpp.

void NetUtil::SendElemCreate ( Element elem,
int  squadron,
int *  slots,
bool  alert,
bool  in_flight = false 
)
static

Definition at line 318 of file NetUtil.cpp.

void NetUtil::SendElemRequest ( const char *  name)
static

Definition at line 303 of file NetUtil.cpp.

void NetUtil::SendNavData ( bool  add,
Element elem,
int  index,
Instruction navpt 
)
static

Definition at line 375 of file NetUtil.cpp.

void NetUtil::SendNavDelete ( Element elem,
int  index 
)
static

Definition at line 396 of file NetUtil.cpp.

void NetUtil::SendObjDamage ( SimObject obj,
double  damage,
Shot shot = 0 
)
static

Definition at line 33 of file NetUtil.cpp.

void NetUtil::SendObjEmcon ( Ship obj)
static

Definition at line 180 of file NetUtil.cpp.

void NetUtil::SendObjHyper ( Ship obj,
const char *  rgn,
const Point loc,
const Ship fc1 = 0,
const Ship fc2 = 0,
int  ttype = 0 
)
static

Definition at line 126 of file NetUtil.cpp.

void NetUtil::SendObjKill ( Ship obj,
const Ship killer,
int  type = 0,
int  deck = 0 
)
static

Definition at line 92 of file NetUtil.cpp.

void NetUtil::SendObjTarget ( Ship obj)
static

Definition at line 152 of file NetUtil.cpp.

void NetUtil::SendSelfDestruct ( Ship ship,
double  damage 
)
static

Definition at line 412 of file NetUtil.cpp.

void NetUtil::SendShipLaunch ( Ship carrier,
int  squadron,
int  slot 
)
static

Definition at line 356 of file NetUtil.cpp.

void NetUtil::SendSysDamage ( Ship obj,
System sys,
double  damage 
)
static

Definition at line 53 of file NetUtil.cpp.

void NetUtil::SendSysStatus ( Ship obj,
System sys 
)
static

Definition at line 71 of file NetUtil.cpp.

void NetUtil::SendWepDestroy ( Shot shot)
static

Definition at line 263 of file NetUtil.cpp.

void NetUtil::SendWepRelease ( Weapon wep,
Shot shot 
)
static

Definition at line 229 of file NetUtil.cpp.

void NetUtil::SendWepTrigger ( Weapon wep,
int  count = 1 
)
static

Definition at line 196 of file NetUtil.cpp.


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