port: P3-c PythonExchange + exchange module (1:1 40250)
Copy PythonExchange.cpp/PythonExchangeModule.cpp verbatim, drop the pending stand-in and the exchange module stub, register initTrade() after initNonPlayer(). The fake server answers CG_EXCHANGE START with the partner's item + gold and CANCEL with END; port.login_flow drives the exchange round-trip through the Python exchange/net modules and uiexchange. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
9298500df9
commit
72b19b677d
@@ -0,0 +1,122 @@
|
||||
{
|
||||
"reference": "UserInterface/PythonExchangeModule.cpp",
|
||||
"reference_sha256": "90fb936b2f2ac29833083fd69a2c5f4307c65eda153b6f02214942d765bdb143",
|
||||
"priority": "P3",
|
||||
"contracts": [],
|
||||
"functions": {
|
||||
"exchangeInitTrading": {
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"extension/src/port/UserInterface/PythonExchangeModule.cpp:exchangeInitTrading"
|
||||
]
|
||||
},
|
||||
"exchangeisTrading": {
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"extension/src/port/UserInterface/PythonExchangeModule.cpp:exchangeisTrading"
|
||||
]
|
||||
},
|
||||
"exchangeGetElkFromSelf": {
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"extension/src/port/UserInterface/PythonExchangeModule.cpp:exchangeGetElkFromSelf"
|
||||
]
|
||||
},
|
||||
"exchangeGetElkFromTarget": {
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"extension/src/port/UserInterface/PythonExchangeModule.cpp:exchangeGetElkFromTarget"
|
||||
]
|
||||
},
|
||||
"exchangeGetAcceptFromSelf": {
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"extension/src/port/UserInterface/PythonExchangeModule.cpp:exchangeGetAcceptFromSelf"
|
||||
]
|
||||
},
|
||||
"exchangeGetAcceptFromTarget": {
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"extension/src/port/UserInterface/PythonExchangeModule.cpp:exchangeGetAcceptFromTarget"
|
||||
]
|
||||
},
|
||||
"exchangeGetItemVnumFromSelf": {
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"extension/src/port/UserInterface/PythonExchangeModule.cpp:exchangeGetItemVnumFromSelf"
|
||||
]
|
||||
},
|
||||
"exchangeGetItemVnumFromTarget": {
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"extension/src/port/UserInterface/PythonExchangeModule.cpp:exchangeGetItemVnumFromTarget"
|
||||
]
|
||||
},
|
||||
"exchangeGetItemCountFromSelf": {
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"extension/src/port/UserInterface/PythonExchangeModule.cpp:exchangeGetItemCountFromSelf"
|
||||
]
|
||||
},
|
||||
"exchangeGetItemCountFromTarget": {
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"extension/src/port/UserInterface/PythonExchangeModule.cpp:exchangeGetItemCountFromTarget"
|
||||
]
|
||||
},
|
||||
"exchangeGetNameFromSelf": {
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"extension/src/port/UserInterface/PythonExchangeModule.cpp:exchangeGetNameFromSelf"
|
||||
]
|
||||
},
|
||||
"exchangeGetNameFromTarget": {
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"extension/src/port/UserInterface/PythonExchangeModule.cpp:exchangeGetNameFromTarget"
|
||||
]
|
||||
},
|
||||
"exchangeGetItemMetinSocketFromTarget": {
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"extension/src/port/UserInterface/PythonExchangeModule.cpp:exchangeGetItemMetinSocketFromTarget"
|
||||
]
|
||||
},
|
||||
"exchangeGetItemMetinSocketFromSelf": {
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"extension/src/port/UserInterface/PythonExchangeModule.cpp:exchangeGetItemMetinSocketFromSelf"
|
||||
]
|
||||
},
|
||||
"exchangeGetItemAttributeFromTarget": {
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"extension/src/port/UserInterface/PythonExchangeModule.cpp:exchangeGetItemAttributeFromTarget"
|
||||
]
|
||||
},
|
||||
"exchangeGetItemAttributeFromSelf": {
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"extension/src/port/UserInterface/PythonExchangeModule.cpp:exchangeGetItemAttributeFromSelf"
|
||||
]
|
||||
},
|
||||
"exchangeGetElkMode": {
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"extension/src/port/UserInterface/PythonExchangeModule.cpp:exchangeGetElkMode"
|
||||
]
|
||||
},
|
||||
"exchangeSetElkMode": {
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"extension/src/port/UserInterface/PythonExchangeModule.cpp:exchangeSetElkMode"
|
||||
]
|
||||
},
|
||||
"initTrade": {
|
||||
"status": "PORTED",
|
||||
"impl": [
|
||||
"extension/src/port/UserInterface/PythonExchangeModule.cpp:initTrade"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user