| | |
| | | m_BiddingText.text = Language.Get("PMH_06");
|
| | | if (type == 0)
|
| | | {
|
| | | int auctionTaxrate = Mathf.CeilToInt((float)(auctionHelpModel.
|
| | | int auctionTaxrate = Mathf.FloorToInt((float)(auctionHelpModel.
|
| | | AuctionTaxrate1 * myAuction.BidderPrice) / 100);//个人税收
|
| | | int incomeNumber = myAuction.BidderPrice - auctionTaxrate;
|
| | | m_Income.text = incomeNumber.ToString();
|
| | | }
|
| | | else if (type == 1)
|
| | | {
|
| | | int auctionTaxrate = Mathf.CeilToInt((float)(auctionHelpModel.
|
| | | int auctionTaxrate = Mathf.FloorToInt((float)(auctionHelpModel.
|
| | | AuctionTaxrate2 * myAuction.BidderPrice) / 100);//仙盟税收
|
| | | int number = myAuction.BidderPrice - auctionTaxrate;
|
| | | int incomeMax = Mathf.CeilToInt((float)(number * auctionHelpModel.AuctionTaxrate3) / 100);
|
| | | int incomeNumber = Mathf.FloorToInt((float)number / myAuction.FamilyPlayerIDList.Count);
|
| | | int incomeNumber = Mathf.CeilToInt((float)number / myAuction.FamilyPlayerIDList.Count);
|
| | | if (incomeMax >= incomeNumber)
|
| | | {
|
| | | m_Income.text = incomeNumber.ToString();
|
| | |
| | | }
|
| | | else
|
| | | {
|
| | | m_JadeNumber.text = auctionItem.BasePrice.ToString();
|
| | | m_JadeNumber.text = 0.ToString();
|
| | | }
|
| | |
|
| | | }
|