AfflictionPrefab
Barotrauma.AfflictionPrefab
Functions
AfflictionPrefab(element, file, type)
AfflictionPrefab
Parameters
-
element
ContentXElement
-
file
AfflictionsFile
-
type
Type
AfflictionPrefab.ClearAllEffects()
ClearAllEffects
AfflictionPrefab.LoadAllEffectsAndTreatmentSuitabilities()
LoadAllEffectsAndTreatmentSuitabilities
Dispose()
Dispose
Equals(obj)
Equals
Parameters
-
obj
Object
Returns
-
bool
GetActiveEffect(currentStrength)
GetActiveEffect
Parameters
-
currentStrength
number
Returns
-
Effect
GetDescription(strength, targetType)
GetDescription
Parameters
-
strength
number
-
targetType
TargetType
Returns
-
LocalizedString
GetHashCode()
GetHashCode
Returns
-
number
GetTreatmentSuitability(item)
GetTreatmentSuitability
Parameters
-
item
Item
Returns
-
number
GetType()
GetType
Returns
-
Type
Instantiate(strength, source)
Instantiate
Parameters
-
strength
number
-
source
Character
Returns
-
Affliction
ReloadSoundsIfNeeded()
ReloadSoundsIfNeeded
ToString()
ToString
Returns
Fields
AchievementOnReceived
AchievementOnReceived, field of type Identifier
-
AchievementOnReceived
AchievementOnRemoved
AchievementOnRemoved, field of type Identifier
-
AchievementOnRemoved
ActivationThreshold
ActivationThreshold, field of type number
-
ActivationThreshold
AffectMachines
AffectMachines, field of type bool
-
AffectMachines
AfflictionOverlay
AfflictionOverlay, field of type Sprite
-
AfflictionOverlay
AfflictionOverlayAlphaIsLinear
AfflictionOverlayAlphaIsLinear, field of type bool
-
AfflictionOverlayAlphaIsLinear
AfflictionPrefab.AlienInfectedType
AfflictionPrefab.AlienInfectedType, field of type Identifier
AfflictionPrefab.BiteWounds
AfflictionPrefab.BiteWounds, field of type AfflictionPrefab
AfflictionPrefab.Bleeding
AfflictionPrefab.Bleeding, field of type AfflictionPrefab
AfflictionPrefab.BleedingType
AfflictionPrefab.BleedingType, field of type Identifier
AfflictionPrefab.Bloodloss
AfflictionPrefab.Bloodloss, field of type AfflictionPrefab
AfflictionPrefab.Burn
AfflictionPrefab.Burn, field of type AfflictionPrefab
AfflictionPrefab.BurnType
AfflictionPrefab.BurnType, field of type Identifier
AfflictionPrefab.DamageType
AfflictionPrefab.DamageType, field of type Identifier
AfflictionPrefab.DisguisedAsHuskType
AfflictionPrefab.DisguisedAsHuskType, field of type Identifier
AfflictionPrefab.EMPType
AfflictionPrefab.EMPType, field of type Identifier
AfflictionPrefab.HuskInfection
AfflictionPrefab.HuskInfection, field of type AfflictionPrefab
AfflictionPrefab.ImpactDamage
AfflictionPrefab.ImpactDamage, field of type AfflictionPrefab
AfflictionPrefab.InternalDamage
AfflictionPrefab.InternalDamage, field of type AfflictionPrefab
AfflictionPrefab.InvertControlsType
AfflictionPrefab.InvertControlsType, field of type Identifier
AfflictionPrefab.List
AfflictionPrefab.List, field of type IEnumerable
AfflictionPrefab.OrganDamage
AfflictionPrefab.OrganDamage, field of type AfflictionPrefab
AfflictionPrefab.OxygenLow
AfflictionPrefab.OxygenLow, field of type AfflictionPrefab
AfflictionPrefab.ParalysisType
AfflictionPrefab.ParalysisType, field of type Identifier
AfflictionPrefab.PoisonType
AfflictionPrefab.PoisonType, field of type Identifier
AfflictionPrefab.Prefabs
AfflictionPrefab.Prefabs, field of type PrefabCollection
AfflictionPrefab.Pressure
AfflictionPrefab.Pressure, field of type AfflictionPrefab
AfflictionPrefab.RadiationSickness
AfflictionPrefab.RadiationSickness, field of type AfflictionPrefab
AfflictionPrefab.SpaceHerpesType
AfflictionPrefab.SpaceHerpesType, field of type Identifier
AfflictionPrefab.Stun
AfflictionPrefab.Stun, field of type AfflictionPrefab
AfflictionPrefab.StunType
AfflictionPrefab.StunType, field of type Identifier
AfflictionType
AfflictionType, field of type Identifier
-
AfflictionType
BaseHealCost
BaseHealCost, field of type number
-
BaseHealCost
BurnOverlayAlpha
BurnOverlayAlpha, field of type number
-
BurnOverlayAlpha
CauseOfDeathDescription
CauseOfDeathDescription, field of type LocalizedString
-
CauseOfDeathDescription
ContentFile
ContentFile, field of type ContentFile
-
ContentFile
ContentPackage
ContentPackage, field of type ContentPackage
-
ContentPackage
DamageOverlayAlpha
DamageOverlayAlpha, field of type number
-
DamageOverlayAlpha
DamageParticles
DamageParticles, field of type bool
-
DamageParticles
Descriptions
Descriptions, field of type Collections.Immutable.ImmutableList
-
Descriptions
Duration
Duration, field of type number
-
Duration
Effects
Effects, field of type IEnumerable
-
Effects
FilePath
FilePath, field of type ContentPath
-
FilePath
GrainBurst
GrainBurst, field of type number
-
GrainBurst
HasTreatments
HasTreatments, field of type bool
-
HasTreatments
HealCostMultiplier
HealCostMultiplier, field of type number
-
HealCostMultiplier
HealableInMedicalClinic
HealableInMedicalClinic, field of type bool
-
HealableInMedicalClinic
HideIconAfterDelay
HideIconAfterDelay, field of type bool
-
HideIconAfterDelay
Icon
Icon, field of type Sprite
-
Icon
IconColors
IconColors, field of type Microsoft.Xna.Framework.Color[]
-
IconColors
Identifier
Identifier, field of type Identifier
-
Identifier
IgnoreTreatmentIfAfflictedBy
IgnoreTreatmentIfAfflictedBy, field of type Collections.Immutable.ImmutableHashSet
-
IgnoreTreatmentIfAfflictedBy
IndicatorLimb
IndicatorLimb, field of type LimbType
-
IndicatorLimb
IsBuff
IsBuff, field of type bool
-
IsBuff
KarmaChangeOnApplied
KarmaChangeOnApplied, field of type number
-
KarmaChangeOnApplied
LimbSpecific
LimbSpecific, field of type bool
-
LimbSpecific
MaxStrength
MaxStrength, field of type number
-
MaxStrength
MedicalSkillGain
MedicalSkillGain, field of type number
-
MedicalSkillGain
Name
Name, field of type LocalizedString
-
Name
PeriodicEffects
PeriodicEffects, field of type IList
-
PeriodicEffects
ResetBetweenRounds
ResetBetweenRounds, field of type bool
-
ResetBetweenRounds
SelfCauseOfDeathDescription
SelfCauseOfDeathDescription, field of type LocalizedString
-
SelfCauseOfDeathDescription
ShowBarInHealthMenu
ShowBarInHealthMenu, field of type bool
-
ShowBarInHealthMenu
ShowIconThreshold
ShowIconThreshold, field of type number
-
ShowIconThreshold
ShowIconToOthersThreshold
ShowIconToOthersThreshold, field of type number
-
ShowIconToOthersThreshold
ShowInHealthScannerThreshold
ShowInHealthScannerThreshold, field of type number
-
ShowInHealthScannerThreshold
TargetSpecies
TargetSpecies, field of type Identifier[]
-
TargetSpecies
TranslationIdentifier
TranslationIdentifier, field of type Identifier
-
TranslationIdentifier
TreatmentSuitabilities
TreatmentSuitabilities, field of type Collections.Immutable.ImmutableDictionary
-
TreatmentSuitabilities
TreatmentThreshold
TreatmentThreshold, field of type number
-
TreatmentThreshold
UintIdentifier
UintIdentifier, field of type number
-
UintIdentifier
WeaponsSkillGain
WeaponsSkillGain, field of type number
-
WeaponsSkillGain