예제 #1
0
 private void ShowRecordData(PillageRecord _data)
 {
     ItemInfo info = Globals.Instance.AttDB.ItemDict.GetInfo(_data.ItemID);
     if (info == null)
     {
         base.gameObject.SetActive(false);
         return;
     }
     this.TimeTip.text = PillageRecordItem.FormatTimeStr(Globals.Instance.Player.GetTimeStamp() - _data.TimeStamp);
     string @string = Singleton<StringManager>.Instance.GetString("Pillage2");
     if (!string.IsNullOrEmpty(@string))
     {
         this.Desc.text = string.Format(@string, Tools.GetItemQualityColorHex(info.Quality), info.Name, _data.Name);
     }
     base.gameObject.SetActive(true);
 }
예제 #2
0
 public PillageRecordItemData(PillageRecord data)
 {
     this.RecordData = data;
 }