11 lines
318 B
C#
Raw Normal View History

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