Exemplo n.º 1
0
	public void Open( UIPStoreSearchSlot _slot, delPurchaseConfirm _del)
	{
		m_CallProc = new CalledProc_Search( _slot, _del);
		if( m_CallProc.CheckValid() == false)
			return;
				
		m_nCurCount = m_nMaxCount = _slot.SearchInfo.sItem.nOverlapped;
		
		Item item = ItemMgr.ItemManagement.GetItem( _slot.SearchInfo.sItem.nItemTableIdx);
		_SetItemText( item.ItemData);
		_SetCount( 1);
		_SetIcon( item);

		gameObject.SetActiveRecursively( true);
	}
Exemplo n.º 2
0
		public CalledProc_Search( UIPStoreSearchSlot _slot, delPurchaseConfirm _del)
		{
			m_InputSlot = _slot;
			m_delConfirm = _del;
		}
Exemplo n.º 3
0
	void Del_ListBtnClicked( UIPStoreSearchSlot _slot)
	{
		CloseAllSubBtns();
		
		m_SavedSlot = _slot;
		
		TooltipMgr.Instance.OpenTooltip( TooltipMgr.eOPEN_DLG.right, _slot.SearchInfo.sItem, this, "Del_PurchaseBtnClicked", -10.0f);
		UIPStoreSearchSlot.TooltipActivate( true);
	}
Exemplo n.º 4
0
	void Del_PurchaseConfirm( UIPStoreSearchSlot _slot, int _count)
	{
		quantityDlg.Close();
		
//		m_SavedSlot = _slot;
		m_SavedCount = _count;
		
		string title = AsTableManager.Instance.GetTbl_String(126);
		string content = AsTableManager.Instance.GetTbl_String(407);
		content = string.Format( content, _slot.TextName + Color.white, _count.ToString(), ( _slot.SearchInfo.nItemGold * (long)_count).ToString( "#,#0", CultureInfo.InvariantCulture));
		string left = AsTableManager.Instance.GetTbl_String(1151);
		string right = AsTableManager.Instance.GetTbl_String(1152);
		
		AsNotify.Instance.MessageBox(title, content, right, left, this, "SendPurchaseInfo", "", AsNotify.MSG_BOX_TYPE.MBT_OKCANCEL);
	}
Exemplo n.º 5
0
	void OpenQuantityDlg( UIPStoreSearchSlot _slot)
	{
		CloseAllSubBtns();
		
		quantityDlg.Open( _slot, Del_PurchaseConfirm);
	}