Client LuaCsForBarotrauma
SlideshowsFile.cs
1 namespace Barotrauma
2 {
3  sealed class SlideshowsFile : GenericPrefabFile<SlideshowPrefab>
4  {
6 
7  public SlideshowsFile(ContentPackage contentPackage, ContentPath path) : base(contentPackage, path) { }
8 
9  protected override bool MatchesSingular(Identifier identifier) => identifier == "Slideshow";
10 
11  protected override bool MatchesPlural(Identifier identifier) => identifier == "Slideshows";
12 
13  protected override SlideshowPrefab CreatePrefab(ContentXElement element) => new SlideshowPrefab(this, element);
14  }
15 }
static readonly PrefabCollection< SlideshowPrefab > Prefabs
override SlideshowPrefab CreatePrefab(ContentXElement element)
override bool MatchesSingular(Identifier identifier)
override bool MatchesPlural(Identifier identifier)
override PrefabCollection< SlideshowPrefab > Prefabs
SlideshowsFile(ContentPackage contentPackage, ContentPath path)