public void Init(List <SRSTaiXiuEventTopItem> ranks, SRSTaiXiu taixiu, Action <TaiXiuEventType, string> callback) { this.ranks = ranks; this._taixiu = taixiu; this.callback = callback; string td = taixiu.GetEventToDay(); currentDayIndex = taixiu.eventTimeRequests.IndexOf(td); LoadTab(TaiXiuEventType.Win); LoadData(ranks); VKCommon.LoadDropDownMenu(taixiu.eventTimeShows, dropDay, currentDayIndex); }
public void ButtonTopEventClickListener() { SendGetEventTop(TaiXiuEventType.Win, _taixiu.GetEventToDay()); }