From 923764242a5ffe13ac48e917703c97af218c606a Mon Sep 17 00:00:00 2001 From: donnyjang Date: Wed, 14 Oct 2026 22:44:26 -0700 Subject: [PATCH] contract: the three dead DllImport names get a table row each So every DllImport name in CoreWrapper.cs has a literal row in section (a), the undefined ones included. Co-Authored-By: Claude Fable 5.1 Claude-Session: https://claude.ai/code/session_01DJUFwdiGCHipsxLkgxssSR --- contract/engine-contract.md | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/contract/engine-contract.md b/contract/engine-contract.md index 2c7a747..8db3975 100644 --- a/contract/engine-contract.md +++ b/contract/engine-contract.md @@ -134,10 +134,15 @@ Unity repo's old `ygoserver.dll` had 327: its own core copy never carried patch ### Declarations in the Unity client that are NOT in this library -`Assets/Scripts/MDPro3/Duel/CoreWrapper.cs` declares `get_ai_going_first_second`, -`set_player_going_first_second` and `set_ai_id` with `DllImport`. No core or server source defines -them, nothing exports them, and nothing calls them. They are dead declarations; a call would throw -`EntryPointNotFoundException`. Phase 2 drops them. +`Assets/Scripts/MDPro3/Duel/CoreWrapper.cs` declares three names with `DllImport` that no core or +server source defines, nothing exports and nothing calls. They are dead declarations; a call would +throw `EntryPointNotFoundException`. Phase 2 drops them. + +| Declared name | Status | +|---|---| +| `get_ai_going_first_second` | Not in the library; dead declaration, no callers | +| `set_player_going_first_second` | Not in the library; dead declaration, no callers | +| `set_ai_id` | Not in the library; dead declaration, no callers | Every other `DllImport` in `CoreWrapper.cs`, `YgoServer.cs` and `Assets/YGOLegacy/Scripts/Core/Bot/LocalDuelHost.cs` names a row above.