Example #1
0
	private void ReciveCostumeItemMixUpgradeResult( byte[] _packet)
	{
		body_SC_COS_ITEM_MIX_UPGRADE_RESULT data = new body_SC_COS_ITEM_MIX_UPGRADE_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_CosItemMixUpgradeResult( 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("ReceiveCostumeItemMixUpgradeResult()[ data.eResult != eRESULTCODE.eRESULT_SUCC ] : + " + data.eResult );
		}
		AsSynthesisCosDlg.isAuthorityButtonClick = true;
	}
Example #2
0
	public void ReceivePacket_CosItemMixUpgradeResult( body_SC_COS_ITEM_MIX_UPGRADE_RESULT _result)
	{
		CompleteEffect ();

		TargetSynthesisSlotResetting (_result.nResultSlot);

		InvenSlot[]	slots = ItemMgr.HadItemManagement.Inven.invenSlots;
		if (_result.nResultSlot < slots.Length) 
		{
			InvenSlot	_invenSlot = slots[_result.nResultSlot];
			
			if( _invenSlot.realItem.item.ItemData.grade >= Item.eGRADE.Rare )
			{
				AsEventNotifyMgr.Instance.ItemGetAlarmNotify.AddListItem ( _invenSlot.realItem.sItem );	
			}
		}
	}