Elin Decompiled Documentation
EA 23.102 Nightly
Loading...
Searching...
No Matches
NotificationExceedParty.cs
Go to the documentation of this file.
1
using
System;
2
3
public
class
NotificationExceedParty
:
BaseNotification
4
{
5
public
override
bool
Visible
=> EClass.pc.party.members.Count - 1 >
EClass
.
player
.
MaxAlly
;
6
7
public
override
Action<UITooltip>
onShowTooltip
=> delegate(
UITooltip
a)
8
{
9
a.
note
.
Clear
();
10
a.
note
.
AddHeader
(
"exceedParty"
);
11
a.
note
.
AddText
(
"exceedParty_tip"
.lang((
EClass
.
pc
.
party
.
members
.Count - 1).ToString() ??
""
,
EClass
.
player
.
MaxAlly
.ToString() ??
""
));
12
a.
note
.
Build
();
13
};
14
15
public
override
void
OnRefresh
()
16
{
17
text
=
"exceedParty"
.lang();
18
}
19
}
BaseNotification
Definition:
BaseNotification.cs:6
BaseNotification.text
string text
Definition:
BaseNotification.cs:9
Chara.party
Party party
Definition:
Chara.cs:43
EClass
Definition:
EClass.cs:5
EClass.player
static Player player
Definition:
EClass.cs:12
EClass.pc
static Chara pc
Definition:
EClass.cs:14
NotificationExceedParty
Definition:
NotificationExceedParty.cs:4
NotificationExceedParty.Visible
override bool Visible
Definition:
NotificationExceedParty.cs:5
NotificationExceedParty.onShowTooltip
override Action< UITooltip > onShowTooltip
Definition:
NotificationExceedParty.cs:7
NotificationExceedParty.OnRefresh
override void OnRefresh()
Definition:
NotificationExceedParty.cs:15
Party.members
List< Chara > members
Definition:
Party.cs:18
Player.MaxAlly
int MaxAlly
Definition:
Player.cs:1079
UINote.Clear
void Clear()
Definition:
UINote.cs:35
UINote.AddHeader
UIItem AddHeader(string text, Sprite sprite=null)
Definition:
UINote.cs:79
UINote.AddText
UIItem AddText(string text, FontColor color=FontColor.DontChange)
Definition:
UINote.cs:113
UINote.Build
void Build()
Definition:
UINote.cs:49
UITooltip
Definition:
UITooltip.cs:6
UITooltip.note
UINote note
Definition:
UITooltip.cs:21
Elin
NotificationExceedParty.cs
Generated by
1.9.6