Elin Modding Docs Doc
Toggle main menu visibility
Main Page
Packages
Package List
Classes
Class List
Class Index
Class Hierarchy
Files
File List
•
All
Classes
Namespaces
Loading...
Searching...
No Matches
ButtonGeneral.cs
1
using
System;
2
using
UnityEngine.UI;
3
4
// Token: 0x02000500 RID: 1280
5
public
class
ButtonGeneral
: UIButton
6
{
7
// Token: 0x06002245 RID: 8773 RVA: 0x000BEA30 File Offset: 0x000BCC30
8
public
void
SetCard(
Card
c, FontColor color = FontColor.Ignore)
9
{
10
if
(this.portrait)
11
{
12
this.portrait.SetChara(c.Chara,
null
);
13
}
14
else
15
{
16
c.SetImage(this.icon);
17
}
18
this.mainText.SetText(c.Name, color);
19
}
20
21
// Token: 0x040011CA RID: 4554
22
public
Image imageFrame;
23
24
// Token: 0x040011CB RID: 4555
25
public
Portrait
portrait;
26
}
5
public
class
ButtonGeneral
: UIButton {
…
};
ButtonGeneral
Definition
ButtonGeneral.cs:6
Card
Definition
Card.cs:13
Portrait
Definition
Portrait.cs:10
Elin
ButtonGeneral.cs
Generated by
1.12.0