quantum-space-buddies/QSB/ShipSync/Events/RepairTickMessage.cs
2021-06-20 10:17:32 +01:00

23 lines
447 B
C#

using QSB.WorldSync.Events;
using QuantumUNET.Transport;
namespace QSB.ShipSync.Events
{
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);
}
}
}