register PropertyConditional and Xml classes, and create global references for them
This commit is contained in:
@@ -99,6 +99,17 @@ defaultLib["TempClient"] = CreateStatic("Barotrauma.Networking.TempClient", true
|
|||||||
defaultLib["TraitorMissionResult"] = CreateStatic("Barotrauma.TraitorMissionResult", true)
|
defaultLib["TraitorMissionResult"] = CreateStatic("Barotrauma.TraitorMissionResult", true)
|
||||||
defaultLib["DecalManager"] = CreateStatic("Barotrauma.DecalManager", true)
|
defaultLib["DecalManager"] = CreateStatic("Barotrauma.DecalManager", true)
|
||||||
defaultLib["AutoItemPlacer"] = CreateStatic("Barotrauma.AutoItemPlacer")
|
defaultLib["AutoItemPlacer"] = CreateStatic("Barotrauma.AutoItemPlacer")
|
||||||
|
defaultLib["PropertyConditional"] = CreateStatic("Barotrauma.PropertyConditional", true)
|
||||||
|
defaultLib["StatusEffect"] = CreateStatic("Barotrauma.StatusEffect", true)
|
||||||
|
|
||||||
|
defaultLib["ContentXElement"] = CreateStatic("Barotrauma.ContentXElement", true)
|
||||||
|
defaultLib["XElement"] = CreateStatic("System.Xml.Linq.XElement", true)
|
||||||
|
defaultLib["XName"] = CreateStatic("System.Xml.Linq.XName", true)
|
||||||
|
defaultLib["XAttribute"] = CreateStatic("System.Xml.Linq.XAttribute", true)
|
||||||
|
defaultLib["XContainer"] = CreateStatic("System.Xml.Linq.XContainer", true)
|
||||||
|
defaultLib["XDocument"] = CreateStatic("System.Xml.Linq.XDocument", true)
|
||||||
|
defaultLib["XNode"] = CreateStatic("System.Xml.Linq.XNode", true)
|
||||||
|
|
||||||
|
|
||||||
defaultLib["Explosion"] = CreateStatic("Barotrauma.Explosion", true)
|
defaultLib["Explosion"] = CreateStatic("Barotrauma.Explosion", true)
|
||||||
|
|
||||||
|
|||||||
@@ -108,12 +108,17 @@ RegisterBarotrauma("Gap")
|
|||||||
RegisterBarotrauma("PhysicsBody")
|
RegisterBarotrauma("PhysicsBody")
|
||||||
RegisterBarotrauma("AbilityFlags")
|
RegisterBarotrauma("AbilityFlags")
|
||||||
RegisterBarotrauma("ItemPrefab")
|
RegisterBarotrauma("ItemPrefab")
|
||||||
RegisterBarotrauma("SerializableProperty")
|
|
||||||
RegisterBarotrauma("InputType")
|
RegisterBarotrauma("InputType")
|
||||||
|
|
||||||
RegisterBarotrauma("FireSource")
|
RegisterBarotrauma("FireSource")
|
||||||
|
|
||||||
|
RegisterBarotrauma("SerializableProperty")
|
||||||
RegisterBarotrauma("StatusEffect")
|
RegisterBarotrauma("StatusEffect")
|
||||||
|
RegisterBarotrauma("DurationListElement")
|
||||||
|
RegisterBarotrauma("PropertyConditional")
|
||||||
|
RegisterBarotrauma("DelayedListElement")
|
||||||
|
RegisterBarotrauma("DelayedEffect")
|
||||||
|
|
||||||
|
|
||||||
RegisterBarotrauma("ContentPackageManager")
|
RegisterBarotrauma("ContentPackageManager")
|
||||||
RegisterBarotrauma("ContentPackageManager+PackageSource")
|
RegisterBarotrauma("ContentPackageManager+PackageSource")
|
||||||
@@ -123,6 +128,14 @@ RegisterBarotrauma("RegularPackage")
|
|||||||
RegisterBarotrauma("CorePackage")
|
RegisterBarotrauma("CorePackage")
|
||||||
RegisterBarotrauma("ContentXElement")
|
RegisterBarotrauma("ContentXElement")
|
||||||
|
|
||||||
|
Register("System.Xml.Linq.XElement")
|
||||||
|
Register("System.Xml.Linq.XName")
|
||||||
|
Register("System.Xml.Linq.XAttribute")
|
||||||
|
Register("System.Xml.Linq.XContainer")
|
||||||
|
Register("System.Xml.Linq.XDocument")
|
||||||
|
Register("System.Xml.Linq.XNode")
|
||||||
|
|
||||||
|
|
||||||
RegisterBarotrauma("SubmarineBody")
|
RegisterBarotrauma("SubmarineBody")
|
||||||
RegisterBarotrauma("Explosion")
|
RegisterBarotrauma("Explosion")
|
||||||
RegisterBarotrauma("Networking.ServerSettings")
|
RegisterBarotrauma("Networking.ServerSettings")
|
||||||
|
|||||||
Reference in New Issue
Block a user