port: complete python ledger mapping, audio commands bridge and platform stubs

- Added Client/root (74 modules, 3350 funcs) mapped to RUN_AS_IS
- Added UserInterface/PythonNetworkStreamModule.cpp.json mapped to PORTED
- Implemented AudioCommands queue bridging MilesLib SoundManager to Godot AudioDriver
- Implemented AudioDriver node for BGM crossfading, 2D UI SFX and 3D spatial sounds
- Implemented core platform stubs in PythonApplication, GrpScreen, and PythonGraphic
- Passed all 12 port tests (port_gate macos) and python_game_render_test
This commit is contained in:
shen
2026-09-23 23:44:48 -07:00
parent 3981cbe5e6
commit c84f913cfd
85 changed files with 25310 additions and 20 deletions
@@ -0,0 +1,505 @@
{
"reference": "../../Client/Eternexus/root/uiinventory.py",
"reference_sha256": "b2d0b2c410c321bbddaf9884cebff15eb8169d2a90d7a09d9b77ae0bcae5afe8",
"priority": "P3",
"contracts": [],
"functions": {
"CostumeWindow.__init__": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/uiinventory.py:CostumeWindow.__init__"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"CostumeWindow.__del__": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/uiinventory.py:CostumeWindow.__del__"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"CostumeWindow.Show": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/uiinventory.py:CostumeWindow.Show"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"CostumeWindow.Close": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/uiinventory.py:CostumeWindow.Close"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"CostumeWindow.__LoadWindow": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/uiinventory.py:CostumeWindow.__LoadWindow"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"CostumeWindow.RefreshCostumeSlot": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/uiinventory.py:CostumeWindow.RefreshCostumeSlot"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"BeltInventoryWindow.__init__": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/uiinventory.py:BeltInventoryWindow.__init__"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"BeltInventoryWindow.__del__": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/uiinventory.py:BeltInventoryWindow.__del__"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"BeltInventoryWindow.Show": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/uiinventory.py:BeltInventoryWindow.Show"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"BeltInventoryWindow.Close": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/uiinventory.py:BeltInventoryWindow.Close"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"BeltInventoryWindow.IsOpeningInventory": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/uiinventory.py:BeltInventoryWindow.IsOpeningInventory"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"BeltInventoryWindow.OpenInventory": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/uiinventory.py:BeltInventoryWindow.OpenInventory"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"BeltInventoryWindow.CloseInventory": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/uiinventory.py:BeltInventoryWindow.CloseInventory"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"BeltInventoryWindow.GetBasePosition": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/uiinventory.py:BeltInventoryWindow.GetBasePosition"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"BeltInventoryWindow.AdjustPositionAndSize": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/uiinventory.py:BeltInventoryWindow.AdjustPositionAndSize"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"BeltInventoryWindow.__LoadWindow": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/uiinventory.py:BeltInventoryWindow.__LoadWindow"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"BeltInventoryWindow.RefreshSlot": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/uiinventory.py:BeltInventoryWindow.RefreshSlot"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"InventoryWindow.__init__": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/uiinventory.py:InventoryWindow.__init__"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"InventoryWindow.__del__": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/uiinventory.py:InventoryWindow.__del__"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"InventoryWindow.Show": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/uiinventory.py:InventoryWindow.Show"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"InventoryWindow.BindInterfaceClass": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/uiinventory.py:InventoryWindow.BindInterfaceClass"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"InventoryWindow.__LoadWindow": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/uiinventory.py:InventoryWindow.__LoadWindow"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"InventoryWindow.Destroy": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/uiinventory.py:InventoryWindow.Destroy"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"InventoryWindow.Hide": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/uiinventory.py:InventoryWindow.Hide"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"InventoryWindow.Close": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/uiinventory.py:InventoryWindow.Close"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"InventoryWindow.SetInventoryPage": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/uiinventory.py:InventoryWindow.SetInventoryPage"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"InventoryWindow.SetEquipmentPage": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/uiinventory.py:InventoryWindow.SetEquipmentPage"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"InventoryWindow.ClickMallButton": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/uiinventory.py:InventoryWindow.ClickMallButton"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"InventoryWindow.ClickDSSButton": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/uiinventory.py:InventoryWindow.ClickDSSButton"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"InventoryWindow.ClickCostumeButton": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/uiinventory.py:InventoryWindow.ClickCostumeButton"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"InventoryWindow.OpenPickMoneyDialog": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/uiinventory.py:InventoryWindow.OpenPickMoneyDialog"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"InventoryWindow.OnPickMoney": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/uiinventory.py:InventoryWindow.OnPickMoney"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"InventoryWindow.OnPickItem": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/uiinventory.py:InventoryWindow.OnPickItem"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"InventoryWindow.__InventoryLocalSlotPosToGlobalSlotPos": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/uiinventory.py:InventoryWindow.__InventoryLocalSlotPosToGlobalSlotPos"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"InventoryWindow.RefreshBagSlotWindow": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/uiinventory.py:InventoryWindow.RefreshBagSlotWindow"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"InventoryWindow.RefreshEquipSlotWindow": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/uiinventory.py:InventoryWindow.RefreshEquipSlotWindow"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"InventoryWindow.RefreshItemSlot": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/uiinventory.py:InventoryWindow.RefreshItemSlot"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"InventoryWindow.RefreshStatus": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/uiinventory.py:InventoryWindow.RefreshStatus"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"InventoryWindow.SetItemToolTip": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/uiinventory.py:InventoryWindow.SetItemToolTip"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"InventoryWindow.SellItem": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/uiinventory.py:InventoryWindow.SellItem"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"InventoryWindow.OnDetachMetinFromItem": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/uiinventory.py:InventoryWindow.OnDetachMetinFromItem"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"InventoryWindow.OnCloseQuestionDialog": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/uiinventory.py:InventoryWindow.OnCloseQuestionDialog"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"InventoryWindow.SelectEmptySlot": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/uiinventory.py:InventoryWindow.SelectEmptySlot"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"InventoryWindow.SelectItemSlot": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/uiinventory.py:InventoryWindow.SelectItemSlot"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"InventoryWindow.__DropSrcItemToDestItemInInventory": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/uiinventory.py:InventoryWindow.__DropSrcItemToDestItemInInventory"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"InventoryWindow.__SellItem": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/uiinventory.py:InventoryWindow.__SellItem"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"InventoryWindow.__OnClosePopupDialog": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/uiinventory.py:InventoryWindow.__OnClosePopupDialog"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"InventoryWindow.RefineItem": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/uiinventory.py:InventoryWindow.RefineItem"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"InventoryWindow.DetachMetinFromItem": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/uiinventory.py:InventoryWindow.DetachMetinFromItem"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"InventoryWindow.AttachMetinToItem": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/uiinventory.py:InventoryWindow.AttachMetinToItem"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"InventoryWindow.OverOutItem": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/uiinventory.py:InventoryWindow.OverOutItem"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"InventoryWindow.OverInItem": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/uiinventory.py:InventoryWindow.OverInItem"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"InventoryWindow.__IsUsableItemToItem": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/uiinventory.py:InventoryWindow.__IsUsableItemToItem"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"InventoryWindow.__CanUseSrcItemToDstItem": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/uiinventory.py:InventoryWindow.__CanUseSrcItemToDstItem"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"InventoryWindow.__CanCleanBrokenMetinStone": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/uiinventory.py:InventoryWindow.__CanCleanBrokenMetinStone"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"InventoryWindow.__CanChangeItemAttrList": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/uiinventory.py:InventoryWindow.__CanChangeItemAttrList"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"InventoryWindow.__CanPutAccessorySocket": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/uiinventory.py:InventoryWindow.__CanPutAccessorySocket"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"InventoryWindow.__CanAddAccessorySocket": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/uiinventory.py:InventoryWindow.__CanAddAccessorySocket"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"InventoryWindow.__CanAddItemAttr": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/uiinventory.py:InventoryWindow.__CanAddItemAttr"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"InventoryWindow.ShowToolTip": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/uiinventory.py:InventoryWindow.ShowToolTip"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"InventoryWindow.OnTop": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/uiinventory.py:InventoryWindow.OnTop"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"InventoryWindow.OnPressEscapeKey": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/uiinventory.py:InventoryWindow.OnPressEscapeKey"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"InventoryWindow.UseItemSlot": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/uiinventory.py:InventoryWindow.UseItemSlot"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"InventoryWindow.__UseItem": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/uiinventory.py:InventoryWindow.__UseItem"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"InventoryWindow.__UseItemQuestionDialog_OnCancel": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/uiinventory.py:InventoryWindow.__UseItemQuestionDialog_OnCancel"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"InventoryWindow.__UseItemQuestionDialog_OnAccept": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/uiinventory.py:InventoryWindow.__UseItemQuestionDialog_OnAccept"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"InventoryWindow.__SendUseItemToItemPacket": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/uiinventory.py:InventoryWindow.__SendUseItemToItemPacket"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"InventoryWindow.__SendUseItemPacket": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/uiinventory.py:InventoryWindow.__SendUseItemPacket"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"InventoryWindow.__SendMoveItemPacket": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/uiinventory.py:InventoryWindow.__SendMoveItemPacket"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"InventoryWindow.SetDragonSoulRefineWindow": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/uiinventory.py:InventoryWindow.SetDragonSoulRefineWindow"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
},
"InventoryWindow.OnMoveWindow": {
"status": "RUN_AS_IS",
"impl": [
"assets/root/uiinventory.py:InventoryWindow.OnMoveWindow"
],
"evidence": "executed directly by embedded CPython 2.7 runtime from 40250 pack/assets"
}
}
}