2021-08-14 13:45:36 +00:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
2021-08-19 16:33:35 +00:00
|
|
|
|
using QuantumUNET.Transport;
|
2021-08-14 13:45:36 +00:00
|
|
|
|
|
|
|
|
|
namespace QSB.Syncs.Unsectored
|
|
|
|
|
{
|
|
|
|
|
public abstract class BaseUnsectoredSync : SyncBase
|
|
|
|
|
{
|
|
|
|
|
public override bool IgnoreDisabledAttachedObject => false;
|
|
|
|
|
public override bool IgnoreNullReferenceTransform => false;
|
|
|
|
|
public override bool ShouldReparentAttachedObject => false;
|
2021-08-19 16:33:35 +00:00
|
|
|
|
|
|
|
|
|
public override void SerializeTransform(QNetworkWriter writer, bool initialState)
|
|
|
|
|
{
|
|
|
|
|
if (_intermediaryTransform == null)
|
|
|
|
|
{
|
|
|
|
|
_intermediaryTransform = new IntermediaryTransform(transform);
|
|
|
|
|
}
|
|
|
|
|
}
|
2021-08-14 13:45:36 +00:00
|
|
|
|
}
|
|
|
|
|
}
|