| | |
| | | ItemAttrData attrData = new ItemAttrData((int)data.ItemTypeID, false, data.Count, -1, 0, true, PackType.Deleted, "", data.UserData); |
| | | if (data.PlayerID != PlayerDatas.Instance.PlayerId) |
| | | { |
| | | attrData.SetTipsFuncBtn(ItemWinBtnType.buy, ItemWinModelBtnClick); |
| | | attrData.SetTipsFuncBtn(ItemOperateType.buy, ItemWinModelBtnClick); |
| | | } |
| | | itemTipsModel.SetItemTipsModel(attrData); |
| | | } |
| | | |
| | | private void ItemWinModelBtnClick(ItemWinBtnType type, string arg2) |
| | | private void ItemWinModelBtnClick(ItemOperateType type, string arg2) |
| | | { |
| | | switch (type) |
| | | { |
| | | case ItemWinBtnType.buy: |
| | | case ItemOperateType.buy: |
| | | PwdKeyboardWin.OnPwdWinClose -= OnPwdWinClose; |
| | | var _data = model.marketDealItems[m_Index]; |
| | | if (UIHelper.GetMoneyCnt(_data.PriceType) < _data.PriceCount) |