Client LuaCsForBarotrauma
DecalsFile.cs
1 namespace Barotrauma
2 {
3  public sealed class DecalsFile : ContentFile
4  {
5  public DecalsFile(ContentPackage contentPackage, ContentPath path) : base(contentPackage, path) { }
6 
7  public override void LoadFile()
8  {
9  DecalManager.LoadFromFile(this);
10  }
11 
12  public override void UnloadFile()
13  {
14  DecalManager.RemoveByFile(this);
15  }
16 
17  public override void Sort()
18  {
19  DecalManager.SortAll();
20  }
21  }
22 }
Base class for content file types, which are loaded from filelist.xml via reflection....
Definition: ContentFile.cs:23
override void Sort()
Definition: DecalsFile.cs:17
override void LoadFile()
Definition: DecalsFile.cs:7
DecalsFile(ContentPackage contentPackage, ContentPath path)
Definition: DecalsFile.cs:5
override void UnloadFile()
Definition: DecalsFile.cs:12