18 public void SetProp(
string id)
21 this.prop =
EClass._map.Stocked.cardMap.GetOrCreate(
id,
null);
23 this.tooltip.text = cardRow.GetName();
24 this.tooltip.enable =
true;
25 cardRow.SetImage(this.icon,
null, 0,
true, 0, 0);
26 this.onRightClick = delegate()
28 EClass.player.trackedCards.Remove(
id);
29 this.track._Refresh();
36 public void SetCat(
string id)
38 this.cat =
EClass._map.Stocked.categoryMap[id];
39 this.tooltip.text = this.cat.source.GetName();
40 this.tooltip.enable =
true;
41 this.onRightClick = delegate()
43 EClass.player.trackedCategories.Remove(
id);
44 this.track._Refresh();
55 this.subText.SetText(this.cat.sum.ToString() ??
"");
58 int num = (this.prop !=
null) ? this.prop.num : 0;
59 this.subText.SetText(num.ToString() ??
"");