///<summary> ///Marshal the data to the DataOutputStream. Note: Length needs to be set before calling this method ///</summary> new public void marshal(DataOutputStream dos) { base.marshal(dos); try { _issuingEntityID.marshal(dos); _collidingEntityID.marshal(dos); _collisionEventID.marshal(dos); dos.writeShort((short)_pad); _contactVelocity.marshal(dos); dos.writeFloat((float)_mass); _location.marshal(dos); dos.writeFloat((float)_collisionResultXX); dos.writeFloat((float)_collisionResultXY); dos.writeFloat((float)_collisionResultXZ); dos.writeFloat((float)_collisionResultYY); dos.writeFloat((float)_collisionResultYZ); dos.writeFloat((float)_collisionResultZZ); _unitSurfaceNormal.marshal(dos); dos.writeFloat((float)_coefficientOfRestitution); } // end try catch (Exception e) { Trace.WriteLine(e); Trace.Flush(); } } // end of marshal method
///<summary> ///Marshal the data to the DataOutputStream. Note: Length needs to be set before calling this method ///</summary> new public void marshal(DataOutputStream dos) { base.marshal(dos); try { _munitionID.marshal(dos); _eventID.marshal(dos); _velocity.marshal(dos); _locationInWorldCoordinates.marshal(dos); _burstDescriptor.marshal(dos); _locationInEntityCoordinates.marshal(dos); dos.writeByte((byte)_detonationResult); dos.writeByte((byte)_articulationParameters.Count); dos.writeShort((short)_pad); for (int idx = 0; idx < _articulationParameters.Count; idx++) { ArticulationParameter aArticulationParameter = (ArticulationParameter)_articulationParameters[idx]; aArticulationParameter.marshal(dos); } // end of list marshalling } // end try catch (Exception e) { Trace.WriteLine(e); Trace.Flush(); } } // end of marshal method
///<summary> ///Marshal the data to the DataOutputStream. Note: Length needs to be set before calling this method ///</summary> new public void marshal(DataOutputStream dos) { base.marshal(dos); try { _emittingEntityId.marshal(dos); _eventID.marshal(dos); _location.marshal(dos); _systemID.marshal(dos); dos.writeUshort((ushort)_pad2); _fundamentalParameters.marshal(dos); } // end try catch (Exception e) { Trace.WriteLine(e); Trace.Flush(); } } // end of marshal method
///<summary> ///Marshal the data to the DataOutputStream. Note: Length needs to be set before calling this method ///</summary> new public void marshal(DataOutputStream dos) { base.marshal(dos); try { _munitionID.marshal(dos); _eventID.marshal(dos); dos.writeUint((uint)_fireMissionIndex); _locationInWorldCoordinates.marshal(dos); _burstDescriptor.marshal(dos); _velocity.marshal(dos); dos.writeFloat((float)_range); } // end try catch (Exception e) { Trace.WriteLine(e); Trace.Flush(); } } // end of marshal method
///<summary> ///Marshal the data to the DataOutputStream. Note: Length needs to be set before calling this method ///</summary> new public void marshal(DataOutputStream dos) { base.marshal(dos); try { _issuingEntityID.marshal(dos); _collidingEntityID.marshal(dos); _eventID.marshal(dos); dos.writeByte((byte)_collisionType); dos.writeByte((byte)_pad); _velocity.marshal(dos); dos.writeFloat((float)_mass); _location.marshal(dos); } // end try catch (Exception e) { Trace.WriteLine(e); Trace.Flush(); } } // end of marshal method
///<summary> ///Marshal the data to the DataOutputStream. Note: Length needs to be set before calling this method ///</summary> new public void marshal(DataOutputStream dos) { base.marshal(dos); try { _emittingEntityID.marshal(dos); _eventID.marshal(dos); dos.writeByte((byte)_stateChangeIndicator); dos.writeByte((byte)_pad); dos.writeUshort((ushort)_passiveParameterIndex); dos.writeByte((byte)_propulsionPlantConfiguration); dos.writeByte((byte)_shaftRPMs.Count); dos.writeByte((byte)_apaData.Count); dos.writeByte((byte)_emitterSystems.Count); for (int idx = 0; idx < _shaftRPMs.Count; idx++) { ShaftRPMs aShaftRPMs = (ShaftRPMs)_shaftRPMs[idx]; aShaftRPMs.marshal(dos); } // end of list marshalling for (int idx = 0; idx < _apaData.Count; idx++) { ApaData aApaData = (ApaData)_apaData[idx]; aApaData.marshal(dos); } // end of list marshalling for (int idx = 0; idx < _emitterSystems.Count; idx++) { AcousticEmitterSystemData aAcousticEmitterSystemData = (AcousticEmitterSystemData)_emitterSystems[idx]; aAcousticEmitterSystemData.marshal(dos); } // end of list marshalling } // end try catch (Exception e) { Trace.WriteLine(e); Trace.Flush(); } } // end of marshal method
///<summary> ///Marshal the data to the DataOutputStream. Note: Length needs to be set before calling this method ///</summary> new public void marshal(DataOutputStream dos) { base.marshal(dos); try { _emittingEntityID.marshal(dos); _eventID.marshal(dos); dos.writeByte((byte)_stateUpdateIndicator); dos.writeByte((byte)_systems.Count); dos.writeUshort((ushort)_paddingForEmissionsPdu); for (int idx = 0; idx < _systems.Count; idx++) { ElectronicEmissionSystemData aElectronicEmissionSystemData = (ElectronicEmissionSystemData)_systems[idx]; aElectronicEmissionSystemData.marshal(dos); } // end of list marshalling } // end try catch (Exception e) { Trace.WriteLine(e); Trace.Flush(); } } // end of marshal method