Elin Decompiled Documentation
EA 23.102 Nightly
Loading...
Searching...
No Matches
SourceRecipe.cs
Go to the documentation of this file.
1
using
System;
2
3
public
class
SourceRecipe
:
SourceDataInt
<SourceRecipe.Row>
4
{
5
[Serializable]
6
public
class
Row
: BaseRow
7
{
8
public
int
id
;
9
10
public
string
factory
;
11
12
public
string
type
;
13
14
public
string
thing
;
15
16
public
string
num
;
17
18
public
int
sp
;
19
20
public
int
time
;
21
22
public
string
[]
ing1
;
23
24
public
string
[]
ing2
;
25
26
public
string
[]
ing3
;
27
28
public
string
[]
tag
;
29
30
[NonSerialized]
31
public
string
name_L
;
32
33
[NonSerialized]
34
public
string
detail_L
;
35
36
public
override
bool
UseAlias
=>
false
;
37
38
public
override
string
GetAlias
=>
"n"
;
39
}
40
41
public
override
Row
CreateRow
()
42
{
43
return
new
Row
44
{
45
id
=
SourceData
.
GetInt
(0),
46
factory =
SourceData
.
GetString
(1),
47
type =
SourceData
.
GetString
(2),
48
thing =
SourceData
.
GetString
(3),
49
num =
SourceData
.
GetString
(4),
50
sp =
SourceData
.
GetInt
(5),
51
time =
SourceData
.
GetInt
(6),
52
ing1 =
SourceData
.
GetStringArray
(7),
53
ing2 =
SourceData
.
GetStringArray
(8),
54
ing3 =
SourceData
.
GetStringArray
(9),
55
tag =
SourceData
.
GetStringArray
(10)
56
};
57
}
58
59
public
override
void
SetRow
(
Row
r)
60
{
61
map[r.
id
] = r;
62
}
63
}
SourceDataInt
Definition:
SourceDataInt.cs:2
SourceData
Definition:
SourceData.cs:11
SourceData.GetStringArray
static string[] GetStringArray(int id)
Definition:
SourceData.cs:741
SourceData.GetString
static string GetString(int id)
Definition:
SourceData.cs:746
SourceData.GetInt
static int GetInt(int id)
Definition:
SourceData.cs:711
SourceRecipe.Row
Definition:
SourceRecipe.cs:7
SourceRecipe.Row.id
int id
Definition:
SourceRecipe.cs:8
SourceRecipe.Row.ing1
string[] ing1
Definition:
SourceRecipe.cs:22
SourceRecipe.Row.sp
int sp
Definition:
SourceRecipe.cs:18
SourceRecipe.Row.name_L
string name_L
Definition:
SourceRecipe.cs:31
SourceRecipe.Row.detail_L
string detail_L
Definition:
SourceRecipe.cs:34
SourceRecipe.Row.tag
string[] tag
Definition:
SourceRecipe.cs:28
SourceRecipe.Row.UseAlias
override bool UseAlias
Definition:
SourceRecipe.cs:36
SourceRecipe.Row.thing
string thing
Definition:
SourceRecipe.cs:14
SourceRecipe.Row.num
string num
Definition:
SourceRecipe.cs:16
SourceRecipe.Row.ing3
string[] ing3
Definition:
SourceRecipe.cs:26
SourceRecipe.Row.time
int time
Definition:
SourceRecipe.cs:20
SourceRecipe.Row.type
string type
Definition:
SourceRecipe.cs:12
SourceRecipe.Row.factory
string factory
Definition:
SourceRecipe.cs:10
SourceRecipe.Row.ing2
string[] ing2
Definition:
SourceRecipe.cs:24
SourceRecipe.Row.GetAlias
override string GetAlias
Definition:
SourceRecipe.cs:38
SourceRecipe
Definition:
SourceRecipe.cs:4
SourceRecipe.SetRow
override void SetRow(Row r)
Definition:
SourceRecipe.cs:59
SourceRecipe.CreateRow
override Row CreateRow()
Definition:
SourceRecipe.cs:41
Elin
SourceRecipe.cs
Generated by
1.9.6