Elin Modding Docs Doc
Loading...
Searching...
No Matches
HomeResourceNature.cs
1
using
System;
2
3
// Token: 0x02000082 RID: 130
4
public
class
HomeResourceNature
:
HomeResourceRate
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
}
Cell
Definition
Cell.cs:10
EClass
Definition
EClass.cs:7
HomeResourceNature
Definition
HomeResourceNature.cs:5
HomeResourceRate
Definition
HomeResourceRate.cs:5
Elin
HomeResourceNature.cs
Generated by
1.12.0