Elin Modding Docs Doc
Loading...
Searching...
No Matches
TraitCauldron.cs
1
using
System;
2
3
// Token: 0x020003CA RID: 970
4
public
class
TraitCauldron
:
TraitCookingPot
5
{
6
// Token: 0x06001C69 RID: 7273 RVA: 0x000A9B8F File Offset: 0x000A7D8F
7
public
override
string
IDReqEle(
RecipeSource
r)
8
{
9
CardRow
cardRow = r.row as
CardRow
;
10
string
result;
11
if
(!(((cardRow !=
null
) ? cardRow._origin :
null
) ==
"dish"
))
12
{
13
if
((result = base.GetParam(1,
null
)) ==
null
)
14
{
15
return
"handicraft"
;
16
}
17
}
18
else
19
{
20
result =
"cooking"
;
21
}
22
return
result;
23
}
24
25
// Token: 0x06001C6A RID: 7274 RVA: 0x000A9BCB File Offset: 0x000A7DCB
26
public
override
bool
Contains(
RecipeSource
r)
27
{
28
return
r.idFactory ==
"cauldron"
|| r.idFactory ==
"camppot"
;
29
}
30
}
CardRow
Definition
CardRow.cs:7
RecipeSource
Definition
RecipeSource.cs:6
TraitCauldron
Definition
TraitCauldron.cs:5
TraitCookingPot
Definition
TraitCookingPot.cs:5
Elin
TraitCauldron.cs
Generated by
1.12.0