コード例 #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);
	}
コード例 #2
0
	public void Open( UIPStoreSlot _slot, delVoid _del)
	{
		m_CallProc = new CalledProc_PStore( _slot, _del);
		if( m_CallProc.CheckValid() == false)
			return;
		
//		m_CurSlotIndex = _slot.slotIndex;
				
		m_nCurCount = m_nMaxCount = _slot.slotItem.realItem.sItem.nOverlapped;
		_SetItemText( _slot.slotItem.realItem.item.ItemData);
		_SetCount( m_nCurCount);
		_SetIcon( _slot.slotItem.realItem.item);

		gameObject.SetActiveRecursively( true);
	}