Client LuaCsForBarotrauma
RegularPackage.cs
1
using
System.Xml.Linq;
2
3
namespace
Barotrauma
4
{
5
public
class
RegularPackage
:
ContentPackage
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
}
Barotrauma.ContentPackage
Definition:
ContentPackage.cs:18
Barotrauma.ContentPackage.AssertCondition
void AssertCondition(bool condition, string errorMsg)
Definition:
ContentPackage.cs:227
Barotrauma.RegularPackage
Definition:
RegularPackage.cs:6
Barotrauma.RegularPackage.RegularPackage
RegularPackage(XDocument doc, string path)
Definition:
RegularPackage.cs:7
Barotrauma
Definition:
AchievementManager.cs:12
Barotrauma
BarotraumaShared
SharedSource
ContentManagement
ContentPackage
RegularPackage.cs
Generated by
1.9.1