Elin Modding Docs Doc
Loading...
Searching...
No Matches
ListPeopleEmbark.cs
1
using
System;
2
using
System.Collections.Generic;
3
using
UnityEngine;
4
5
// Token: 0x020005B1 RID: 1457
6
public
class
ListPeopleEmbark
:
ListPeople
7
{
8
// Token: 0x060027FA RID: 10234 RVA: 0x000E1DC5 File Offset: 0x000DFFC5
9
public
override
void
OnInstantiate(
Chara
c,
ItemGeneral
i)
10
{
11
i.SetSubText(c.GetActionText(), 240, FontColor.Default, TextAnchor.MiddleLeft);
12
}
13
14
// Token: 0x060027FB RID: 10235 RVA: 0x000E1DDB File Offset: 0x000DFFDB
15
public
override
void
OnClick(
Chara
c,
ItemGeneral
i)
16
{
17
this.charas.Remove(c);
18
(this.other as
ListPeopleEmbark
).charas.Add(c);
19
base.MoveToOther(c);
20
base.Main.OnRefreshMenu();
21
}
22
23
// Token: 0x060027FC RID: 10236 RVA: 0x000E1E14 File Offset: 0x000E0014
24
public
override
void
OnList()
25
{
26
foreach
(
Chara
o
in
this.charas)
27
{
28
this.list.Add(o);
29
}
30
}
31
32
// Token: 0x060027FD RID: 10237 RVA: 0x000E1E6C File Offset: 0x000E006C
33
public
override
void
OnRefreshMenu()
34
{
35
if
(!this.main)
36
{
37
return
;
38
}
39
this.button.interactable = (this.charas.Count > 0 && (this.other as
ListPeopleEmbark
).charas.Count > 0);
40
}
41
42
// Token: 0x04001625 RID: 5669
43
public
List<Chara> charas;
44
45
// Token: 0x04001626 RID: 5670
46
public
UIButton button;
47
}
Chara
Definition
Chara.cs:12
ItemGeneral
Definition
ItemGeneral.cs:7
ListPeopleEmbark
Definition
ListPeopleEmbark.cs:7
ListPeople
Definition
ListPeople.cs:5
Elin
ListPeopleEmbark.cs
Generated by
1.12.0