少年修仙传客户端代码仓库
client_Zxw
2019-03-08 88fc5cdd3a7126b3d39a635b6643b69004850867
6251 子 【开发】【2.0】拍卖行开发单
4个文件已修改
103 ■■■■■ 已修改文件
Core/NetworkPackage/ClientPack/ClientToGameServer/CB5_Bourse/CB512_tagCGQueryAuctionRecord.cs 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Auction/FamilyAuctioncell.cs 33 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Auction/FullServiceAuctioncell.cs 34 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Auction/MyFocusCell.cs 34 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Core/NetworkPackage/ClientPack/ClientToGameServer/CB5_Bourse/CB512_tagCGQueryAuctionRecord.cs
@@ -4,6 +4,7 @@
// B5 12 拍卖行查询拍卖记录 #tagCGQueryAuctionRecord
public class CB512_tagCGQueryAuctionRecord : GameNetPackBasic {
    public byte RecordType;    //记录类型 0-我的拍品记录 1-仙盟拍品记录 2-我的竞拍记录
    public CB512_tagCGQueryAuctionRecord () {
        combineCmd = (ushort)0x1801;
@@ -11,6 +12,7 @@
    }
    public override void WriteToBytes () {
        WriteBytes (RecordType, NetDataType.BYTE);
    }
}
System/Auction/FamilyAuctioncell.cs
@@ -105,14 +105,18 @@
                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();
@@ -121,14 +125,17 @@
                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>();
                        }
                    }
                });
               
            });
System/Auction/FullServiceAuctioncell.cs
@@ -123,14 +123,19 @@
                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();
@@ -139,14 +144,17 @@
                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>();
                        }
                    }
                });
            });
        }
System/Auction/MyFocusCell.cs
@@ -114,14 +114,17 @@
                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();
@@ -130,14 +133,17 @@
                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>();
                        }
                    }
                });
            });