Elin Modding Docs Doc
Loading...
Searching...
No Matches
CharaList.cs
1using System;
2using System.Collections.Generic;
3using Newtonsoft.Json;
4
5// Token: 0x02000299 RID: 665
6public class CharaList : EClass
7{
8 // Token: 0x060013FD RID: 5117 RVA: 0x0008364E File Offset: 0x0008184E
9 public void Add(Chara c)
10 {
11 if (!this.list.Contains(c.uid))
12 {
13 this.list.Add(c.uid);
14 }
15 }
16
17 // Token: 0x060013FE RID: 5118 RVA: 0x00083674 File Offset: 0x00081874
18 public void Remove(Chara c)
19 {
20 this.list.Remove(c.uid);
21 }
22
23 // Token: 0x060013FF RID: 5119 RVA: 0x00083688 File Offset: 0x00081888
24 public List<Chara> Get()
25 {
26 List<Chara> list = new List<Chara>();
27 foreach (int uid in this.list)
28 {
29 Chara chara = RefChara.Get(uid);
30 if (chara == null)
31 {
32 chara = EClass._map.FindChara(uid);
33 }
34 if (chara != null)
35 {
36 list.Add(chara);
37 }
38 }
39 return list;
40 }
41
42 // Token: 0x04000FB5 RID: 4021
43 [JsonProperty]
44 public List<int> list = new List<int>();
45}
Definition Chara.cs:12