Elin Modding Docs Doc
Loading...
Searching...
No Matches
HomeResourceNature.cs
1using System;
2
3// Token: 0x02000082 RID: 130
5{
6 // Token: 0x060003A8 RID: 936 RVA: 0x0001A1D0 File Offset: 0x000183D0
7 public override int GetDestValue()
8 {
9 int p = 0;
10 EClass._map.bounds.ForeachCell(delegate(Cell c)
11 {
12 if (c.sourceFloor.value == 0)
13 {
14 p++;
15 }
16 if (c.sourceBlock.value == 0)
17 {
18 p += 2;
19 }
20 if (c.sourceBridge.value == 0)
21 {
22 p++;
23 }
24 });
25 return p / 10;
26 }
27}
Definition Cell.cs:10