interface UIDProvider {
    generateUUID(): string;
    remapUUID(originalId: string): string;
}

Implemented by

Methods

  • Returns string

  • Optional CONTENT-DERIVED remapping: when implemented, instantiate() derives each clone's id FROM the original id instead of drawing from the sequence — same original always maps to the same clone id (order-independent, stable across loads). Opt-in so existing sequence-based providers (networking spawn dedup) keep their behavior.

    Parameters

    • originalId: string

    Returns string