Elin Decompiled Documentation EA 23.312 Nightly Patch 4
Loading...
Searching...
No Matches
CustomMaterialContent.cs
Go to the documentation of this file.
2{
3 public override string SourceType => "SourceMaterial";
4
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}
string ContentId
Definition: CustomContent.cs:6
static CustomMaterialContent CreateFromRow(SourceMaterial.Row r, ModPackage owner=null)