ZSerializableImpl

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.

Constructors

Link copied to clipboard
constructor(component: ZBaseComponent, data: D)

Properties

Link copied to clipboard
open override val data: D