Elin Modding Docs Doc
Loading...
Searching...
No Matches
ZoneUtil.cs
1using System;
2
3// Token: 0x02000754 RID: 1876
4public class ZoneUtil
5{
6 // Token: 0x170010B0 RID: 4272
7 // (get) Token: 0x06003655 RID: 13909 RVA: 0x00127331 File Offset: 0x00125531
8 public Map map
9 {
10 get
11 {
12 return this.zone.map;
13 }
14 }
15
16 // Token: 0x06003656 RID: 13910 RVA: 0x00127340 File Offset: 0x00125540
17 public bool AddBandits()
18 {
19 Point centerPos = this.map.bounds.GetCenterPos();
20 for (int i = 0; i < 5; i++)
21 {
22 Chara t = CharaGen.CreateFromFilter("c_wilds", -1, -1);
23 this.zone.AddCardSplinkle(t, centerPos, 5);
24 }
25 return true;
26 }
27
28 // Token: 0x06003657 RID: 13911 RVA: 0x00127388 File Offset: 0x00125588
29 public bool AddMerchant(string id)
30 {
31 Point centerPos = this.map.bounds.GetCenterPos();
32 Chara t = CharaGen.Create(id, -1);
33 this.zone.AddCard(t, centerPos);
34 return true;
35 }
36
37 // Token: 0x04001CB2 RID: 7346
38 public Zone zone;
39}
Definition Chara.cs:12
Definition Map.cs:15
Definition Point.cs:11
Definition Zone.cs:14