Barotrauma Client
Loading...
Searching...
No Matches
Barotrauma.PrefabWithUintIdentifier Class Referenceabstract

Prefab that has a property serves as a deterministic hash of a prefab's identifier. This member is filled automatically by PrefabCollection.Add. Required for GetRandom to work on arbitrary Prefab enumerables, recommended for network synchronization. More...

Inheritance diagram for Barotrauma.PrefabWithUintIdentifier:
Barotrauma.Prefab Barotrauma.AfflictionPrefab Barotrauma.Biome Barotrauma.CaveGenerationParams Barotrauma.CharacterPrefab Barotrauma.DecalPrefab Barotrauma.EventManagerSettings Barotrauma.HumanPrefab Barotrauma.JobPrefab Barotrauma.LevelGenerationParams Barotrauma.LevelObjectPrefab Barotrauma.LocationType Barotrauma.MapEntityPrefab Barotrauma.MissionPrefab Barotrauma.NPCPersonalityTrait Barotrauma.OrderPrefab Barotrauma.OutpostGenerationParams Barotrauma.TalentPrefab Barotrauma.WreckAIConfig

Protected Member Functions

 PrefabWithUintIdentifier (ContentFile file, Identifier identifier)
 
 PrefabWithUintIdentifier (ContentFile file, ContentXElement element)
 
- Protected Member Functions inherited from Barotrauma.Prefab
virtual Identifier DetermineIdentifier (XElement element)
 

Properties

UInt32 UintIdentifier [get, set]
 
- Properties inherited from Barotrauma.Prefab
ContentPackageContentPackage [get]
 
ContentPath FilePath [get]
 

Additional Inherited Members

- Public Member Functions inherited from Barotrauma.Prefab
 Prefab (ContentFile file, Identifier identifier)
 
 Prefab (ContentFile file, ContentXElement element)
 
void Dispose ()
 
- Static Public Member Functions inherited from Barotrauma.Prefab
static void DisallowCallFromConstructor ()
 
- Public Attributes inherited from Barotrauma.Prefab
readonly Identifier Identifier
 
readonly ContentFile ContentFile
 
- Static Public Attributes inherited from Barotrauma.Prefab
static readonly ImmutableHashSet< Type > Types
 

Detailed Description

Prefab that has a property serves as a deterministic hash of a prefab's identifier. This member is filled automatically by PrefabCollection.Add. Required for GetRandom to work on arbitrary Prefab enumerables, recommended for network synchronization.

Constructor & Destructor Documentation

◆ PrefabWithUintIdentifier() [1/2]

Barotrauma.PrefabWithUintIdentifier.PrefabWithUintIdentifier ( ContentFile file,
Identifier identifier )
protected

◆ PrefabWithUintIdentifier() [2/2]

Barotrauma.PrefabWithUintIdentifier.PrefabWithUintIdentifier ( ContentFile file,
ContentXElement element )
protected

Property Documentation

◆ UintIdentifier

UInt32 Barotrauma.PrefabWithUintIdentifier.UintIdentifier
getset

The documentation for this class was generated from the following file: