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