feat: port native AVA2 chest preview and CG235 pickup flows

This commit is contained in:
shen
2026-10-18 04:01:56 -07:00
parent b61140b8f4
commit 83809631ed
24 changed files with 872 additions and 614 deletions
@@ -111,6 +111,9 @@ public:
};
#endif
PyObject* playerPickCloseItemVector(PyObject*,PyObject*) {
CPythonPlayer::Instance().PickCloseItemVector();return Py_BuildNone();
}
PyObject * playerPickCloseItem(PyObject* poSelf, PyObject* poArgs)
{
CPythonPlayer::Instance().PickCloseItem();
@@ -2302,7 +2305,8 @@ void initPlayer()
{ "GetAutoPotionInfo", playerGetAutoPotionInfo, METH_VARARGS },
{ "SetAutoPotionInfo", playerSetAutoPotionInfo, METH_VARARGS },
{ "PickCloseItem", playerPickCloseItem, METH_VARARGS },
{"PickCloseItemVector", playerPickCloseItemVector, METH_VARARGS},
{"PickCloseItem", playerPickCloseItem, METH_VARARGS },
{ "SetGameWindow", playerSetGameWindow, METH_VARARGS },
{ "RegisterEffect", playerRegisterEffect, METH_VARARGS },
{ "RegisterCacheEffect", playerRegisterCacheEffect, METH_VARARGS },