Elin Modding Docs Doc
Loading...
Searching...
No Matches
RefArea.cs
1using System;
2
3// Token: 0x020006A7 RID: 1703
4public class RefArea : EClass
5{
6 // Token: 0x06003177 RID: 12663 RVA: 0x00114EE9 File Offset: 0x001130E9
7 public static BaseArea Get(int uid)
8 {
9 if (uid != 0)
10 {
11 return EClass._map.rooms.mapIDs.TryGetValue(uid, null);
12 }
13 return null;
14 }
15
16 // Token: 0x06003178 RID: 12664 RVA: 0x00114F06 File Offset: 0x00113106
17 public static int Set(BaseArea a)
18 {
19 if (a == null)
20 {
21 return 0;
22 }
23 return a.uid;
24 }
25}