ZSerializable Impl
class ZSerializableImpl<D : ZComponentData>(component: ZBaseComponent, val data: D) : ZSerializableMixin<D> (source)
Implementation of the ZSerializableMixin interface that handles data management for serializable components.
This class encapsulates the serialization logic and provides a clean separation of concerns, allowing components to delegate serialization responsibilities without code duplication.
Parameters
component
The base component that owns this serializable implementation.
data
The data instance for this component.
Type Parameters
D
The type of the data associated with this component.