From e925d587dbed71de9c0275cb31e15ecbc0265fdd Mon Sep 17 00:00:00 2001
From: client_Hale <339726288@qq.com>
Date: 星期二, 19 三月 2019 15:36:26 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts
---
System/Auction/AuctionInquiryModel.cs | 20 ++++++++++++++++++--
1 files changed, 18 insertions(+), 2 deletions(-)
diff --git a/System/Auction/AuctionInquiryModel.cs b/System/Auction/AuctionInquiryModel.cs
index d75e656..35b0ce5 100644
--- a/System/Auction/AuctionInquiryModel.cs
+++ b/System/Auction/AuctionInquiryModel.cs
@@ -68,7 +68,13 @@
public QueryRemainingClass QueryRemaining = new QueryRemainingClass();
private const int Redpointkey1 = 217;
- public Redpoint redPointStre1 = new Redpoint(2, Redpointkey1);//闆嗗競绾㈢偣
+ public Redpoint redPointStre1 = new Redpoint(2, Redpointkey1);//鎷嶅崠琛岀孩鐐�
+ private bool locationQuery = false;
+ public bool LocationQuery
+ {
+ get { return locationQuery; }
+ set { locationQuery = value; }
+ }
public override void Init()
{
@@ -76,6 +82,7 @@
public void OnBeforePlayerDataInitialize()
{
+ LocationQuery = false;
PlayerAuctionItemInfoDic.Clear();
FullServiceAuctionList.Clear();
FamilyAuctionItemDic.Clear();
@@ -138,7 +145,16 @@
}
else if (info.QueryDir == 3)//瀹氫綅鏌ヨ
{
- FullServiceAuctionList.InsertRange(FullServiceAuctionList.Count - 1, fullServiceAuctionList);
+ if (FullServiceAuctionList.Count == 0)
+ {
+ FullServiceAuctionList.InsertRange(0, fullServiceAuctionList);
+ }
+ else
+ {
+ FullServiceAuctionList.InsertRange(FullServiceAuctionList.Count - 1, fullServiceAuctionList);
+ }
+ LocationQuery = true;
+ WindowCenter.Instance.Open<AuctionHouseWin>(true,0);//瀹氫綅鏌ヨ
}
if (FullServiceAuctionUpdate != null)
--
Gitblit v1.8.0