{"id":"ui--yuiRetainedResourceReplayPlanV1","name":"yuiRetainedResourceReplayPlanV1","owner":"yeho","package":"ui","kind":"thing","signature":"external thing yuiRetainedResourceReplayPlanV1","description":"A yui retained resource replay plan v1 record carrying surfaceId, storeRevision, commands.","context":"Build YUI's reusable control, layout, interaction, text, accessibility, and retained-rendering models.","parameters":[],"returns":"void","members":[{"name":"surfaceId","kind":"field","type":"text","description":"Stores surface id as text.","signature":"text surfaceId","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"storeRevision","kind":"field","type":"int","description":"Stores store revision as int.","signature":"int storeRevision","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"commands","kind":"field","type":"list of yuiDisplayCommand","description":"Stores commands as list of yuiDisplayCommand.","signature":"list of yuiDisplayCommand commands","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"yuiRetainedResourceReplayPlanV1","kind":"constructor","parameters":[{"name":"surfaceId","type":"text","description":"Surface id."},{"name":"storeRevision","type":"int","description":"Store revision."}],"returns":"void","signature":"yuiRetainedResourceReplayPlanV1(text surfaceId, int storeRevision)","description":"Yui retained resource replay plan v1.","tags":["thing","constructor","ui"],"updated":"2026-09-09"},{"name":"AddCommand","kind":"method","parameters":[{"name":"command","type":"yuiDisplayCommand","description":"Command."}],"returns":"void","signature":"AddCommand(yuiDisplayCommand command)","description":"Add command.","tags":["thing","method","ui"],"exampleId":"method-AddCommand-4","updated":"2026-09-09"}],"tags":["cpu","method","source-example","thing","ui","yeho"],"updated":"2026-09-09","source":{"repository":"yeho","path":"packages/ui/render-60-retained-resource-snapshots.yh","line":157,"sha256":"ee2a5310c54c01895468ff73595ceccf59f27f02203d6ffc5de1e564d1ef3486"},"status":"source-declared","notes":["Package presence and a declaration do not establish support on every host. Host services need their platform and lifecycle setup."],"examples":[{"id":"usage","title":"Use yuiRetainedResourceReplayPlanV1","description":"A complete small caller. Values are illustrative; check the returned result and package requirements before connecting live resources.","code":"using ui\n\n// Build YUI's reusable control, layout, interaction, text, accessibility, and retained-rendering models.\nyuiRetainedResourceReplayPlanV1 sample = yuiRetainedResourceReplayPlanV1(\"surface Id\", 1)\nConsole.Log(Text.From(sample.surfaceId))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuiretainedresourcereplayplanv1\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"graphics.image\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/image\"\n\n[[dependencies]]\npackage = \"graphics.text\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/text\"\n\n[[dependencies]]\npackage = \"host.ui_services\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/host/ui_services\"\n\n[[dependencies]]\npackage = \"ui\"\nversion = \"0.2.0\"\npath = \"../../../yeho/packages/ui\"\n","tags":["cpu","source-example"],"verification":"type checked","run":"cpu-oracle","sha256":"9ad96126968e3b378a04aad05b4a62d3bdc431dec7888b3bc2a6480a31fa6476","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-AddCommand-4","title":"yuiRetainedResourceReplayPlanV1.AddCommand","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Add command.\nyuiRetainedResourceReplayPlanV1 instance = yuiRetainedResourceReplayPlanV1(\"surface Id\", 1)\nyuiDisplayCommand argument_command = yuiDisplayCommand(1, \"owner Id\", \"kind\", \"layer Id\", \"target Id\", \"resource Id\", \"paint Id\", \"clip Id\", \"transform Id\", yuiRenderBounds(1, 1, 1, 1), \"semantic Role\", \"content\")\ninstance.AddCommand(argument_command)\nConsole.Log(\"AddCommand completed\")\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuiretainedresourcereplayplanv1\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"graphics.image\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/image\"\n\n[[dependencies]]\npackage = \"graphics.text\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/text\"\n\n[[dependencies]]\npackage = \"host.ui_services\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/host/ui_services\"\n\n[[dependencies]]\npackage = \"ui\"\nversion = \"0.2.0\"\npath = \"../../../yeho/packages/ui\"\n","tags":["cpu","method","source-example"],"run":"cpu-oracle","verification":"type checked","sha256":"1f3485b778799798f1188be59f29a5348ce2bd54bb42973a44c5d607fe159eed","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":["surfaceId","storeRevision","commands","yuiRetainedResourceReplayPlanV1","AddCommand"],"url":"https://demonhunterlabs.com/academy/api?item=ui--yuiRetainedResourceReplayPlanV1","json":"https://demonhunterlabs.com/reference/items/ui--yuiRetainedResourceReplayPlanV1.json","markdown":"https://demonhunterlabs.com/reference/text/ui--yuiRetainedResourceReplayPlanV1.md"}
