Elin Decompiled Documentation
EA 23.102 Nightly
Loading...
Searching...
No Matches
SourceSpawnList.cs
Go to the documentation of this file.
1
using
System;
2
3
public
class
SourceSpawnList
:
SourceDataString
<SourceSpawnList.Row>
4
{
5
[Serializable]
6
public
class
Row
: BaseRow
7
{
8
public
string
id
;
9
10
public
string
parent
;
11
12
public
string
type
;
13
14
public
string
[]
category
;
15
16
public
string
[]
idCard
;
17
18
public
string
[]
tag
;
19
20
public
string
[]
filter
;
21
22
public
override
bool
UseAlias
=>
false
;
23
24
public
override
string
GetAlias
=>
"n"
;
25
26
public
override
string
GetEditorListName
()
27
{
28
return
this.GetField<string>(
"id"
) ??
""
;
29
}
30
}
31
32
public
override
Row
CreateRow
()
33
{
34
return
new
Row
35
{
36
id
=
SourceData
.
GetString
(0),
37
parent =
SourceData
.
GetString
(2),
38
type =
SourceData
.
GetString
(3),
39
category =
SourceData
.
GetStringArray
(4),
40
idCard =
SourceData
.
GetStringArray
(5),
41
tag =
SourceData
.
GetStringArray
(6),
42
filter =
SourceData
.
GetStringArray
(7)
43
};
44
}
45
46
public
override
void
SetRow
(
Row
r)
47
{
48
map[r.
id
] = r;
49
}
50
}
SourceDataString
Definition:
SourceDataString.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
SourceSpawnList.Row
Definition:
SourceSpawnList.cs:7
SourceSpawnList.Row.tag
string[] tag
Definition:
SourceSpawnList.cs:18
SourceSpawnList.Row.idCard
string[] idCard
Definition:
SourceSpawnList.cs:16
SourceSpawnList.Row.filter
string[] filter
Definition:
SourceSpawnList.cs:20
SourceSpawnList.Row.GetAlias
override string GetAlias
Definition:
SourceSpawnList.cs:24
SourceSpawnList.Row.id
string id
Definition:
SourceSpawnList.cs:8
SourceSpawnList.Row.category
string[] category
Definition:
SourceSpawnList.cs:14
SourceSpawnList.Row.type
string type
Definition:
SourceSpawnList.cs:12
SourceSpawnList.Row.UseAlias
override bool UseAlias
Definition:
SourceSpawnList.cs:22
SourceSpawnList.Row.parent
string parent
Definition:
SourceSpawnList.cs:10
SourceSpawnList.Row.GetEditorListName
override string GetEditorListName()
Definition:
SourceSpawnList.cs:26
SourceSpawnList
Definition:
SourceSpawnList.cs:4
SourceSpawnList.SetRow
override void SetRow(Row r)
Definition:
SourceSpawnList.cs:46
SourceSpawnList.CreateRow
override Row CreateRow()
Definition:
SourceSpawnList.cs:32
Elin
SourceSpawnList.cs
Generated by
1.9.6