client: native AVA2 cube_renewal module (ENABLE_CUBE_RENEWAL_WORLDARD=1)

PythonCubeRenewal + PhaseGameCubeRenewal ported verbatim from AVA2: GC 221
fills the recipe list and calls BINARY_CUBE_RENEWAL_OPEN, the XXF
uicuberenewal window sends CG 216 make/close (its 3rd "improve" argument
is accepted and not sent). Replaces the read-only CubeRenewalScript.inc
preview shim. Version mt20261026 so the server picks the new window.
FakeLoginServer: CG 215/216 sizes and a /mt_test_cube_open fixture.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
shenlei
2026-10-24 14:06:26 +09:00
co-authored by Claude Opus 5.5
parent d6617e01f7
commit 909fc8f851
15 changed files with 336 additions and 277 deletions
@@ -301,6 +301,8 @@ class CPythonNetworkStream : public CNetworkStream, public CSingleton<CPythonNet
bool SendSashAddPacket(TItemPos tPos, BYTE bPos);
bool SendSashRemovePacket(BYTE bPos);
bool SendSashRefinePacket();
bool CubeRenewalMakeItem(int index_item, int count_item); // PORT: AVA2 cuberenewal
bool CubeRenewalClose();
// PORT: AVA2 switchbot
bool SendSwitchbotStartPacket(BYTE slot, std::vector<CPythonSwitchbot::TSwitchbotAttributeAlternativeTable> alternatives);
@@ -598,6 +600,7 @@ class CPythonNetworkStream : public CNetworkStream, public CSingleton<CPythonNet
// 용혼석 관련
bool RecvDragonSoulRefine();
bool RecvSashPacket(bool bReturn = false); // PORT: AVA2 sash
bool RecvCubeRenewalPacket(); // PORT: AVA2 cuberenewal
bool RecvQuiverState();
bool RecvAva2DropQuery();
bool RecvAva2Events();