using System.Xml.Linq; namespace Barotrauma { [NotSyncedInMultiplayer] sealed class ItemAssemblyFile : GenericPrefabFile { public ItemAssemblyFile(ContentPackage contentPackage, ContentPath path) : base(contentPackage, path) { } protected override bool MatchesSingular(Identifier identifier) => identifier == "itemassembly"; protected override bool MatchesPlural(Identifier identifier) => identifier == "itemassemblies"; protected override PrefabCollection Prefabs => ItemAssemblyPrefab.Prefabs; protected override ItemAssemblyPrefab CreatePrefab(ContentXElement element) { return new ItemAssemblyPrefab(element, this); } } }