Files
yugioh-legacy-engine/contract
donnyandClaude Fable 5.1 8b8a218946 contract: engine-contract.md, the one spec for the C API, the wire, the message stream, setup pairs and Lua
TICKET-388. Four sections, one table each, every fact read from the source (ocgapi.h, serverapi.h, network.h, netserver.cpp, single_duel.cpp, common.h, gframe.cpp): (a) every export with its signature and the patch / ticket that added it, plus the host string slots and the three dead DllImports in the Unity client; (b) every fork CTOS / STOC id 0x40-0x43, 0x50-0x5E with payload layout, sender stamp, who may send, what happens otherwise, capability bit and protocol number, plus the bits table, the no-message behaviour changes and the replay flag; (c) the MSG_* table as LocalDuelHost.Scan reads it, the fork's only effect (0015) marked; (d) the setup pairs the server reads and the ones the client sends, and the generated Lua reference. Also defines engine.json.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DJUFwdiGCHipsxLkgxssSR
2026-10-14 22:43:59 -07:00
..