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