VR-Link C# API Documentation
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Events Macros Pages
List of all members | Classes | Public Types | Public Member Functions | Public Attributes | Protected Member Functions | Properties | Static Private Member Functions | Private Attributes
DetonateMessage Class Reference
+ Inheritance diagram for DetonateMessage:
+ Collaboration diagram for DetonateMessage:

Classes

class  ArtPart
class  Parameter

Public Types

enum  FuzeType {
  OTHER = 0, CONTACT = 1000, CONTACTINSTANT = 1100, CONTACTDELAYED = 1200,
  TIMED = 2000, PROXIMITY = 3000, COMMAND = 4000, ALTITUDE = 5000,
  DEPTH = 6000, ACOUSTIC = 7000
}
enum  ResultType {
  OTHER, ENTITYIMPACT, ENTITYPROXIMATE, GROUNDIMPACT,
  GROUNDPROXIMATE, DETONATION, NONE, HE_SMALL,
  HE_MEDIUM, HE_LARGE, ARMORPEIRCING, DIRTBLAST_SMALL,
  DIRTBLAST_MEDIUM, DIRTBLAST_LARGE, WATERBLAST_SMALL, WATERBLAST_MEDIUM,
  WATERBLAST_LARGE, CLEARINGLINECHARGE, ENVIRONMENTALOBJECTIMPACT, ENVIRONMENTALOBJECTPROXIMATE,
  WATERIMPACT, AIRBURST
}
enum  WarheadType {
  OTHER = 0, HIGHEXPLOSIVE = 1000, HIGHEXPLOSIVEPLATIC = 1100, HIGHEXPLOSIVEINCENDIARY = 1200,
  HIGHEXPLOSIVEFRAGMENTATION = 1300, HIGHEXPLOSIVEANTITANK = 1400, HIGHEXPLOSIVEBOMBLETS = 1500, HIGHEXPLOSIVESHAPEDCHARGE = 1600,
  SMOKE = 2000, ILLUMINATION = 3000, PRACTICE = 4000, KINETIC = 5000,
  UNUSED = 6000, NUCLEAR = 7000, CHEMICALGENERAL = 8000, CHEMICALBLISTER = 8100,
  CHEMICALBLOOD = 8200, CHEMICALNERVE = 8300, BIOLOGICALGENERAL = 9000
}
enum  ParameterTypes {
  POSITION = 1, POSITIONRATE = 2, EXTENSION = 3, EXTENSIONRATE = 4,
  X = 5, XRATE = 6, Y = 7, YRATE = 8,
  Z = 9, ZRATE = 10, AZIMUTH = 11, AZIMUTHRATE = 12,
  ELEVATION = 13, ELEVATIONRATE = 14, ROTATION = 15, ROTATIONRATE = 16
}

Public Member Functions

 DetonateMessage ()
- Public Member Functions inherited from Message
 Message ()
virtual Byte[] encode ()

Public Attributes

const String theFullName = "DetonateMessage"

Protected Member Functions

override int messageSize ()
override void serialize (ref BinaryWriter writer)
override void deserialize (ref BinaryReader reader)

Properties

static string theName [get]
string firingId [get, set]
string targetId [get, set]
string munitionId [get, set]
Vector3d worldPosition [get, set]
Vector3f velocity [get, set]
int eventId [get, set]
EntityType munitionType [get, set]
FuzeType fuzeType [get, set]
WarheadType warheadType [get, set]
int quantity [get, set]
int rate [get, set]
Vector3f entityLocation [get, set]
ResultType result [get, set]
List< ArtPartArticulatedParts [get, set]
- Properties inherited from Message
String name [get]

Static Private Member Functions

static DetonateMessage ()

Private Attributes

string myFiringId = ""
string myTargetId = ""
string myMunitionId = ""
Vector3d myWorldPosition
Vector3f myVelocity
int myEventId
EntityType myMunitionType = new EntityType()
FuzeType myFuzeType
WarheadType myWarheadType
int myQuantity
int myRate
Vector3f myEntityLocation
ResultType myResult
List< ArtPartmyArticulatedParts = new List<ArtPart>()

Additional Inherited Members

- Static Public Member Functions inherited from Message
static Message decode (ref Byte[] bytes)
- Static Protected Member Functions inherited from Message
static Message createMessage (ref byte[] b)
- Protected Attributes inherited from Message
String myName
Type myTypeInfo

Member Enumeration Documentation

Enumerator:
OTHER 
CONTACT 
CONTACTINSTANT 
CONTACTDELAYED 
TIMED 
PROXIMITY 
COMMAND 
ALTITUDE 
DEPTH 
ACOUSTIC 
Enumerator:
POSITION 
POSITIONRATE 
EXTENSION 
EXTENSIONRATE 
X 
XRATE 
Y 
YRATE 
Z 
ZRATE 
AZIMUTH 
AZIMUTHRATE 
ELEVATION 
ELEVATIONRATE 
ROTATION 
ROTATIONRATE 
Enumerator:
OTHER 
ENTITYIMPACT 
ENTITYPROXIMATE 
GROUNDIMPACT 
GROUNDPROXIMATE 
DETONATION 
NONE 
HE_SMALL 
HE_MEDIUM 
HE_LARGE 
ARMORPEIRCING 
DIRTBLAST_SMALL 
DIRTBLAST_MEDIUM 
DIRTBLAST_LARGE 
WATERBLAST_SMALL 
WATERBLAST_MEDIUM 
WATERBLAST_LARGE 
CLEARINGLINECHARGE 
ENVIRONMENTALOBJECTIMPACT 
ENVIRONMENTALOBJECTPROXIMATE 
WATERIMPACT 
AIRBURST 
Enumerator:
OTHER 
HIGHEXPLOSIVE 
HIGHEXPLOSIVEPLATIC 
HIGHEXPLOSIVEINCENDIARY 
HIGHEXPLOSIVEFRAGMENTATION 
HIGHEXPLOSIVEANTITANK 
HIGHEXPLOSIVEBOMBLETS 
HIGHEXPLOSIVESHAPEDCHARGE 
SMOKE 
ILLUMINATION 
PRACTICE 
KINETIC 
UNUSED 
NUCLEAR 
CHEMICALGENERAL 
CHEMICALBLISTER 
CHEMICALBLOOD 
CHEMICALNERVE 
BIOLOGICALGENERAL 

Constructor & Destructor Documentation

DetonateMessage.DetonateMessage ( )
inline

References Message.myName, and theFullName.

static DetonateMessage.DetonateMessage ( )
inlinestaticprivate

Member Function Documentation

override void DetonateMessage.deserialize ( ref BinaryReader  reader)
inlineprotectedvirtual
override int DetonateMessage.messageSize ( )
inlineprotectedvirtual

Reimplemented from Message.

References myArticulatedParts, myFiringId, myMunitionId, and myTargetId.

override void DetonateMessage.serialize ( ref BinaryWriter  writer)
inlineprotectedvirtual

Member Data Documentation

List<ArtPart> DetonateMessage.myArticulatedParts = new List<ArtPart>()
private

Referenced by deserialize(), messageSize(), and serialize().

Vector3f DetonateMessage.myEntityLocation
private

Referenced by deserialize(), and serialize().

int DetonateMessage.myEventId
private

Referenced by deserialize(), and serialize().

string DetonateMessage.myFiringId = ""
private

Referenced by deserialize(), messageSize(), and serialize().

FuzeType DetonateMessage.myFuzeType
private

Referenced by deserialize(), and serialize().

string DetonateMessage.myMunitionId = ""
private

Referenced by deserialize(), messageSize(), and serialize().

EntityType DetonateMessage.myMunitionType = new EntityType()
private

Referenced by deserialize(), and serialize().

int DetonateMessage.myQuantity
private

Referenced by deserialize(), and serialize().

int DetonateMessage.myRate
private

Referenced by deserialize(), and serialize().

ResultType DetonateMessage.myResult
private

Referenced by deserialize(), and serialize().

string DetonateMessage.myTargetId = ""
private

Referenced by deserialize(), messageSize(), and serialize().

Vector3f DetonateMessage.myVelocity
private

Referenced by deserialize(), and serialize().

WarheadType DetonateMessage.myWarheadType
private

Referenced by deserialize(), and serialize().

Vector3d DetonateMessage.myWorldPosition
private

Referenced by deserialize(), and serialize().

const String DetonateMessage.theFullName = "DetonateMessage"

Property Documentation

List<ArtPart> DetonateMessage.ArticulatedParts
getset
Vector3f DetonateMessage.entityLocation
getset
int DetonateMessage.eventId
getset
string DetonateMessage.firingId
getset
FuzeType DetonateMessage.fuzeType
getset
string DetonateMessage.munitionId
getset
EntityType DetonateMessage.munitionType
getset
int DetonateMessage.quantity
getset
int DetonateMessage.rate
getset
ResultType DetonateMessage.result
getset
string DetonateMessage.targetId
getset
string DetonateMessage.theName
staticget
Vector3f DetonateMessage.velocity
getset
WarheadType DetonateMessage.warheadType
getset
Vector3d DetonateMessage.worldPosition
getset

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

Document ID: Generated on Mon Apr 8 04:49:21 EDT 2019 from SVN revision 197403
Copyright © 2005-2016 VT MÄK. All Rights Reserved (www.mak.com)