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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user