Client LuaCsForBarotrauma
HashlessFile.cs
1 namespace Barotrauma
2 {
3  [NotSyncedInMultiplayer]
4  public abstract class HashlessFile : ContentFile
5  {
6  public HashlessFile(ContentPackage contentPackage, ContentPath path) : base(contentPackage, path) { }
7 
8  public sealed override Md5Hash CalculateHash() => Md5Hash.Blank;
9  }
10 }
Base class for content file types, which are loaded from filelist.xml via reflection....
Definition: ContentFile.cs:23
sealed override Md5Hash CalculateHash()
HashlessFile(ContentPackage contentPackage, ContentPath path)
Definition: HashlessFile.cs:6
static readonly Md5Hash Blank
Definition: Md5Hash.cs:14