示例#1
0
 private void OnBuyItem(ScChargeBuyItem msg)
 {
     if (msg.result != 0)
     {
         moduleGlobal.ShowMessage(ConfigText.GetDefalutString(9302, msg.result));
     }
 }
示例#2
0
    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);
    }