Elin Modding Docs Doc
Loading...
Searching...
No Matches
NotificationStats.cs
1using System;
2using UnityEngine;
3
4// Token: 0x0200063D RID: 1597
6{
7 // Token: 0x17000CB6 RID: 3254
8 // (get) Token: 0x06002CDC RID: 11484 RVA: 0x000FB4BB File Offset: 0x000F96BB
9 public override bool Visible
10 {
11 get
12 {
13 return !this.text.IsEmpty();
14 }
15 }
16
17 // Token: 0x17000CB7 RID: 3255
18 // (get) Token: 0x06002CDD RID: 11485 RVA: 0x000FB4CB File Offset: 0x000F96CB
19 public override bool Interactable
20 {
21 get
22 {
23 return !this.stats().source.GetDetail().IsEmpty();
24 }
25 }
26
27 // Token: 0x17000CB8 RID: 3256
28 // (get) Token: 0x06002CDE RID: 11486 RVA: 0x000FB4EA File Offset: 0x000F96EA
29 public override Action<UITooltip> onShowTooltip
30 {
31 get
32 {
33 return delegate(UITooltip t)
34 {
35 this.stats().WriteNote(t.note, null);
36 };
37 }
38 }
39
40 // Token: 0x06002CDF RID: 11487 RVA: 0x000FB4F8 File Offset: 0x000F96F8
41 public override void OnClick()
42 {
43 EClass.ui.AddLayer<LayerChara>().SetChara(EClass.pc);
44 }
45
46 // Token: 0x17000CB9 RID: 3257
47 // (get) Token: 0x06002CE0 RID: 11488 RVA: 0x000FB50F File Offset: 0x000F970F
48 public override Sprite Sprite
49 {
50 get
51 {
52 return this.stats().GetSprite();
53 }
54 }
55
56 // Token: 0x06002CE1 RID: 11489 RVA: 0x000FB524 File Offset: 0x000F9724
57 public override void OnRefresh()
58 {
59 BaseStats baseStats = this.stats();
60 this.text = baseStats.GetText();
61 this.item.button.mainText.color = baseStats.GetColor(this.item.button.skinRoot.GetButton().colorProf);
62 }
63
64 // Token: 0x0400191C RID: 6428
65 public Func<BaseStats> stats;
66}