Barotrauma Server
Loading...
Searching...
No Matches
Barotrauma.TalentPrefab Class Reference
Inheritance diagram for Barotrauma.TalentPrefab:
Barotrauma.PrefabWithUintIdentifier Barotrauma.Prefab

Public Member Functions

 TalentPrefab (ContentXElement element, TalentsFile file)
 
override void Dispose ()
 
- Public Member Functions inherited from Barotrauma.Prefab
 Prefab (ContentFile file, Identifier identifier)
 
 Prefab (ContentFile file, ContentXElement element)
 
void Dispose ()
 

Public Attributes

bool AbilityEffectsStackWithSameTalent
 When set to false the AbilityEffects of multiple of the same talent will not be checked and only the first one.
 
readonly Sprite Icon
 
readonly Option<(Identifier PermanentStatIdentifier, int Max)> TrackedStat
 When set to a value the talent tooltip will display a text showing the current value of the stat and the max value. For example "Progress: 37/100".
 
readonly ImmutableHashSet< TalentMigration > Migrations
 
- Public Attributes inherited from Barotrauma.Prefab
readonly Identifier Identifier
 
readonly ContentFile ContentFile
 

Static Public Attributes

static readonly PrefabCollection< TalentPrefabTalentPrefabs = new PrefabCollection<TalentPrefab>()
 
- Static Public Attributes inherited from Barotrauma.Prefab
static readonly ImmutableHashSet< Type > Types
 

Properties

string OriginalName [get]
 
LocalizedString DisplayName [get]
 
LocalizedString Description [get]
 
ContentXElement ConfigElement [get]
 
- Properties inherited from Barotrauma.PrefabWithUintIdentifier
UInt32 UintIdentifier [get, set]
 
- Properties inherited from Barotrauma.Prefab
ContentPackageContentPackage [get]
 
ContentPath FilePath [get]
 

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ TalentPrefab()

Barotrauma.TalentPrefab.TalentPrefab ( ContentXElement element,
TalentsFile file )

Member Function Documentation

◆ Dispose()

override void Barotrauma.TalentPrefab.Dispose ( )

Member Data Documentation

◆ AbilityEffectsStackWithSameTalent

bool Barotrauma.TalentPrefab.AbilityEffectsStackWithSameTalent

When set to false the AbilityEffects of multiple of the same talent will not be checked and only the first one.

◆ Icon

readonly Sprite Barotrauma.TalentPrefab.Icon

◆ Migrations

readonly ImmutableHashSet<TalentMigration> Barotrauma.TalentPrefab.Migrations

◆ TalentPrefabs

readonly PrefabCollection<TalentPrefab> Barotrauma.TalentPrefab.TalentPrefabs = new PrefabCollection<TalentPrefab>()
static

◆ TrackedStat

readonly Option<(Identifier PermanentStatIdentifier, int Max)> Barotrauma.TalentPrefab.TrackedStat

When set to a value the talent tooltip will display a text showing the current value of the stat and the max value. For example "Progress: 37/100".

Property Documentation

◆ ConfigElement

ContentXElement Barotrauma.TalentPrefab.ConfigElement
get

◆ Description

LocalizedString Barotrauma.TalentPrefab.Description
get

◆ DisplayName

LocalizedString Barotrauma.TalentPrefab.DisplayName
get

◆ OriginalName

string Barotrauma.TalentPrefab.OriginalName
get

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