Mister_Nebula c6c76cb395 C L E A N
2020-12-02 21:23:01 +00:00

22 lines
398 B
C#

using QSB.Messaging;
using UnityEngine.Networking;
namespace QSB.MessagesCore
{
public class FloatMessage : PlayerMessage
{
public float Value;
public override void Deserialize(NetworkReader reader)
{
base.Deserialize(reader);
Value = reader.ReadSingle();
}
public override void Serialize(NetworkWriter writer)
{
base.Serialize(writer);
writer.Write(Value);
}
}
}