| | |
| | | // B5 12 拍卖行查询拍卖记录 #tagCGQueryAuctionRecord
|
| | |
|
| | | public class CB512_tagCGQueryAuctionRecord : GameNetPackBasic {
|
| | | public byte RecordType; //记录类型 0-我的拍品记录 1-仙盟拍品记录 2-我的竞拍记录
|
| | |
|
| | | public CB512_tagCGQueryAuctionRecord () {
|
| | | combineCmd = (ushort)0x1801;
|
| | |
| | | }
|
| | |
|
| | | public override void WriteToBytes () {
|
| | | WriteBytes (RecordType, NetDataType.BYTE);
|
| | | }
|
| | |
|
| | | }
|
| | |
| | | public void SendQueryAuctionRecord(int recordType)//拍卖行查询拍卖记录(0-我的拍品记录 1-仙盟拍品记录 2-我的竞拍记录)
|
| | | {
|
| | | CB512_tagCGQueryAuctionRecord cb512 = new CB512_tagCGQueryAuctionRecord();
|
| | | cb512.RecordType = (byte)recordType;
|
| | | GameNetSystem.Instance.SendInfo(cb512);
|
| | | }
|
| | | |
| | |
| | | int jade = (int)PlayerDatas.Instance.baseData.diamond;
|
| | | string str = "是否花费" + auctionItem.BuyoutPrice + "立即拍下商品?";
|
| | | ConfirmCancel.ShowPopConfirm(Language.Get("L1003"), str, (bool isOk) => {
|
| | | if (jade >= auctionItem.BuyoutPrice)
|
| | | if (isOk)
|
| | | {
|
| | | AuctionInquiry.Instance.SendSellAuctionItem(GUIID, auctionItem.BuyoutPrice);
|
| | | if (jade >= auctionItem.BuyoutPrice)
|
| | | {
|
| | | AuctionInquiry.Instance.SendSellAuctionItem(GUIID, auctionItem.BuyoutPrice);
|
| | | }
|
| | | else
|
| | | {
|
| | | WindowCenter.Instance.Open<RechargeTipWin>();
|
| | | }
|
| | | }
|
| | | else
|
| | | {
|
| | | WindowCenter.Instance.Open<RechargeTipWin>();
|
| | | }
|
| | | |
| | | });
|
| | | });
|
| | | m_JadeNumber2.text = (needJade).ToString();
|
| | |
| | | int jade = (int)PlayerDatas.Instance.baseData.diamond;
|
| | | string str = "是否花费" + needJade + "参与竞价?";
|
| | | ConfirmCancel.ShowPopConfirm(Language.Get("L1003"), str, (bool isOk) => {
|
| | | if (jade >= needJade)
|
| | | if (isOk)
|
| | | {
|
| | | AuctionInquiry.Instance.SendSellAuctionItem(GUIID, needJade);
|
| | | }
|
| | | else
|
| | | {
|
| | | WindowCenter.Instance.Open<RechargeTipWin>();
|
| | | }
|
| | | if (jade >= needJade)
|
| | | {
|
| | | AuctionInquiry.Instance.SendSellAuctionItem(GUIID, needJade);
|
| | | }
|
| | | else
|
| | | {
|
| | | WindowCenter.Instance.Open<RechargeTipWin>();
|
| | | }
|
| | | } |
| | | });
|
| | |
|
| | | });
|
| | |
| | | int jade = (int)PlayerDatas.Instance.baseData.diamond;
|
| | | string str = "是否花费" + auctionItem.BuyoutPrice + "立即拍下商品?";
|
| | | ConfirmCancel.ShowPopConfirm(Language.Get("L1003"), str, (bool isOk) => {
|
| | | if (jade >= auctionItem.BuyoutPrice)
|
| | | if (isOk)
|
| | | {
|
| | | AuctionInquiry.Instance.SendSellAuctionItem(fullServiceAuction.ItemGUID, auctionItem.BuyoutPrice);
|
| | | if (jade >= auctionItem.BuyoutPrice)
|
| | | {
|
| | | AuctionInquiry.Instance.SendSellAuctionItem(fullServiceAuction.ItemGUID, auctionItem.BuyoutPrice);
|
| | | }
|
| | | else
|
| | | {
|
| | | WindowCenter.Instance.Open<RechargeTipWin>();
|
| | | }
|
| | |
|
| | | }
|
| | | else
|
| | | {
|
| | | WindowCenter.Instance.Open<RechargeTipWin>();
|
| | | }
|
| | | |
| | | });
|
| | | });
|
| | | m_JadeNumber2.text = needJade.ToString();
|
| | |
| | | int jade = (int)PlayerDatas.Instance.baseData.diamond;
|
| | | string str = "是否花费" + needJade + "参与竞价?";
|
| | | ConfirmCancel.ShowPopConfirm(Language.Get("L1003"), str, (bool isOk) => {
|
| | | if (jade >= needJade)
|
| | | if (isOk)
|
| | | {
|
| | | AuctionInquiry.Instance.SendSellAuctionItem(fullServiceAuction.ItemGUID, needJade);
|
| | | }
|
| | | else
|
| | | {
|
| | | WindowCenter.Instance.Open<RechargeTipWin>();
|
| | | }
|
| | | if (jade >= needJade)
|
| | | {
|
| | | AuctionInquiry.Instance.SendSellAuctionItem(fullServiceAuction.ItemGUID, needJade);
|
| | | }
|
| | | else
|
| | | {
|
| | | WindowCenter.Instance.Open<RechargeTipWin>();
|
| | | }
|
| | | } |
| | | });
|
| | | });
|
| | | }
|
| | |
| | | int jade = (int)PlayerDatas.Instance.baseData.diamond;
|
| | | string str = "是否花费" + auctionItem.BuyoutPrice + "立即拍下商品?";
|
| | | ConfirmCancel.ShowPopConfirm(Language.Get("L1003"), str, (bool isOk) => {
|
| | | if (jade >= auctionItem.BuyoutPrice)
|
| | | if (isOk)
|
| | | {
|
| | | AuctionInquiry.Instance.SendSellAuctionItem(GUIID, auctionItem.BuyoutPrice);
|
| | | }
|
| | | else
|
| | | {
|
| | | WindowCenter.Instance.Open<RechargeTipWin>();
|
| | | }
|
| | | if (jade >= auctionItem.BuyoutPrice)
|
| | | {
|
| | | AuctionInquiry.Instance.SendSellAuctionItem(GUIID, auctionItem.BuyoutPrice);
|
| | | }
|
| | | else
|
| | | {
|
| | | WindowCenter.Instance.Open<RechargeTipWin>();
|
| | | }
|
| | | } |
| | | });
|
| | | });
|
| | | m_JadeNumber2.text = (needJade).ToString();
|
| | |
| | | int jade = (int)PlayerDatas.Instance.baseData.diamond;
|
| | | string str = "是否花费" + needJade + "参与竞价?";
|
| | | ConfirmCancel.ShowPopConfirm(Language.Get("L1003"), str, (bool isOk) => {
|
| | | if (jade >= needJade)
|
| | | if (isOk)
|
| | | {
|
| | | AuctionInquiry.Instance.SendSellAuctionItem(GUIID, needJade);
|
| | | }
|
| | | else
|
| | | {
|
| | | WindowCenter.Instance.Open<RechargeTipWin>();
|
| | | }
|
| | | if (jade >= needJade)
|
| | | {
|
| | | AuctionInquiry.Instance.SendSellAuctionItem(GUIID, needJade);
|
| | | }
|
| | | else
|
| | | {
|
| | | WindowCenter.Instance.Open<RechargeTipWin>();
|
| | | }
|
| | | } |
| | | });
|
| | |
|
| | | });
|