quantum-space-buddies/QSB/ShipSync/Events/RepairTickMessage.cs
Mister_Nebula 85a3f4770e cleanup
2021-07-12 22:02:50 +01:00

23 lines
456 B
C#

using QSB.WorldSync.Events;
using QuantumUNET.Transport;
namespace QSB.ShipSync.Events
{
internal class RepairTickMessage : WorldObjectMessage
{
public float RepairNumber { get; set; }
public override void Deserialize(QNetworkReader reader)
{
base.Deserialize(reader);
RepairNumber = reader.ReadSingle();
}
public override void Serialize(QNetworkWriter writer)
{
base.Serialize(writer);
writer.Write(RepairNumber);
}
}
}