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