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(TargetEntityId);
     msg.WriteVector3(Position);
     msg.WriteVector3(Direction);
     msg.WriteObjectBuilderSmallShipAmmoTypesEnum(AmmoType);
     msg.WriteUInt32Nullable(SourceEntityId);
 }
示例#3
0
 public void Write(MyMessageWriter msg)
 {
     msg.WriteUInt32(ShooterEntityId);
     msg.WriteUInt32Nullable(ProjectileEntityId);
     msg.WriteUInt32Nullable(TargetEntityId);
     msg.WritePositionAndOrientation(Position);
     msg.WriteObjectBuilderSmallShipWeaponTypesEnum(Weapon);
     msg.WriteObjectBuilderSmallShipAmmoTypesEnum(Ammo);
 }
示例#4
0
 public void Write(MyMessageWriter msg)
 {
     msg.WriteUInt32(ShooterEntityId);
     msg.WriteUInt32Nullable(ProjectileEntityId);
     msg.WriteUInt32Nullable(TargetEntityId);
     msg.WritePositionAndOrientation(Position);
     msg.WriteObjectBuilderSmallShipWeaponTypesEnum(Weapon);
     msg.WriteObjectBuilderSmallShipAmmoTypesEnum(Ammo);
 }