feat: add 6th and 7th rare attribute client networking, constants, and locale

This commit is contained in:
shen
2026-10-20 01:46:17 -07:00
parent 74044c59c1
commit 2fc99d2fe7
9 changed files with 161 additions and 0 deletions
@@ -280,6 +280,10 @@ class CPythonNetworkStream : public CNetworkStream, public CSingleton<CPythonNet
// PORT: AVA2 switchbot
bool SendSwitchbotStartPacket(BYTE slot, std::vector<CPythonSwitchbot::TSwitchbotAttributeAlternativeTable> alternatives);
bool SendSwitchbotStopPacket(BYTE slot);
#if defined(ENABLE_ATTR_6TH_7TH)
bool Send67AttrPacket(int iMaterialCount, int iSupportCount, int iSupportPos, int iItemPos);
bool Send67AttrClosePacket();
#endif
// Handshake
bool RecvHandshakePacket();
@@ -565,6 +569,9 @@ class CPythonNetworkStream : public CNetworkStream, public CSingleton<CPythonNet
bool RecvAva2ItemShop();
bool RecvSwitchbotPacket(); // PORT: AVA2 switchbot
bool RecvExtendedPointGoldPacket(); // PORT: AVA2 64-bit gold
#if defined(ENABLE_ATTR_6TH_7TH)
bool Recv67AttrOpenPacket();
#endif
// MiniMap Info
bool RecvNPCList();