quantum-space-buddies/QSB/MeteorSync/Events/FragmentDamageMessage.cs
2021-11-13 20:41:46 -08:00

23 lines
429 B
C#

using QSB.WorldSync.Events;
using QuantumUNET.Transport;
namespace QSB.MeteorSync.Events
{
public class FragmentDamageMessage : WorldObjectMessage
{
public float Damage;
public override void Deserialize(QNetworkReader reader)
{
base.Deserialize(reader);
Damage = reader.ReadSingle();
}
public override void Serialize(QNetworkWriter writer)
{
base.Serialize(writer);
writer.Write(Damage);
}
}
}