Example #1
0
 public void SetUI(RewardStageData stageData)
 {
     this.StageData = stageData;
     if (Value != null)
     {
         LTUIUtil.SetText(Value, stageData.Stage.ToString());
     }
     UpdateReceiveState(stageData.ReceiveState);
 }
Example #2
0
        public void SetUI(RewardStageData sd, LTWelfareSevenDayAwardItem.ItemType Type)
        {
            m_Type        = Type;
            this.StageDta = sd;

            Item.LTItemData = sd.Awards[0];
            DayLabel.text   = string.Format(EB.Localizer.GetString("ID_DAY"), sd.Stage);
            UpdateReceiveState(sd.ReceiveState);
            mDMono.gameObject.CustomSetActive(true);
        }
Example #3
0
 private void SendReceiveRewardReq(RewardStageData stageData)
 {
     m_ReceiveChestRequest.parameters[0].parameter = stageData.Id.ToString();
     m_ReceiveChestRequest.SendRequest();
     LoadingSpinner.Show();
 }
Example #4
0
 private void SendReceiveRewardReq(RewardStageData stageData)
 {
     LTLegionWarManager.Instance.ReceiveBox(stageData.Id.ToString(), OnReceiveChestResponse);
 }