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); }
public PillageRecordItemData(PillageRecord data) { this.RecordData = data; }