Example #1
0
	private void ReciveCostumeItemMixUpResult( byte[] _packet)
	{
		body_SC_COS_ITEM_MIX_UP_RESULT data = new body_SC_COS_ITEM_MIX_UP_RESULT();
		data.PacketBytesToClass( _packet);
		
		AsCommonSender.isSendItemMix = false;
		AsSynthesisCosDlg.isProcessing = false;
		if( data.eResult == eRESULTCODE.eRESULT_SUCC )
		{
			if( AsHudDlgMgr.Instance.IsOpenSynCosDlg )
				AsHudDlgMgr.Instance.m_SynCosDlg.ReceivePacket_CosItemMixResult( data );
		}
		else if( data.eResult == eRESULTCODE.eRESULT_FAIL_IVNENTORY_FULL )
		{
			AsNotify.Instance.MessageBox( AsTableManager.Instance.GetTbl_String(126), AsTableManager.Instance.GetTbl_String(118),
			                             null, "", AsNotify.MSG_BOX_TYPE.MBT_OK, AsNotify.MSG_BOX_ICON.MBI_NOTICE);
		}
		else
		{
			Debug.LogError("ReceiveCostumeItemMixUpResult()[ data.eResult != eRESULTCODE.eRESULT_SUCC ] : + " + data.eResult );
		}
		AsSynthesisCosDlg.isAuthorityButtonClick = true;
	}
Example #2
0
	public void ReceivePacket_CosItemMixResult( body_SC_COS_ITEM_MIX_UP_RESULT _result)
	{
		CancelMaterialItem();

		TargetSynthesisSlotResetting (_result.nResultSlot);

		SuccessEffect ( _result.bGreat );
	}