Elin Modding Docs Doc
Loading...
Searching...
No Matches
NotificationExceedParty.cs
1using System;
2
3// Token: 0x0200063C RID: 1596
5{
6 // Token: 0x17000CB4 RID: 3252
7 // (get) Token: 0x06002CD8 RID: 11480 RVA: 0x000FB45C File Offset: 0x000F965C
8 public override bool Visible
9 {
10 get
11 {
12 return EClass.pc.party.members.Count - 1 > EClass.player.MaxAlly;
13 }
14 }
15
16 // Token: 0x17000CB5 RID: 3253
17 // (get) Token: 0x06002CD9 RID: 11481 RVA: 0x000FB480 File Offset: 0x000F9680
18 public override Action<UITooltip> onShowTooltip
19 {
20 get
21 {
22 return delegate(UITooltip a)
23 {
24 a.note.Clear();
25 a.note.AddHeader("exceedParty", null);
26 a.note.AddText("exceedParty_tip".lang((EClass.pc.party.members.Count - 1).ToString() ?? "", EClass.player.MaxAlly.ToString() ?? "", null, null, null), FontColor.DontChange);
27 a.note.Build();
28 };
29 }
30 }
31
32 // Token: 0x06002CDA RID: 11482 RVA: 0x000FB4A1 File Offset: 0x000F96A1
33 public override void OnRefresh()
34 {
35 this.text = "exceedParty".lang();
36 }
37}