11 lines
321 B
C#
Raw Normal View History

2021-11-26 19:33:56 +00:00
using QuantumUNET.Transport;
2021-11-26 17:36:14 +00:00
namespace QSB.Utility.VariableSync
{
2021-12-14 21:42:40 -08:00
public class FloatVariableSyncer : BaseVariableSyncer<float>
2021-11-26 17:36:14 +00:00
{
2021-12-14 21:42:40 -08:00
protected override void WriteValue(QNetworkWriter writer, float value) => writer.Write(value);
protected override float ReadValue(QNetworkReader reader) => reader.ReadSingle();
2021-11-26 17:36:14 +00:00
}
}