示例#1
0
	public void ResultProcess(body_SC_STORAGE_MOVE_RESULT _result)
	{
		AsMessageBox popup = null;
		
		switch(_result.eResult)
		{
        case eRESULTCODE.eRESULT_SUCC:
            ArkQuestmanager.instance.UpdateQuestItem();
            break;
		case eRESULTCODE.eRESULT_FAIL_STORAGE:
			break;
		case eRESULTCODE.eRESULT_FAIL_STORAGE_FULL:
			popup = AsNotify.Instance.MessageBox(AsTableManager.Instance.GetTbl_String(126), AsTableManager.Instance.GetTbl_String(143));
			break;
		case eRESULTCODE.eRESULT_FAIL_IVNENTORY_FULL:
			popup = AsNotify.Instance.MessageBox(AsTableManager.Instance.GetTbl_String(126), AsTableManager.Instance.GetTbl_String(20));
			break;
		}
		
		if(popup != null)
			AsHudDlgMgr.Instance.storageDlg.MessageBoxPopup(popup);
	}
示例#2
0
	private void ReceiveStorageMoveResult(byte[] _packet)
	{
		body_SC_STORAGE_MOVE_RESULT data = new body_SC_STORAGE_MOVE_RESULT();
        data.PacketBytesToClass(_packet);

		ItemMgr.HadItemManagement.Storage.ResultProcess(data);

		Debug.Log("ReceiveStorageMoveResult: result = " + data.eResult);
	}