mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-25 06:35:45 +00:00
20 lines
522 B
C#
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);
|
|
}
|
|
}
|
|
}
|
|
}
|