Exemplo n.º 1
0
    /// <summary>
    /// 接收宝石镶嵌回复
    /// </summary>
    /// <returns>The goods operate beset results.</returns>
    /// <param name="dataBuffer">Data buffer.</param>
    /// <param name="socketID">Socket I.</param>
    CommandCallbackType ReceiveGoodsOperateBesetResults(byte[] dataBuffer, int socketID)
    {
        SMsgGoodsOperateBeset_SC sMsgGoodsOperateBeset_SC = SMsgGoodsOperateBeset_SC.ParsePackage(dataBuffer);

        TraceUtil.Log("ReceiveGoodsOperateBesetResults:" + sMsgGoodsOperateBeset_SC);
        UIEventManager.Instance.TriggerUIEvent(UIEventType.ReceiveBesetJewel, sMsgGoodsOperateBeset_SC);
        return(CommandCallbackType.Continue);
    }
Exemplo n.º 2
0
        public void ReceiveBesetJewelHandel(object arg)
        {
            SMsgGoodsOperateBeset_SC s = (SMsgGoodsOperateBeset_SC)arg;

            if (System.Convert.ToBoolean(s.bySucess))
            {
                ContainerInfomanager.Instance.ShowJewelEff();
                SoundManager.Instance.PlaySoundEffect("Sound_UIEff_Stone_Inlay");
                StartCoroutine(ShowBesetEff());
                StartCoroutine(HideChosePanel());
            }
        }