quantum-space-buddies/QSB/Utility/VariableSync/Vector3VariableSyncer.cs

12 lines
349 B
C#
Raw Normal View History

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