public override int GetMarshalledSize()
        {
            int marshalSize = 0;

            marshalSize  = base.GetMarshalledSize();
            marshalSize += this._entityID.GetMarshalledSize();                // this._entityID
            marshalSize += 1;                                                 // this._forceId
            marshalSize += 1;                                                 // this._articulationParameterCount
            marshalSize += this._entityType.GetMarshalledSize();              // this._entityType
            marshalSize += this._alternativeEntityType.GetMarshalledSize();   // this._alternativeEntityType
            marshalSize += this._entityLinearVelocity.GetMarshalledSize();    // this._entityLinearVelocity
            marshalSize += this._entityLocation.GetMarshalledSize();          // this._entityLocation
            marshalSize += this._entityOrientation.GetMarshalledSize();       // this._entityOrientation
            marshalSize += 4;                                                 // this._entityAppearance
            marshalSize += this._deadReckoningParameters.GetMarshalledSize(); // this._deadReckoningParameters
            marshalSize += 12 * 1;                                            // _marking
            marshalSize += 4;                                                 // this._capabilities
            for (int idx = 0; idx < this._articulationParameters.Count; idx++)
            {
                ArticulationParameter listElement = (ArticulationParameter)this._articulationParameters[idx];
                marshalSize += listElement.GetMarshalledSize();
            }

            return(marshalSize);
        }
        public override int GetMarshalledSize()
        {
            int marshalSize = 0;

            marshalSize  = base.GetMarshalledSize();
            marshalSize += this._munitionID.GetMarshalledSize();                 // this._munitionID
            marshalSize += this._eventID.GetMarshalledSize();                    // this._eventID
            marshalSize += this._velocity.GetMarshalledSize();                   // this._velocity
            marshalSize += this._locationInWorldCoordinates.GetMarshalledSize(); // this._locationInWorldCoordinates
            marshalSize += this._burstDescriptor.GetMarshalledSize();            // this._burstDescriptor
            marshalSize += 1;                                                    // this._detonationResult
            marshalSize += 1;                                                    // this._numberOfArticulationParameters
            marshalSize += 2;                                                    // this._pad
            for (int idx = 0; idx < this._articulationParameters.Count; idx++)
            {
                ArticulationParameter listElement = (ArticulationParameter)this._articulationParameters[idx];
                marshalSize += listElement.GetMarshalledSize();
            }

            return(marshalSize);
        }