| | |
| | |
|
| | | public Dictionary<string, AuctionItemClass> FamilyAuctionItemDic = new Dictionary<string, AuctionItemClass>();// 拍卖行仙盟拍卖中的物品信息
|
| | |
|
| | |
|
| | | public Dictionary<string, AuctionItemClass> PlayerAuctionRecordDic = new Dictionary<string, AuctionItemClass>();//拍卖行玩家拍卖记录
|
| | |
|
| | |
|
| | | public Dictionary<int, AddAuctionItemInfoClass> AddAuctionItemInfoDic = new Dictionary<int, AddAuctionItemInfoClass>();//关注的拍品的上架提醒(弹框显示)
|
| | | public event Action AddAuctionItemInfoUpdate;
|
| | |
| | |
|
| | | AuctionHelpModel auctionHelpModel { get { return ModelCenter.Instance.GetModel<AuctionHelpModel>(); } }
|
| | | public QueryRemainingClass QueryRemaining = new QueryRemainingClass();
|
| | |
|
| | | private const int Redpointkey1 = 217;
|
| | | public Redpoint redPointStre1 = new Redpoint(2, Redpointkey1);//集市红点
|
| | | public override void Init()
|
| | | {
|
| | |
|
| | |
| | |
|
| | | public void OnBeforePlayerDataInitialize()
|
| | | {
|
| | |
|
| | | PlayerAuctionItemInfoDic.Clear();
|
| | | FullServiceAuctionList.Clear();
|
| | | FamilyAuctionItemDic.Clear();
|
| | | PlayerAuctionRecordDic.Clear();
|
| | | AddAuctionItemInfoDic.Clear();
|
| | | BiddingItemInfoDic.Clear();
|
| | | AttentionAuctionItemDic.Clear();
|
| | | AttentionAuctionItemIDdic.Clear();
|
| | | }
|
| | |
|
| | | public void OnPlayerLoginOk()
|
| | | {
|
| | |
|
| | | SetRedPoint();
|
| | | }
|
| | |
|
| | | public override void UnInit()
|
| | |
| | | BiddingItemInfoUpdate();
|
| | | }
|
| | | }
|
| | |
|
| | | private void SetRedPoint()
|
| | | {
|
| | | int GetDayOfYear = DateTime.Now.DayOfYear;
|
| | | string strKey = "AuctionRedPoint" + PlayerDatas.Instance.baseData.PlayerID;
|
| | | int day = LocalSave.GetInt(strKey);
|
| | | if (day != GetDayOfYear)
|
| | | {
|
| | | redPointStre1.state = RedPointState.Simple;
|
| | | }
|
| | | else
|
| | | {
|
| | | redPointStre1.state = RedPointState.None;
|
| | | }
|
| | | }
|
| | | } |
| | | |
| | | } |