-
v1.7.0
Stablereleased this
2026-11-08 17:21:39 -07:00 | 3 commits to main since this releasePrompt context (proposal 55): right before every prompt the answering seat learns which card and which effect asks.
One export, one message, capability0x8000, protocol 12: exports 336 / 857 / 851, capabilities0xF7FF. Record 23 bytes, message 24 bytes.Date Change Ticket Contract part 2026-11-08 Core: ygol_query_prompt_context(pduel, playerid, out)(23 bytes: version, has effect, code, controller, location, sequence, position, u64 description, u16 effect index, phase, chain link, announce kind: 1Duel.AnnounceLevel, 2 a visibleCATEGORY_DICEeffect, onMSG_ANNOUNCE_NUMBERonly).field::execute_cost/execute_target/execute_operationpush the running effect (handler, description, index, phase 1 / 2 / 3, chain link) oncore.ygol_runningat step 0 and pop it when the function finishes; the innermost one answers. The core's own "use this effect?" asks (optional trigger, lone quick trigger desc 221, desc 94, replacements 218 / 219 / 220, Scrap Chimera) carry the asked effect in theirPROCESSOR_SELECT_EFFECTYN/SELECT_YESNOunit and push it as phase 4 (ask) while the prompt is open.effect::ygol_script_index:card::add_effectstampsinitial_effect.size()while the card loads (STATUS_INITIALIZING),0xFFFFotherwise. A handler the asking player does not control and that is not face-up answers code 0, index0xFFFF, description 0.TICKET-451 (a) new export 2026-11-08 Server: STOC_PROMPT_CONTEXT0x44= those 23 bytes + the prompt'sMSG_*id (24 bytes), to the answering seat (Tag:cur_player) right before every relayed prompt but rock-paper-scissors, only when its capability has the bit; never observers, recorders or replays.FEATURE_PROMPT_CONTEXT0x8000advertised by Single and Tag rooms, protocol 11 -> 12; no room refuses a joiner without it. Export gates 335 / 856 / 850 -> 336 / 857 / 851.TICKET-451 Wire: message 0x44, capability bit0x8000, protocol 122026-11-08 Binding: StocMessage.PromptContext,FeatureFlags.PromptContext(inAll), thePromptContextrecord +StocCodecs.PromptContext,EngineApi.ygol_query_prompt_context,Capability.ProtocolVersion12. Probe: the prompt context rooms (Single, a second Single duel whose opponent lacks the bit, Tag): a card asks in its cost, target and operation, a Fusion's material procedure asks inside that operation and the outer context comes back, the Fusion's optional End Phase trigger is asked with phase 4, announces say kind 0 / 1 / 2, then the card hides itself in the Deck and asks both players; a second duel with another deck order has the same indexes.TICKET-451 (e) C# binding Downloads