mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-26 18:35:34 +00:00
11 lines
321 B
C#
11 lines
321 B
C#
using QuantumUNET.Transport;
|
|
|
|
namespace QSB.Utility.VariableSync
|
|
{
|
|
public class FloatVariableSyncer : BaseVariableSyncer<float>
|
|
{
|
|
protected override void WriteValue(QNetworkWriter writer, float value) => writer.Write(value);
|
|
protected override float ReadValue(QNetworkReader reader) => reader.ReadSingle();
|
|
}
|
|
}
|