Unstable 0.17.0.0

This commit is contained in:
Markus Isberg
2022-02-26 02:43:01 +09:00
parent a83f375681
commit 3974067915
913 changed files with 32472 additions and 32364 deletions
@@ -0,0 +1,18 @@
using System.Xml.Linq;
namespace Barotrauma
{
[RequiredByCorePackage(alternativeTypes: typeof(OutpostFile))]
sealed class OutpostConfigFile : GenericPrefabFile<OutpostGenerationParams>
{
public OutpostConfigFile(ContentPackage contentPackage, ContentPath path) : base(contentPackage, path) { }
protected override bool MatchesSingular(Identifier identifier) => identifier == "OutpostConfig";
protected override bool MatchesPlural(Identifier identifier) => identifier == "OutpostGenerationParameters";
protected override PrefabCollection<OutpostGenerationParams> prefabs => OutpostGenerationParams.OutpostParams;
protected override OutpostGenerationParams CreatePrefab(ContentXElement element)
{
return new OutpostGenerationParams(element, this);
}
}
}