Bevy-világ mentése
Átmeneti motorhivatkozások helyett a világ jelentéssel bíró adatait menti. Stabil azonosítókból építi vissza a kapcsolatokat, régi formátum és hiányzó tartalom mellett is megőrizve az érvényes mentést.
bevy-world-persistence
Nézd meg, miben segítMikor hasznos?
Akkor használd, ha újraépített Bevy-világban kell visszaállítanod a mentett entitásokat és kapcsolataikat.
Miben segít neked?
- Elkülöníti a tartós üzleti azonosítókat a motor átmeneti Entity-hivatkozásaitól.
- Meghatározza a mentésverziókat, hiányzó tartalom kezelését és a kapcsolatok helyreállítási sorrendjét.
- Megőrzi a korábbi érvényes mentést a korlátozott formátummigráció előkészítésekor.
Például ezt kérheted
Mentsd a kolóniát épülethez rendelt dolgozókkal és raktári tárgyakkal. Töltsd vissza megváltozott futásidejű entitásazonosítókkal, majd hiányzó épülettípussal. Meghatározott sorrendben építsd vissza a kapcsolatokat, jelezd a hiányt, és sikertelen átalakításkor őrizd meg az előző érvényes mentést.
Részletes dokumentáció
Itt a skill eredeti útmutatóját, példáit és ellenőrzési szempontjait olvashatod az eredeti nyelven.
Összecsukás
Bevy — world persistence
Use when implementing Bevy saves, world serialization, replay or stable entity references.
Version and project gate
Inspect Cargo.toml, Cargo.lock, Rust toolchain, exact Bevy release, plugin compatibility, feature selection, schedules, state definitions, asset roots and target backend. Read the matching migration guide before using newer examples. Never turn a task into an engine upgrade without the user’s intent. Read the version-matching official reference when an API decision depends on it.
Work
Separate persistent identifiers and domain data from transient Entity handles. Define schema versions, missing-content behavior and dependency reconstruction. Choose reflection/serialization facilities available in the pinned release. Restore in an order that resolves references without retaining old-world handles.
Deliver
A save/restore contract and bounded migration path with an untouched previous valid save. Keep the change in the existing project structure; separate actual observations from the proposed acceptance scenario below.
Failure to prevent
Serializing a raw Entity value is not a portable identity contract across rebuilt worlds.
Acceptance scenario
Reload into a new world, remove optional content, load an older save and resolve cross-entity references without duplication. Follow the project’s execution and verification permissions. If execution or a target device is unavailable, provide the reproduction steps and name the remaining uncertainty; do not mark it passed.
Scope and sources
This skill belongs to Talon. Agent selection is restricted by Orqestria’s assigned-agent policy, including forced skill selection; instruction text alone is not an access control. These are original task workflows researched from official documentation, not a copied or endorsed vendor skill.
Csomagban lévő fájlok 1
SKILL.md
