private void OnBuyItem(ScChargeBuyItem msg) { if (msg.result != 0) { moduleGlobal.ShowMessage(ConfigText.GetDefalutString(9302, msg.result)); } }
void _Packet(ScChargeBuyItem p) { moduleGlobal.UnLockUI(); if (p.result == 0 && CurrentDeal != null) { m_lockState = LockState.None; LockDeal(true); moduleGm.SendCharge(CurrentDeal.productId); } DispatchModuleEvent(EventBuyItem, p); }