feat: implement offline shop and private shop search client subsystems (Stage 5 Part 2)

- Enable ENABLE_OFFLINESHOP_SYSTEM and ENABLE_SHOP_SEARCH_SYSTEM in Locale_inc.h
- Add CG57, CG58, CG143, GC47, GC48, GC156 packets and subheaders in Packet.h
- Implement PythonShop offline shop item/stock/money methods and Python bindings
- Implement PythonNetworkStream offline shop packet sending and receiving handlers
- Port PythonPrivateShopSearch and export privateShopSearch Python module
- Add PythonUtils PyTuple_GetLongLong for 64-bit yang input parsing
- Add Python UI module test assertions covering offline shop and search APIs
This commit is contained in:
shen
2026-10-20 03:38:34 -07:00
parent 9ef25b79d8
commit 18d9c89af8
20 changed files with 1741 additions and 1 deletions
+7
View File
@@ -2480,6 +2480,13 @@ void CInstanceBase::__UpdateEffectShown()
m_GraphicThingInstance.SetAttachingEffectShown(isShown && PORT_IsDisplayVisible());
}
#ifdef ENABLE_OFFLINESHOP_SYSTEM
BOOL CInstanceBase::IsShop()
{
return GetRace() >= 30000 && GetRace() <= 30020;
}
#endif
bool CInstanceBase::PORT_IsDisplayVisible()
{
// AVA2 CActorInstance::IsShop and InstanceBase::__CanRender, including