Client LuaCsForBarotrauma
RegularPackage.cs
1 using System.Xml.Linq;
2 
3 namespace Barotrauma
4 {
6  {
7  public RegularPackage(XDocument doc, string path) : base(doc, path)
8  {
9  AssertCondition(!doc.Root.GetAttributeBool("corepackage", false), "Expected a regular package, got a core package");
10  }
11  }
12 }
void AssertCondition(bool condition, string errorMsg)
RegularPackage(XDocument doc, string path)