mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-11 09:38:48 +00:00
23 lines
447 B
C#
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);
|
|||
|
}
|
|||
|
}
|
|||
|
}
|