Elin Decompiled Documentation
EA 23.344.1 Nightly
Loading...
Searching...
No Matches
CustomBlockContent.cs
Go to the documentation of this file.
1
public
class
CustomBlockContent
:
CustomSourceContent
2
{
3
public
override
string
SourceType
=>
"SourceBlock"
;
4
5
public
static
CustomBlockContent
CreateFromRow
(
SourceBlock
.
Row
r,
ModPackage
owner =
null
)
6
{
7
if
(owner ==
null
)
8
{
9
owner = ModUtil.FindSourceRowPackage(r);
10
}
11
return
new
CustomBlockContent
12
{
13
ContentId
=
"Block/"
+ r.alias,
14
SourceId
= r.alias,
15
Owner
= owner
16
};
17
}
18
}
CustomBlockContent
Definition:
CustomBlockContent.cs:2
CustomBlockContent.SourceType
override string SourceType
Definition:
CustomBlockContent.cs:3
CustomBlockContent.CreateFromRow
static CustomBlockContent CreateFromRow(SourceBlock.Row r, ModPackage owner=null)
Definition:
CustomBlockContent.cs:5
CustomContent.Owner
EMod Owner
Definition:
CustomContent.cs:9
CustomContent.ContentId
string ContentId
Definition:
CustomContent.cs:6
CustomSourceContent
Definition:
CustomSourceContent.cs:5
CustomSourceContent.SourceId
string SourceId
Definition:
CustomSourceContent.cs:10
ModPackage
Definition:
ModPackage.cs:11
SourceBlock.Row
Definition:
SourceBlock.cs:9
SourceBlock
Definition:
SourceBlock.cs:6
Elin
CustomBlockContent.cs
Generated by
1.9.6