|
Barotrauma Client
|
Public Member Functions | |
| ContentXElement (ContentPackage? contentPackage, XElement element) | |
| Identifier | NameAsIdentifier () |
| ContentXElement? | FirstElement () |
| bool | IsOverride () |
| bool | ComesAfter (ContentXElement other) |
| ContentXElement? | GetChildElement (string name) |
| IEnumerable< ContentXElement > | Elements () |
| IEnumerable< ContentXElement > | ElementsBeforeSelf () |
| IEnumerable< ContentXElement > | Descendants () |
| IEnumerable< ContentXElement > | GetChildElements (string name) |
| XAttribute? | GetAttribute (string name) |
| IEnumerable< XAttribute > | Attributes () |
| IEnumerable< XAttribute > | Attributes (string name) |
| string | ElementInnerText () |
| Identifier | GetAttributeIdentifier (string key, string def) |
| Identifier | GetAttributeIdentifier (string key, Identifier def) |
| Identifier[] | GetAttributeIdentifierArray (Identifier[] def, params string[] keys) |
| Identifier[] | GetAttributeIdentifierArray (string key, Identifier[] def, bool trim=true) |
| ImmutableHashSet< Identifier > | GetAttributeIdentifierImmutableHashSet (string key, ImmutableHashSet< Identifier >? def, bool trim=true) |
| string? | GetAttributeString (string key, string? def) |
| string | GetAttributeStringUnrestricted (string key, string def) |
| string?[] | GetAttributeStringArray (string key, string[]? def, bool convertToLowerInvariant=false) |
| ContentPath? | GetAttributeContentPath (string key) |
| int | GetAttributeInt (string key, int def) |
| ushort | GetAttributeUInt16 (string key, ushort def) |
| int?[] | GetAttributeIntArray (string key, int[]? def) |
| ushort?[] | GetAttributeUshortArray (string key, ushort[]? def) |
| float | GetAttributeFloat (string key, float def) |
| float?[] | GetAttributeFloatArray (string key, float[]? def) |
| float | GetAttributeFloat (float def, params string[] keys) |
| bool | GetAttributeBool (string key, bool def) |
| Point | GetAttributePoint (string key, in Point def) |
| Vector2 | GetAttributeVector2 (string key, in Vector2 def) |
| Vector4 | GetAttributeVector4 (string key, in Vector4 def) |
| Color | GetAttributeColor (string key, in Color def) |
| Color? | GetAttributeColor (string key) |
| Color?[] | GetAttributeColorArray (string key, Color[]? def) |
| Rectangle | GetAttributeRect (string key, in Rectangle def) |
| Version | GetAttributeVersion (string key, Version def) |
| T | GetAttributeEnum< T > (string key, in T def) |
| T2 | GetAttributeTuple< T1, T2 > (string key, in(T1, T2) def) |
| T2[] | GetAttributeTupleArray< T1, T2 > (string key, in(T1, T2)[] def) |
| Range< int > | GetAttributeRange (string key, in Range< int > def) |
| Identifier | VariantOf () |
| bool | DoesAttributeReferenceFileNameAlone (string key) |
| string | ParseContentPathFromUri () |
| void | SetAttributeValue (string key, string val) |
| void | Add (ContentXElement elem) |
| void | AddFirst (ContentXElement elem) |
| void | AddAfterSelf (ContentXElement elem) |
| void | Remove () |
| override bool | Equals (object? obj) |
| override int | GetHashCode () |
Static Public Member Functions | |
| static implicit | operator XElement? (ContentXElement? cxe) |
| static bool | operator== (in ContentXElement? a, in ContentXElement? b) |
| static bool | operator!= (in ContentXElement? a, in ContentXElement? b) |
Public Attributes | |
| readonly XElement | Element |
| T1 | |
Properties | |
| ContentPackage? | ContentPackage [get] |
| XName | Name [get] |
| string | BaseUri [get] |
| XDocument? | Document [get] |
| ContentXElement? | Parent [get] |
| bool | HasElements [get] |
| Barotrauma.ContentXElement.ContentXElement | ( | ContentPackage? | contentPackage, |
| XElement | element ) |
| void Barotrauma.ContentXElement.Add | ( | ContentXElement | elem | ) |
| void Barotrauma.ContentXElement.AddAfterSelf | ( | ContentXElement | elem | ) |
| void Barotrauma.ContentXElement.AddFirst | ( | ContentXElement | elem | ) |
| IEnumerable< XAttribute > Barotrauma.ContentXElement.Attributes | ( | ) |
| IEnumerable< XAttribute > Barotrauma.ContentXElement.Attributes | ( | string | name | ) |
| bool Barotrauma.ContentXElement.ComesAfter | ( | ContentXElement | other | ) |
| IEnumerable< ContentXElement > Barotrauma.ContentXElement.Descendants | ( | ) |
| bool Barotrauma.ContentXElement.DoesAttributeReferenceFileNameAlone | ( | string | key | ) |
| string Barotrauma.ContentXElement.ElementInnerText | ( | ) |
| IEnumerable< ContentXElement > Barotrauma.ContentXElement.Elements | ( | ) |
| IEnumerable< ContentXElement > Barotrauma.ContentXElement.ElementsBeforeSelf | ( | ) |
| override bool Barotrauma.ContentXElement.Equals | ( | object? | obj | ) |
| ContentXElement? Barotrauma.ContentXElement.FirstElement | ( | ) |
| XAttribute? Barotrauma.ContentXElement.GetAttribute | ( | string | name | ) |
| bool Barotrauma.ContentXElement.GetAttributeBool | ( | string | key, |
| bool | def ) |
| Color? Barotrauma.ContentXElement.GetAttributeColor | ( | string | key | ) |
| Color Barotrauma.ContentXElement.GetAttributeColor | ( | string | key, |
| in Color | def ) |
| Color?[] Barotrauma.ContentXElement.GetAttributeColorArray | ( | string | key, |
| Color?[] | def ) |
| ContentPath? Barotrauma.ContentXElement.GetAttributeContentPath | ( | string | key | ) |
| T Barotrauma.ContentXElement.GetAttributeEnum< T > | ( | string | key, |
| in T | def ) |
| T | : | struct | |
| T | : | Enum |
| float Barotrauma.ContentXElement.GetAttributeFloat | ( | float | def, |
| params string[] | keys ) |
| float Barotrauma.ContentXElement.GetAttributeFloat | ( | string | key, |
| float | def ) |
| float?[] Barotrauma.ContentXElement.GetAttributeFloatArray | ( | string | key, |
| float?[] | def ) |
| Identifier Barotrauma.ContentXElement.GetAttributeIdentifier | ( | string | key, |
| Identifier | def ) |
| Identifier Barotrauma.ContentXElement.GetAttributeIdentifier | ( | string | key, |
| string | def ) |
| Identifier[] Barotrauma.ContentXElement.GetAttributeIdentifierArray | ( | Identifier[] | def, |
| params string[] | keys ) |
| Identifier[] Barotrauma.ContentXElement.GetAttributeIdentifierArray | ( | string | key, |
| Identifier[] | def, | ||
| bool | trim = true ) |
| ImmutableHashSet< Identifier > Barotrauma.ContentXElement.GetAttributeIdentifierImmutableHashSet | ( | string | key, |
| ImmutableHashSet< Identifier >? | def, | ||
| bool | trim = true ) |
| int Barotrauma.ContentXElement.GetAttributeInt | ( | string | key, |
| int | def ) |
| int?[] Barotrauma.ContentXElement.GetAttributeIntArray | ( | string | key, |
| int?[] | def ) |
| Point Barotrauma.ContentXElement.GetAttributePoint | ( | string | key, |
| in Point | def ) |
| Range< int > Barotrauma.ContentXElement.GetAttributeRange | ( | string | key, |
| in Range< int > | def ) |
| Rectangle Barotrauma.ContentXElement.GetAttributeRect | ( | string | key, |
| in Rectangle | def ) |
| string? Barotrauma.ContentXElement.GetAttributeString | ( | string | key, |
| string? | def ) |
| string?[] Barotrauma.ContentXElement.GetAttributeStringArray | ( | string | key, |
| string?[] | def, | ||
| bool | convertToLowerInvariant = false ) |
| string Barotrauma.ContentXElement.GetAttributeStringUnrestricted | ( | string | key, |
| string | def ) |
| ushort Barotrauma.ContentXElement.GetAttributeUInt16 | ( | string | key, |
| ushort | def ) |
| ushort?[] Barotrauma.ContentXElement.GetAttributeUshortArray | ( | string | key, |
| ushort?[] | def ) |
| Version Barotrauma.ContentXElement.GetAttributeVersion | ( | string | key, |
| Version | def ) |
| ContentXElement? Barotrauma.ContentXElement.GetChildElement | ( | string | name | ) |
| IEnumerable< ContentXElement > Barotrauma.ContentXElement.GetChildElements | ( | string | name | ) |
| override int Barotrauma.ContentXElement.GetHashCode | ( | ) |
| bool Barotrauma.ContentXElement.IsOverride | ( | ) |
| Identifier Barotrauma.ContentXElement.NameAsIdentifier | ( | ) |
|
static |
|
static |
|
static |
| string Barotrauma.ContentXElement.ParseContentPathFromUri | ( | ) |
| void Barotrauma.ContentXElement.Remove | ( | ) |
| void Barotrauma.ContentXElement.SetAttributeValue | ( | string | key, |
| string | val ) |
| Identifier Barotrauma.ContentXElement.VariantOf | ( | ) |
| readonly XElement Barotrauma.ContentXElement.Element |
| Barotrauma.ContentXElement.T1 |
|
get |
|
get |
|
get |
|
get |
|
get |
|
get |