public void Write(MyMessageWriter msg) { msg.WriteUInt32(TargetEntityId); msg.WriteVector3(Position); msg.WriteVector3(Direction); msg.WriteObjectBuilderSmallShipAmmoTypesEnum(AmmoType); msg.WriteUInt32Nullable(SourceEntityId); }
public void Write(MyMessageWriter msg) { msg.WriteUInt32(ShooterEntityId); msg.WriteUInt32Nullable(ProjectileEntityId); msg.WriteUInt32Nullable(TargetEntityId); msg.WritePositionAndOrientation(Position); msg.WriteObjectBuilderSmallShipWeaponTypesEnum(Weapon); msg.WriteObjectBuilderSmallShipAmmoTypesEnum(Ammo); }