1 Commits
Author SHA1 Message Date
donnyandClaude Fable 5.1 14a4f80aab tag partner cards: observers who see all get 0x5F for both sides (TICKET-412)
Release / windows (push) Successful in 33s
Release / android (push) Successful in 41s
Release / linux (push) Successful in 1m14s
Release / release (push) Successful in 4s
Release / attach-windows (push) Successful in 1s
SendTagPartnerCards also sends to every observer under SpectatorsSeeAll(), so the
start and every MSG_TAG_SWAP reach the audience; an observer's field resync and the
late-watcher snapshot carry both sides after the deck lists. Hidden rooms and seated
duelists are unchanged. Same id, same payload, no new capability bit.

Contract row 0x5F + join snapshot + MSG_TAG_SWAP note, a behaviour row; the probe's
tag partner room runs twice (see all: the watcher gets both sides at every send
point, its resync and a late snapshot; hidden: never); CHANGELOG v1.3.0.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-16 10:10:20 -07:00
5 changed files with 54 additions and 21 deletions

No files matched your search

+9
View File
@@ -5,6 +5,15 @@ wire protocol, the engine message stream, the setup pairs and the Lua API. A row
change first shipped in the Unity repo, the ticket, and the contract part it touched. Rows 0001-0024 change first shipped in the Unity repo, the ticket, and the contract part it touched. Rows 0001-0024
are the fork patches replayed into this repo as commits (`git log --oneline -- server/gframe core`). are the fork patches replayed into this repo as commits (`git log --oneline -- server/gframe core`).
## v1.3.0 — 2026-10-16
Spectators with Show all get the Tag partner cards of both teams. Same message, same payload, no new
export or capability bit: exports 335 / 856 / 850, protocol 9, capabilities `0x27FF`.
| Date | Change | Ticket | Contract part |
|---|---|---|---|
| 2026-10-16 | `STOC_TAG_PARTNER_CARDS` `0x5F` also goes to every observer, both sides, when spectators see all (no `ygol.room.spectatorview=hidden`): after `start_duel`, after every `MSG_TAG_SWAP`, and both sides in an observer's field resync and the late-watcher snapshot. Hidden rooms and seated duelists unchanged. Server. | TICKET-412 | Wire: STOC `0x5F` recipients; join snapshot |
## v1.2.0 — 2026-10-15 ## v1.2.0 — 2026-10-15
Tag partner cards: the waiting teammate's hand, Extra Deck and deck reach that team's two seats. One new Tag partner cards: the waiting teammate's hand, Extra Deck and deck reach that team's two seats. One new
+5 -4
View File
@@ -172,8 +172,8 @@ host without bit `0x4` as out of date.
**Join snapshot.** A joiner gets, per occupied seat, right after that seat's `STOC_HS_PLAYER_ENTER`: **Join snapshot.** A joiner gets, per occupied seat, right after that seat's `STOC_HS_PLAYER_ENTER`:
the seat's stored capability, appearance (0006), seat state (0013) and profile (0020) when present, the seat's stored capability, appearance (0006), seat state (0013) and profile (0020) when present,
then the setup pairs (0009), the seat plan (0011) if one was ever sent, and, during a duel, the field then the setup pairs (0009), the seat plan (0011) if one was ever sent, and, during a duel, the field
resync (0005), the deck lists the audience may see (0019) and, for a seated Tag duelist, its side's resync (0005), the deck lists the audience may see (0019) and the Tag partner cards: a seated
partner cards (v1.2.0). duelist's own side (v1.2.0), both sides for an observer when spectators see all (v1.3.0).
### Client to server ### Client to server
@@ -214,7 +214,7 @@ partner cards (v1.2.0).
| `0x5C` | `STOC_DECK_LIST` | `STOC_DeckList` (5): `u8 version` (1), `u8 side`, `u8 kind`, `u16 count`, then `u32 codes[count]` | No | Kind 0 (the deck's remaining cards, SORTED) to its owner (both teammates in Tag); kind 1 (real order, top first) and kind 2 (the submitted Main Deck of the duelist whose deck is in the zone, sorted) to observers only when spectators see all. Sent when a list differs from the last one that audience got; in the late-watcher snapshot | `0x100` | 6 | 0019 | | `0x5C` | `STOC_DECK_LIST` | `STOC_DeckList` (5): `u8 version` (1), `u8 side`, `u8 kind`, `u16 count`, then `u32 codes[count]` | No | Kind 0 (the deck's remaining cards, SORTED) to its owner (both teammates in Tag); kind 1 (real order, top first) and kind 2 (the submitted Main Deck of the duelist whose deck is in the zone, sorted) to observers only when spectators see all. Sent when a list differs from the last one that audience got; in the late-watcher snapshot | `0x100` | 6 | 0019 |
| `0x5D` | `STOC_PROFILE` | `u16 sender` + `CTOS_Profile` (100) | Yes | Everyone; stored per seat, in the snapshot after APPEARANCE, swapped with the seat, kept across the 0014 lobby reset, cleared when the seat empties | `0x200` | 7 | 0020 | | `0x5D` | `STOC_PROFILE` | `u16 sender` + `CTOS_Profile` (100) | Yes | Everyone; stored per seat, in the snapshot after APPEARANCE, swapped with the seat, kept across the 0014 lobby reset, cleared when the seat empties | `0x200` | 7 | 0020 |
| `0x5E` | `STOC_ATTACK_PREVIEW` | `u8 version` (1), `u8 count`, then per pair the 4 ask bytes echoed + the 24-byte `ygol_preview_attack` answer | No | The asker only. Only attackers the open prompt listed; a pair the engine refuses is left out (the count shrinks); a valid ask whose every pair is left out still gets count 0 | `0x400` | 8 | 0023 | | `0x5E` | `STOC_ATTACK_PREVIEW` | `u8 version` (1), `u8 count`, then per pair the 4 ask bytes echoed + the 24-byte `ygol_preview_attack` answer | No | The asker only. Only attackers the open prompt listed; a pair the engine refuses is left out (the count shrinks); a valid ask whose every pair is left out still gets count 0 | `0x400` | 8 | 0023 |
| `0x5F` | `STOC_TAG_PARTNER_CARDS` | `u8 side` + the `ygol_query_tag_cards` bytes (7 + 4 x the three counts) | No | The two seats of `side` only, never the other team and never an observer. Sent after `start_duel` (the waiting members' opening hands), after every `MSG_TAG_SWAP` for the side that swapped (the member that just left is the waiting one), and to a seated duelist in its field resync (`CTOS_REQUEST_FIELD`, after the `MSG_RELOAD_FIELD`). Tag rooms only; a Single / Match room never sends it | `0x2000` | 9 | v1.2.0 | | `0x5F` | `STOC_TAG_PARTNER_CARDS` | `u8 side` + the `ygol_query_tag_cards` bytes (7 + 4 x the three counts) | No | The two seats of `side`, never the other team. Sent after `start_duel` (the waiting members' opening hands), after every `MSG_TAG_SWAP` for the side that swapped (the member that just left is the waiting one), and to a seated duelist in its field resync (`CTOS_REQUEST_FIELD`, after the `MSG_RELOAD_FIELD`). **v1.3.0 (TICKET-412): when spectators see all (no `ygol.room.spectatorview=hidden`), every observer gets the same bytes for BOTH sides at the start and after every swap, and an observer's field resync and a late watcher's snapshot carry both sides (after the deck lists); with the pair, an observer never gets one.** Tag rooms only; a Single / Match room never sends it | `0x2000` | 9 | v1.2.0, v1.3.0 |
### Capability bits and protocol numbers ### Capability bits and protocol numbers
@@ -250,6 +250,7 @@ carry a new feature inside another feature's message.
| 0018 | Spectators see all: every observer gets the UNMASKED stream (both hands, draws, set cards, extra, banished, the 0005 snapshot) unless the setup pair `ygol.room.spectatorview=hidden` is present, which restores the stock masked stream byte for byte. Duelists' streams never change. | | 0018 | Spectators see all: every observer gets the UNMASKED stream (both hands, draws, set cards, extra, banished, the 0005 snapshot) unless the setup pair `ygol.room.spectatorview=hidden` is present, which restores the stock masked stream byte for byte. Duelists' streams never change. |
| 0021 | START ends a rules-restart reservation window and stops the lobby clock, so an untimed duel no longer ends at once on "time limit up". | | 0021 | START ends a rules-restart reservation window and stops the lobby clock, so an untimed duel no longer ends at once on "time limit up". |
| v1.1.1 | Tag: no Battle Phase on turns 1, 2 and 3 (1A, 2A, 1B); the fourth duelist (2B) is the first who can battle. `MSG_SELECT_IDLECMD` carries `to_bp` = 0 on those turns and `Duel.IsAbleToEnterBP` answers false. Single duels: turn 1 only, as stock. | | v1.1.1 | Tag: no Battle Phase on turns 1, 2 and 3 (1A, 2A, 1B); the fourth duelist (2B) is the first who can battle. `MSG_SELECT_IDLECMD` carries `to_bp` = 0 on those turns and `Duel.IsAbleToEnterBP` answers false. Single duels: turn 1 only, as stock. |
| v1.3.0 | Tag partner cards reach observers: when spectators see all, `STOC_TAG_PARTNER_CARDS` goes to every observer for both sides at every send point, plus both sides in an observer's resync and the late-watcher snapshot. Same id, same payload, no new capability bit (TICKET-412). |
### Replay ### Replay
@@ -357,7 +358,7 @@ fork-related rows are marked.
| 142 | `MSG_ANNOUNCE_CARD` | `u8 player`; `n` x 4 | yes | | 142 | `MSG_ANNOUNCE_CARD` | `u8 player`; `n` x 4 | yes |
| 143 | `MSG_ANNOUNCE_NUMBER` | `u8 player`; `n` x 4 | yes | | 143 | `MSG_ANNOUNCE_NUMBER` | `u8 player`; `n` x 4 | yes |
| 160 | `MSG_CARD_HINT` | 9 | - | | 160 | `MSG_CARD_HINT` | 9 | - |
| 161 | `MSG_TAG_SWAP` | `u8 player`, `u8 main count`, `u8 extra count`, `u8 extra pendulum count`, `u8 hand count`, `u32 top code`, then `u32` x hand, `u32` x extra. Not in `Scan` (the bot host never runs Tag). **Fork (core patch 0015): never emitted on a team's first turn; the first swap comes on turn 3 or later. v1.2.0: the server follows every swap with `STOC_TAG_PARTNER_CARDS` to the swapping side's two seats.** | - | | 161 | `MSG_TAG_SWAP` | `u8 player`, `u8 main count`, `u8 extra count`, `u8 extra pendulum count`, `u8 hand count`, `u32 top code`, then `u32` x hand, `u32` x extra. Not in `Scan` (the bot host never runs Tag). **Fork (core patch 0015): never emitted on a team's first turn; the first swap comes on turn 3 or later. v1.2.0: the server follows every swap with `STOC_TAG_PARTNER_CARDS` to the swapping side's two seats; v1.3.0: and to every observer when spectators see all.** | - |
| 162 | `MSG_RELOAD_FIELD` | `u8 duel rule`; per player: `u32 lp`, 7 monster zones (`u8 present`, +2 when present), 8 spell zones (`u8 present`, +1 when present), 6 count bytes; then ONE chain block `n` x 15 after both players. Produced by `query_field_info` and `Debug.ReloadFieldEnd()`; the server sends it as the 0005 field resync | - | | 162 | `MSG_RELOAD_FIELD` | `u8 duel rule`; per player: `u32 lp`, 7 monster zones (`u8 present`, +2 when present), 8 spell zones (`u8 present`, +1 when present), 6 count bytes; then ONE chain block `n` x 15 after both players. Produced by `query_field_info` and `Debug.ReloadFieldEnd()`; the server sends it as the 0005 field resync | - |
| 163 | `MSG_AI_NAME` | `u16 len` + bytes + 1 | - | | 163 | `MSG_AI_NAME` | `u16 len` + bytes + 1 | - |
| 164 | `MSG_SHOW_HINT` | `u16 len` + bytes + 1 | - | | 164 | `MSG_SHOW_HINT` | `u16 len` + bytes + 1 | - |
+30 -14
View File
@@ -130,9 +130,11 @@
# Fusions and its 35 remaining cards SORTED; after each MSG_TAG_SWAP the member # Fusions and its 35 remaining cards SORTED; after each MSG_TAG_SWAP the member
# that just left, hand = every card it drew, deck = its deck minus them; a seat's # that just left, hand = every card it drew, deck = its deck minus them; a seat's
# field resync (CTOS_REQUEST_FIELD) carries the same list again to that seat # field resync (CTOS_REQUEST_FIELD) carries the same list again to that seat
# alone -- and the other team, the watcher, a watcher's resync and a late # alone -- and the other team never gets one. The hand a swap brings in is the
# watcher's snapshot never get one. The hand a swap brings in is the hand the # hand the opening 0x5F announced. TICKET-412: when the room shows all, the
# opening 0x5F announced. # watcher gets the same bytes for BOTH sides at every send point, its resync and
# a late watcher's snapshot carry both sides; with ygol.room.spectatorview=hidden
# the watcher, its resync and the late watcher's snapshot never get one.
# #
# Exit 0 only when every check passed. Stock DLL: the first check fails; the # Exit 0 only when every check passed. Stock DLL: the first check fails; the
# 0011 DLL fails at the capability flags. # 0011 DLL fails at the capability flags.
@@ -2593,14 +2595,14 @@ def tag_swap_hand(d):
return [c & 0x7FFFFFFF for c in struct.unpack_from("<%dI" % hcount, d, 10)] return [c & 0x7FFFFFFF for c in struct.unpack_from("<%dI" % hcount, d, 10)]
def tag_partner_room(dll_path, port, label): def tag_partner_room(dll_path, port, label, hidden):
print("== tag partner cards, %s (4 seats + a watcher: the opening hands, both swaps, a seat's field resync, a late watcher)" % label) print("== tag partner cards, %s (4 seats + a watcher: the opening hands, both swaps, a seat's and the watcher's field resync, a late watcher)" % label)
root = make_workspace() root = make_workspace()
here = os.getcwd() here = os.getcwd()
os.chdir(root) os.chdir(root)
try: try:
write_special(root, []) write_special(root, [])
dll, thread = host_dll(dll_path, port, 2) dll, thread = host_dll(dll_path, port, 2, SPECTATOR_HIDDEN if hidden else "")
clients = [] clients = []
def client(name): def client(name):
@@ -2656,9 +2658,17 @@ def tag_partner_room(dll_path, port, label):
latest = got[-1] latest = got[-1]
for c in by_side[1 - side]: for c in by_side[1 - side]:
check(not partner_cards(since(c, since_marks), side), "%s: %s: seat %d (the other team) got no TAG_PARTNER_CARDS for side %d" % (label, stage, c.seat, side)) check(not partner_cards(since(c, since_marks), side), "%s: %s: seat %d (the other team) got no TAG_PARTNER_CARDS for side %d" % (label, stage, c.seat, side))
check(not partner_cards(since(w, since_marks)), "%s: %s: the watcher got no TAG_PARTNER_CARDS" % (label, stage)) check_watcher(w, since_marks, stage, side, latest)
return latest return latest
def check_watcher(c, since_marks, stage, side, latest):
if hidden:
check(not partner_cards(since(c, since_marks)), "%s: %s: %s got no TAG_PARTNER_CARDS (hidden)" % (label, stage, c.name))
return
got = partner_cards(since(c, since_marks), side)
check(len(got) == 1, "%s: %s: %s got exactly one TAG_PARTNER_CARDS for side %d (%d)" % (label, stage, c.name, side, len(got)))
check(bool(got) and bool(latest) and got[-1][1:5] == latest[1:5], "%s: %s: %s's side %d list is the bytes the seats got" % (label, stage, c.name, side))
opening = {} opening = {}
for p in (0, 1): for p in (0, 1):
opening[p] = check_cards(p, marks, "opening", partner_seat[p]) opening[p] = check_cards(p, marks, "opening", partner_seat[p])
@@ -2687,6 +2697,7 @@ def tag_partner_room(dll_path, port, label):
drawn = [x for d in draws(pre, side) for x in draw_codes(d)] drawn = [x for d in draws(pre, side) for x in draw_codes(d)]
check(len(drawn) >= 5, "%s: %s: seat %d drew %d cards before the swap" % (label, stage, first_seat[side], len(drawn))) check(len(drawn) >= 5, "%s: %s: seat %d drew %d cards before the swap" % (label, stage, first_seat[side], len(drawn)))
check_cards(side, before, stage, first_seat[side], expect_hand=drawn) check_cards(side, before, stage, first_seat[side], expect_hand=drawn)
check(not partner_cards(since(w, before), 1 - side), "%s: %s: the watcher got none for the other side" % (label, stage))
swaps = [d for d in game_msgs(new, MSG_TAG_SWAP) if len(d) > 10 and d[1] == side] swaps = [d for d in game_msgs(new, MSG_TAG_SWAP) if len(d) > 10 and d[1] == side]
check(len(swaps) == 1, "%s: %s: side %d saw one MSG_TAG_SWAP for itself (%d)" % (label, stage, side, len(swaps))) check(len(swaps) == 1, "%s: %s: side %d saw one MSG_TAG_SWAP for itself (%d)" % (label, stage, side, len(swaps)))
if swaps and opening.get(side) and opening[side][2] is not None: if swaps and opening.get(side) and opening[side][2] is not None:
@@ -2703,20 +2714,24 @@ def tag_partner_room(dll_path, port, label):
check_swap(1, before, "pass 3") check_swap(1, before, "pass 3")
asker = by_side[0][1] asker = by_side[0][1]
last = partner_cards(asker.log[marks[asker]:], 0) last = {p: partner_cards(by_side[p][0].log[marks[by_side[p][0]]:], p) for p in (0, 1)}
marks3 = marks_of(everyone) marks3 = marks_of(everyone)
asker.send(CTOS_REQUEST_FIELD) asker.send(CTOS_REQUEST_FIELD)
w.send(CTOS_REQUEST_FIELD) w.send(CTOS_REQUEST_FIELD)
pump(everyone, lambda: partner_cards(since(asker, marks3)) and game_msgs(since(w, marks3), MSG_RELOAD_FIELD), limit=3) pump(everyone, lambda: partner_cards(since(asker, marks3)) and game_msgs(since(w, marks3), MSG_RELOAD_FIELD) and (hidden or len(partner_cards(since(w, marks3))) >= 2), limit=3)
got = partner_cards(since(asker, marks3), 0) got = partner_cards(since(asker, marks3), 0)
check(len(got) == 1 and bool(game_msgs(since(asker, marks3), MSG_RELOAD_FIELD)), "%s: a seat's field resync carried one TAG_PARTNER_CARDS for its side (%d)" % (label, len(got))) check(len(got) == 1 and bool(game_msgs(since(asker, marks3), MSG_RELOAD_FIELD)), "%s: a seat's field resync carried one TAG_PARTNER_CARDS for its side (%d)" % (label, len(got)))
check(bool(got) and bool(last) and got[0][2:5] == last[-1][2:5], "%s: the resync list equals the last list that seat got" % label) check(bool(got) and bool(last[0]) and got[0][2:5] == last[0][-1][2:5], "%s: the resync list equals the last list that seat got" % label)
check(bool(game_msgs(since(w, marks3), MSG_RELOAD_FIELD)) and all(not partner_cards(since(c, marks3)) for c in everyone if c is not asker), "%s: the watcher's resync and everyone else carried no TAG_PARTNER_CARDS" % label) check(bool(game_msgs(since(w, marks3), MSG_RELOAD_FIELD)) and all(not partner_cards(since(c, marks3)) for c in everyone if c is not asker and c is not w), "%s: the watcher's resync reloaded its field and the other seats got no TAG_PARTNER_CARDS" % label)
for p in (0, 1):
check_watcher(w, marks3, "watcher resync", p, last[p][-1] if last[p] else None)
l = client("tp-late") l = client("tp-late")
l.log += l.drain(quiet=0.6) l.log += l.drain(quiet=0.6)
check(l.seat == OBSERVER and STOC_DUEL_START in ids_of(l.log), "%s: a mid-duel joiner is an observer and got DUEL_START" % label) check(l.seat == OBSERVER and STOC_DUEL_START in ids_of(l.log), "%s: a mid-duel joiner is an observer and got DUEL_START" % label)
check(not partner_cards(l.log), "%s: the late watcher's snapshot has no TAG_PARTNER_CARDS" % label) late_marks = {l: 0}
for p in (0, 1):
check_watcher(l, late_marks, "late snapshot", p, last[p][-1] if last[p] else None)
marks4 = marks_of(everyone + [l]) marks4 = marks_of(everyone + [l])
for c in by_side[0]: for c in by_side[0]:
@@ -2733,8 +2748,9 @@ def tag_partner_room(dll_path, port, label):
def tag_partner_suite(dll_path, port): def tag_partner_suite(dll_path, port):
print() print()
print("hosting the tag partner cards room from %s" % dll_path) print("hosting the tag partner cards rooms from %s" % dll_path)
tag_partner_room(dll_path, port, "tag") tag_partner_room(dll_path, port, "tag, see all", hidden=False)
tag_partner_room(dll_path, port + 1, "tag, hidden", hidden=True)
if __name__ == "__main__": if __name__ == "__main__":
+9 -2
View File
@@ -2895,13 +2895,16 @@ void TagDuel::RequestField(DuelPlayer* dp) {
// YGOL deck lists: the snapshot carries the lists this connection may see // YGOL deck lists: the snapshot carries the lists this connection may see
if(watcher) { if(watcher) {
if(SpectatorsSeeAll()) if(SpectatorsSeeAll()) {
for(int i = 0; i < 2; ++i) for(int i = 0; i < 2; ++i)
for(uint8_t kind = DECK_LIST_ORDERED; kind <= DECK_LIST_SUBMITTED; ++kind) { for(uint8_t kind = DECK_LIST_ORDERED; kind <= DECK_LIST_SUBMITTED; ++kind) {
std::vector<uint32_t> codes; std::vector<uint32_t> codes;
if(BuildDeckList(i, kind, codes)) if(BuildDeckList(i, kind, codes))
SendDeckList(dp, i, kind, codes); SendDeckList(dp, i, kind, codes);
} }
SendTagPartnerCards(0, dp); // YGOL tag partner cards: a watcher that sees all gets both sides (TICKET-412)
SendTagPartnerCards(1, dp);
}
} else { } else {
std::vector<uint32_t> codes; std::vector<uint32_t> codes;
if(BuildDeckList(player, DECK_LIST_SORTED, codes)) if(BuildDeckList(player, DECK_LIST_SORTED, codes))
@@ -3037,7 +3040,8 @@ void TagDuel::FlushDeckLists() {
} }
} }
// YGOL tag partner cards: STOC_TAG_PARTNER_CARDS 0x5F = uint8_t side + the ygol_query_tag_cards bytes, to that side's two // YGOL tag partner cards: STOC_TAG_PARTNER_CARDS 0x5F = uint8_t side + the ygol_query_tag_cards bytes, to that side's two
// seats only (never the other team, never an observer): after start_duel, after every MSG_TAG_SWAP, in a seat's field resync. // seats (never the other team) and, when spectators see all, to every observer: after start_duel, after every
// MSG_TAG_SWAP, in a seat's field resync (its side) and in an observer's resync / late-watcher snapshot (both sides).
void TagDuel::SendTagPartnerCards(int side, DuelPlayer* dp) { void TagDuel::SendTagPartnerCards(int side, DuelPlayer* dp) {
if(!pduel) if(!pduel)
return; return;
@@ -3053,6 +3057,9 @@ void TagDuel::SendTagPartnerCards(int side, DuelPlayer* dp) {
for(int seat = side * 2; seat < side * 2 + 2; ++seat) for(int seat = side * 2; seat < side * 2 + 2; ++seat)
if(players[seat]) if(players[seat])
NetServer::SendBufferToPlayer(players[seat], STOC_TAG_PARTNER_CARDS, buf, 1 + len); NetServer::SendBufferToPlayer(players[seat], STOC_TAG_PARTNER_CARDS, buf, 1 + len);
if(SpectatorsSeeAll()) // YGOL spectators see all: every observer gets both sides (TICKET-412)
for(auto oit = observers.begin(); oit != observers.end(); ++oit)
NetServer::SendBufferToPlayer(*oit, STOC_TAG_PARTNER_CARDS, buf, 1 + len);
} }
void TagDuel::TimeConfirm(DuelPlayer* dp) { void TagDuel::TimeConfirm(DuelPlayer* dp) {
if(host_info.time_limit == 0) if(host_info.time_limit == 0)
+1 -1
View File
@@ -99,7 +99,7 @@ protected:
bool has_profile[4]{}; bool has_profile[4]{};
CTOS_Profile profile[4]{}; CTOS_Profile profile[4]{};
std::vector<uint16_t> preview_attackers; // YGOL attack preview: location << 8 | sequence of every attacker the open battle prompt lists std::vector<uint16_t> preview_attackers; // YGOL attack preview: location << 8 | sequence of every attacker the open battle prompt lists
void SendTagPartnerCards(int side, DuelPlayer* dp = nullptr); // YGOL tag partner cards: STOC 0x5F to the side's two seats, or to dp alone void SendTagPartnerCards(int side, DuelPlayer* dp = nullptr); // YGOL tag partner cards: STOC 0x5F to the side's two seats (+ every observer when they see all), or to dp alone
// YGOL coin toss // YGOL coin toss
void BeginChoose(int chooser, uint8_t face); void BeginChoose(int chooser, uint8_t face);
int choose_seat{}; int choose_seat{};