Interface ICoherenceSync
- Namespace
- Coherence.Toolkit
- Assembly
- Coherence.Toolkit.dll
public interface ICoherenceSync
Properties
string ArchetypeName { get; }
Property Value
- string
CoherenceSync.AuthorityTransferType AuthorityTransferTypeConfig { get; }
Property Value
- CoherenceSync.AuthorityTransferType
CoherenceSyncBaked BakedScript { get; }
Property Value
- CoherenceSyncBaked
List<Binding> Bindings { get; }
Property Value
- List<Binding>
ICoherenceBridge CoherenceBridge { get; }
Property Value
- ICoherenceBridge
CoherenceSyncConfig CoherenceSyncConfig { get; }
Property Value
- CoherenceSyncConfig
string CoherenceTag { get; set; }
Property Value
- string
CoherenceSync ConnectedEntity { get; }
Property Value
- CoherenceSync
NetworkEntityState EntityState { get; }
Property Value
- NetworkEntityState
Property Value
- bool
bool HasNodePathChanged { get; set; }
Property Value
- bool
bool HasParentWithCoherenceSync { get; }
Property Value
- bool
CoherenceInput Input { get; }
Property Value
- CoherenceInput
CoherenceSync.InterpolationLoop InterpolationLocationConfig { get; }
Property Value
- CoherenceSync.InterpolationLoop
Property Value
- bool
CoherenceSync.LifetimeType LifetimeTypeConfig { get; }
Property Value
- CoherenceSync.LifetimeType
string ManualUniqueId { get; }
Property Value
- string
Action<Vector3, Vector3> OnFloatingOriginShifted { get; set; }
Property Value
- Action<Vector3, Vector3>
CoherenceSync.OrphanedBehavior OrphanedBehaviorConfig { get; }
Property Value
- CoherenceSync.OrphanedBehavior
bool PreserveChildren { get; }
Property Value
- bool
CoherenceSync.UniqueObjectReplacementStrategy ReplacementStrategy { get; }
Property Value
- CoherenceSync.UniqueObjectReplacementStrategy
CoherenceSync.SimulationType SimulationTypeConfig { get; }
Property Value
- CoherenceSync.SimulationType
CoherenceSync.UnsyncedNetworkEntityPriority UnsyncedEntityPriority { get; }
Property Value
- CoherenceSync.UnsyncedNetworkEntityPriority
ICoherenceSyncUpdater Updater { get; }
Property Value
- ICoherenceSyncUpdater
bool UseReflection { get; }
Property Value
- bool
bool UsesLODsAtRuntime { get; }
Property Value
- bool
Vector3 coherencePosition { get; }
Property Value
- Vector3
Property Value
- string
Methods
void ConnectedEntityChanged(Entity newConnectedEntityID)
Parameters
newConnectedEntityID
Entity
void DestroyAsDuplicate()
void HandleDisconnected()
void HandleNetworkedDestruction(bool destroyAsParent)
Parameters
destroyAsParent
bool
void InitializeReplacedUniqueObject(SpawnInfo info)
Parameters
info
SpawnInfo
bool IsChildFromSyncGroup()
Returns
- bool
void OnNetworkCommandReceived(object sender, byte[] data)
Parameters
sender
object
data
byte[]
void ProcessGenericNetworkCommand(string commandName, MessageTarget target, byte[] data, Entity[] entityIDs)
Parameters
commandName
string
target
MessageTarget
data
byte[]
entityIDs
Entity[]
bool RaiseOnAuthorityRequested(ClientID requesterID, AuthorityType authorityType)
Parameters
requesterID
ClientID
authorityType
AuthorityType
Returns
- bool
void RaiseOnConnectedEntityChanged()
void ReceiveCommand(IEntityCommand command, MessageTarget target)
Parameters
command
IEntityCommand
target
MessageTarget
void ResetInterpolation(bool setToLastSamples = false)
Parameters
setToLastSamples
bool
void SendConnectedEntity()
void SetObservedLodLevel(int lod)
Parameters
lod
int
bool ShiftOrigin(Vector3d delta)
Parameters
delta
Vector3d
Returns
- bool
Returns
- bool
bool TryGetBindingByGuid(string bindingGuid, out Binding outBinding)
Parameters
bindingGuid
string
outBinding
Binding
Returns
- bool
void ValidateConnectedEntity()