Interface ISerializationCapability
- Namespace
- KeenEyes.Capabilities
- Assembly
- KeenEyes.Core.dll
Extended snapshot capability for AOT-compatible serialization operations.
public interface ISerializationCapability : ISnapshotCapability
- Inherited Members
-
ISnapshotCapability.GetComponents(Entity)ISnapshotCapability.GetAllSingletons()ISnapshotCapability.SetSingleton<T>(in T)ISnapshotCapability.Clear()
Remarks
This capability extends KeenEyes.Capabilities.ISnapshotCapability with access to the component registry, which is needed for AOT-compatible component registration and singleton setting during deserialization.
The World class implements this capability. Serialization code should use this interface instead of the base KeenEyes.Capabilities.ISnapshotCapability when component registration is needed.
Properties
Components
Gets the component registry for component type registration.
IComponentRegistry Components { get; }