| | |
| | |
|
| | | private const int Redpointkey1 = 217;
|
| | | public Redpoint redPointStre1 = new Redpoint(2, Redpointkey1);//拍卖行红点
|
| | | private bool locationQuery = false;//是否定位查询
|
| | |
|
| | | bool locationQuery = false;//是否定位查询
|
| | | public bool LocationQuery
|
| | | {
|
| | | get { return locationQuery; }
|
| | | set { locationQuery = value; }
|
| | | }
|
| | |
|
| | | public override void Init()
|
| | | {
|
| | |
|
| | | StageLoad.Instance.onStageLoadFinish += OnStageLoadFinish;
|
| | | }
|
| | |
|
| | | public void OnBeforePlayerDataInitialize()
|
| | | {
|
| | | LocationQuery = false;
|
| | | PlayerAuctionItemInfoDic.Clear();
|
| | | FullServiceAuctionList.Clear();
|
| | | FamilyAuctionItemDic.Clear();
|
| | | PlayerAuctionRecordDic.Clear();
|
| | | AddAuctionItemInfoDic.Clear();
|
| | |
| | |
|
| | | public override void UnInit()
|
| | | {
|
| | | StageLoad.Instance.onStageLoadFinish -= OnStageLoadFinish;
|
| | | }
|
| | |
|
| | | private void OnStageLoadFinish()
|
| | | {
|
| | | if (!(StageLoad.Instance.currentStage is DungeonStage))
|
| | | {
|
| | | FullServiceAuctionList.Clear();
|
| | | }
|
| | | }
|
| | |
|
| | | private void OnRefreshFairyMine()//用于被提出仙盟清除仙盟拍品
|
| | |
| | |
|
| | | public void ResetServerAuctionInquiry()
|
| | | {
|
| | | FullServiceAuctionList.Clear();
|
| | | QueryRemaining.UpBool = true;
|
| | | if (!LocationQuery)
|
| | | {
|
| | | FullServiceAuctionList.Clear();
|
| | | }
|
| | | QueryRemaining.UpBool = LocationQuery;
|
| | | QueryRemaining.DownBool = true;
|
| | | }
|
| | |
|
| | |
| | | else if (info.QueryDir == 3)//定位查询
|
| | | {
|
| | | FullServiceAuctionList.AddRange(fullServiceAuctionList);
|
| | | auctionHelpModel.SelectedGenreNow = 0;
|
| | | LocationQuery = true;
|
| | | WindowCenter.Instance.Open<AuctionHouseWin>(true, 0);//定位查询
|
| | | }
|