8    public override void OnActivate()
 
   10        WidgetStockTracker.Instance = 
this;
 
   15    public static void Refresh()
 
   24    public void _Refresh()
 
   28        HashSet<string> trackedCards = 
EMono.player.trackedCards;
 
   29        HashSet<string> trackedCategories = 
EMono.player.trackedCategories;
 
   30        if (trackedCards.Count == 0 && trackedCategories.Count == 0)
 
   32            this.sb.Append(
"何もトラックしてない\n");
 
   36            foreach (
string key 
in trackedCards)
 
   38                PropSet propSet = 
EMono._map.Stocked.cardMap.TryGetValue(key, 
null);
 
   39                int num = (propSet != 
null) ? propSet.num : 0;
 
   40                this.sb.Append(
EMono.sources.cards.map[key].GetName() + 
"\n");
 
   41                this.sbNum.Append(num.ToString() + 
"\n");
 
   43            foreach (
string key2 
in trackedCategories)
 
   46                this.sb.Append(propSetCategory.source.GetText(
"name", 
false) + 
"\n");
 
   47                this.sbNum.Append(propSetCategory.sum.ToString() + 
"\n");
 
   50        if (this.sb.Equals(
this.lastSb) && 
this.sbNum.Equals(
this.lastSbNum))
 
   54        this.text.text = this.sb.ToString();
 
   55        this.textNum.text = this.sbNum.ToString();
 
   56        this.lastSb.Set(this.sb);
 
   57        this.lastSbNum.Set(this.sbNum);
 
   58        this.RebuildLayout(
false);
 
   68    public UIText textNum;
 
   71    private FastString sb = 
new FastString(32);
 
   74    private FastString lastSb = 
new FastString(32);
 
   77    private FastString sbNum = 
new FastString(32);
 
   80    private FastString lastSbNum = 
new FastString(32);