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>
CoherenceBridge CoherenceBridge { get; }
Property Value
- CoherenceBridge
CoherenceSyncConfig CoherenceSyncConfig { get; }
Property Value
- CoherenceSyncConfig
string CoherenceTag { get; set; }
Property Value
- string
NetworkEntityState EntityState { get; }
Property Value
- NetworkEntityState
Property Value
- bool
bool HasParentWithCoherenceSync { get; }
Property Value
- bool
CoherenceInput Input { get; }
Property Value
- CoherenceInput
CoherenceSync.InterpolationLoop InterpolationLocationConfig { get; }
Property Value
- CoherenceSync.InterpolationLoop
bool IsConnectedEntityChangeOverridden { get; }
Property Value
- bool
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.SimulationType SimulationTypeConfig { get; }
Property Value
- CoherenceSync.SimulationType
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(SerializeEntityID newConnectedEntityID)
Parameters
newConnectedEntityID
SerializeEntityID
void DestroyAsDuplicate()
void HandleDisconnected()
void HandleNetworkedDestruction()
void InitializeReplacedUniqueObject(SpawnInfo info)
Parameters
info
SpawnInfo
void OnNetworkCommandReceived(object sender, byte[] data)
Parameters
sender
object
data
byte[]
void ProcessGenericNetworkCommand(string commandName, MessageTarget target, byte[] data, SerializeEntityID[] entityIDs)
Parameters
commandName
string
target
MessageTarget
data
byte[]
entityIDs
SerializeEntityID[]
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()