Stride-mentés és események
Játékadatot ment, és rendezi az eseményfeliratkozásokat jelenetváltáskor. Stabil azonosítókkal és ismétlésbiztos előrehaladással akadályozza meg, hogy régi figyelő visszatöltéskor újra jutalmazzon.
stride-persistence-events
Nézd meg, miben segítMikor hasznos?
Akkor használd, ha ellenőrzőpontot, jutalmat vagy mentésmigrációt adsz Stride-hoz.
Miben segít neked?
- Élő entitás helyett stabil azonosítót és üzleti állapotot ment.
- Ismételt eseményre is egyszer alkalmazza a jutalmat.
- Részleges helyreállításnál megtartja a jó állapotot és takarítja a feliratkozást.
Például ezt kérheted
A kalandjáték ellenőrzőpontja mentse a megmentett szereplőket és ereklyéket. Töltsd vissza háromszor, majd küldd újra a megmentési eseményt. Stabil azonosítókból állítsd vissza a kapcsolatokat, részleges hibánál őrizd a jó mentést, és régi feliratkozás ne duplázza a megmentés jutalmát.
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
Stride — persistence events
Use when implementing Stride game-state persistence, event channels, checkpoints or progression.
Version and project gate
Inspect Solution/project packages, exact Stride version, Game Studio/editor environment, asset and prefab files, Startup/Sync/AsyncScript usage, physics packages/backends, graphics profile and target platform. Do not assume every editor or physics feature exists on every host. 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 serializable domain state and stable identifiers from live Entity/component references. Define event ownership and subscription cleanup. Make checkpoint/reward transitions idempotent and version save schemas. Preserve previous valid state across partial restoration or missing optional content.
Deliver
A state/event/save contract with migration and cancellation behavior. Keep the change in the existing project structure; separate actual observations from the proposed acceptance scenario below.
Failure to prevent
A live entity reference is not a portable save identifier; a subscriber surviving scene unload can duplicate progression.
Acceptance scenario
Load an older save into a new scene, replay a checkpoint event twice and unload/reload without duplicate subscriptions. 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 Strider. 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
