open-dis-cpp
|
Public Member Functions | |
virtual void | marshal (DataStream &dataStream) const |
virtual void | unmarshal (DataStream &dataStream) |
EntityType & | getMunitionType () |
const EntityType & | getMunitionType () const |
void | setMunitionType (const EntityType &pX) |
unsigned short | getWarhead () const |
void | setWarhead (unsigned short pX) |
unsigned short | getFuse () const |
void | setFuse (unsigned short pX) |
unsigned short | getQuantity () const |
void | setQuantity (unsigned short pX) |
unsigned short | getRate () const |
void | setRate (unsigned short pX) |
virtual int | getMarshalledSize () const |
bool | operator== (const MunitionDescriptor &rhs) const |
Protected Attributes | |
EntityType | _munitionType |
What munition was used in the burst. | |
unsigned short | _warhead |
type of warhead | |
unsigned short | _fuse |
type of fuse used | |
unsigned short | _quantity |
how many of the munition were fired | |
unsigned short | _rate |
rate at which the munition was fired | |