Elin Modding Docs Doc
Loading...
Searching...
No Matches
ItemStatistics.cs
1using System;
2using System.Runtime.CompilerServices;
3
4// Token: 0x02000555 RID: 1365
5public class ItemStatistics : EMono
6{
7 // Token: 0x06002508 RID: 9480 RVA: 0x000D1D24 File Offset: 0x000CFF24
8 public void Refresh(FactionBranch.Statistics stat)
9 {
10 FactionBranch.Statistics lastStatistics = EMono.Branch.lastStatistics;
11 this.textVisitor.text = stat.visitor.ToString() + " (" + lastStatistics.visitor.ToString() + ")";
12 this.textInn.text = ItemStatistics.<Refresh>g__F|6_0(stat.inn, lastStatistics.inn);
13 this.textTourism.text = ItemStatistics.<Refresh>g__F|6_0(stat.tourism, lastStatistics.tourism);
14 this.textShip.text = ItemStatistics.<Refresh>g__F|6_0(stat.ship, lastStatistics.ship);
15 this.textShop.text = ItemStatistics.<Refresh>g__F|6_0(stat.shop, lastStatistics.shop);
16 this.textTax.text = ItemStatistics.<Refresh>g__F|6_0(stat.tax, lastStatistics.tax);
17 }
18
19 // Token: 0x0600250A RID: 9482 RVA: 0x000D1E00 File Offset: 0x000D0000
20 [CompilerGenerated]
21 internal static string <Refresh>g__F|6_0(int a, int b)
22 {
23 return a.ToFormat() + " (" + b.ToFormat() + ")";
24 }
25
26 // Token: 0x04001496 RID: 5270
27 public UIText textVisitor;
28
29 // Token: 0x04001497 RID: 5271
30 public UIText textInn;
31
32 // Token: 0x04001498 RID: 5272
33 public UIText textTourism;
34
35 // Token: 0x04001499 RID: 5273
36 public UIText textShip;
37
38 // Token: 0x0400149A RID: 5274
39 public UIText textShop;
40
41 // Token: 0x0400149B RID: 5275
42 public UIText textTax;
43}
Definition EMono.cs:6