Elin Modding Docs Doc
Loading...
Searching...
No Matches
ContentStatistics.cs
1using System;
2
3// Token: 0x0200058B RID: 1419
5{
6 // Token: 0x06002719 RID: 10009 RVA: 0x000DDF9C File Offset: 0x000DC19C
7 public override void OnSwitchContent(int idTab)
8 {
9 NumLogManager nums = EClass.player.nums;
10 BaseList baseList = this.list1;
11 UIList.Callback<NumLog, ItemNumLog> callback = new UIList.Callback<NumLog, ItemNumLog>();
12 callback.onInstantiate = delegate(NumLog a, ItemNumLog b)
13 {
14 b.SetLog(a);
15 };
16 baseList.callbacks = callback;
17 BaseList baseList2 = this.list2;
18 UIList.Callback<NumLog, ItemNumLog> callback2 = new UIList.Callback<NumLog, ItemNumLog>();
19 callback2.onInstantiate = delegate(NumLog a, ItemNumLog b)
20 {
21 b.SetLog(a);
22 };
23 baseList2.callbacks = callback2;
24 foreach (NumLog o in nums.listCategory)
25 {
26 this.list1.Add(o);
27 }
28 foreach (NumLog o2 in nums.listImportant)
29 {
30 this.list2.Add(o2);
31 }
32 this.list1.Refresh(false);
33 this.list2.Refresh(false);
34 this.RebuildLayout(true);
35 }
36
37 // Token: 0x040015A8 RID: 5544
38 public UIList list1;
39
40 // Token: 0x040015A9 RID: 5545
41 public UIList list2;
42}