quantum-space-buddies/QSB/Syncs/Unsectored/BaseUnsectoredSync.cs
2021-08-22 16:57:09 +01:00

20 lines
522 B
C#

using QuantumUNET.Transport;
namespace QSB.Syncs.Unsectored
{
public abstract class BaseUnsectoredSync : SyncBase
{
public override bool IgnoreDisabledAttachedObject => false;
public override bool IgnoreNullReferenceTransform => false;
public override bool ShouldReparentAttachedObject => false;
public override void SerializeTransform(QNetworkWriter writer, bool initialState)
{
if (_intermediaryTransform == null)
{
_intermediaryTransform = new IntermediaryTransform(transform);
}
}
}
}