Esempio n. 1
0
 public void Write(MyMessageWriter msg)
 {
     msg.WriteUInt32(ShooterEntityId);
     msg.WriteUInt32Nullable(ProjectileEntityId);
     msg.WriteUInt32Nullable(TargetEntityId);
     msg.WritePositionAndOrientation(Position);
     msg.WriteObjectBuilderSmallShipWeaponTypesEnum(Weapon);
     msg.WriteObjectBuilderSmallShipAmmoTypesEnum(Ammo);
 }
Esempio n. 2
0
 public void Write(MyMessageWriter msg)
 {
     msg.WriteUInt32(ShooterEntityId);
     msg.WriteUInt32Nullable(ProjectileEntityId);
     msg.WriteUInt32Nullable(TargetEntityId);
     msg.WritePositionAndOrientation(Position);
     msg.WriteObjectBuilderSmallShipWeaponTypesEnum(Weapon);
     msg.WriteObjectBuilderSmallShipAmmoTypesEnum(Ammo);
 }
Esempio n. 3
0
 public void Write(MyMessageWriter msg)
 {
     msg.WriteUInt32(ShipEntityId);
     msg.WriteObjectBuilderSmallShipWeaponTypesEnum(Weapon);
     msg.WriteSpecialWeaponEventEnum(WeaponEvent);
 }