Barotrauma Client Doc
Barotrauma.ContentFile.TypeInfo Class Reference

Public Member Functions

 TypeInfo (Type type)
 
ContentPath MutateContentPath (ContentPath path)
 
ContentFileCreateInstance (ContentPackage contentPackage, ContentPath path)
 

Public Attributes

readonly Type Type
 
readonly bool RequiredByCorePackage
 
readonly bool NotSyncedInMultiplayer
 
readonly? ImmutableHashSet< TypeAlternativeTypes
 
readonly ImmutableHashSet< IdentifierNames
 

Detailed Description

Definition at line 24 of file ContentFile.cs.

Constructor & Destructor Documentation

◆ TypeInfo()

Barotrauma.ContentFile.TypeInfo.TypeInfo ( Type  type)

Definition at line 33 of file ContentFile.cs.

Member Function Documentation

◆ CreateInstance()

ContentFile? Barotrauma.ContentFile.TypeInfo.CreateInstance ( ContentPackage  contentPackage,
ContentPath  path 
)

◆ MutateContentPath()

ContentPath Barotrauma.ContentFile.TypeInfo.MutateContentPath ( ContentPath  path)

Member Data Documentation

◆ AlternativeTypes

readonly? ImmutableHashSet<Type> Barotrauma.ContentFile.TypeInfo.AlternativeTypes

Definition at line 29 of file ContentFile.cs.

◆ Names

readonly ImmutableHashSet<Identifier> Barotrauma.ContentFile.TypeInfo.Names

Definition at line 30 of file ContentFile.cs.

◆ NotSyncedInMultiplayer

readonly bool Barotrauma.ContentFile.TypeInfo.NotSyncedInMultiplayer

Definition at line 28 of file ContentFile.cs.

◆ RequiredByCorePackage

readonly bool Barotrauma.ContentFile.TypeInfo.RequiredByCorePackage

Definition at line 27 of file ContentFile.cs.

◆ Type

readonly Type Barotrauma.ContentFile.TypeInfo.Type

Definition at line 26 of file ContentFile.cs.