Barotrauma Client Doc
|
Public Member Functions | |
DamageModifier (ContentXElement element, string parentDebugName, bool checkErrors=true) | |
bool | MatchesAfflictionIdentifier (string identifier) |
bool | MatchesAfflictionIdentifier (Identifier identifier) |
bool | MatchesAfflictionType (string type) |
bool | MatchesAfflictionType (Identifier type) |
bool | MatchesAffliction (string identifier, string type) |
Returns true if the type or the identifier matches the defined types/identifiers. More... | |
bool | MatchesAffliction (Identifier identifier, Identifier type) |
bool | MatchesAffliction (Affliction affliction) |
void | Serialize (XElement element) |
void | Deserialize (XElement element) |
Properties | |
string | Name [get] |
Dictionary< Identifier, SerializableProperty > | SerializableProperties [get] |
float | DamageMultiplier [get] |
float | ProbabilityMultiplier [get] |
Vector2 | ArmorSector [get] |
Vector2 | ArmorSectorInRadians [get] |
bool | DeflectProjectiles [get] |
string | AfflictionIdentifiers [get] |
string | AfflictionTypes [get] |
ref readonly ImmutableArray< Identifier > | ParsedAfflictionIdentifiers [get] |
ref readonly ImmutableArray< Identifier > | ParsedAfflictionTypes [get] |
string | DamageSound [get] |
string | DamageParticle [get] |
Properties inherited from Barotrauma.ISerializableEntity | |
string | Name [get] |
Dictionary< Identifier, SerializableProperty > | SerializableProperties [get] |
Definition at line 10 of file BarotraumaShared/SharedSource/Characters/Health/DamageModifier.cs.
Barotrauma.DamageModifier.DamageModifier | ( | ContentXElement | element, |
string | parentDebugName, | ||
bool | checkErrors = true |
||
) |
Definition at line 82 of file BarotraumaShared/SharedSource/Characters/Health/DamageModifier.cs.
void Barotrauma.DamageModifier.Deserialize | ( | XElement | element | ) |
Definition at line 188 of file BarotraumaShared/SharedSource/Characters/Health/DamageModifier.cs.
bool Barotrauma.DamageModifier.MatchesAffliction | ( | Affliction | affliction | ) |
bool Barotrauma.DamageModifier.MatchesAffliction | ( | Identifier | identifier, |
Identifier | type | ||
) |
Definition at line 172 of file BarotraumaShared/SharedSource/Characters/Health/DamageModifier.cs.
bool Barotrauma.DamageModifier.MatchesAffliction | ( | string | identifier, |
string | type | ||
) |
Returns true if the type or the identifier matches the defined types/identifiers.
bool Barotrauma.DamageModifier.MatchesAfflictionIdentifier | ( | Identifier | identifier | ) |
Definition at line 149 of file BarotraumaShared/SharedSource/Characters/Health/DamageModifier.cs.
bool Barotrauma.DamageModifier.MatchesAfflictionIdentifier | ( | string | identifier | ) |
bool Barotrauma.DamageModifier.MatchesAfflictionType | ( | Identifier | type | ) |
Definition at line 159 of file BarotraumaShared/SharedSource/Characters/Health/DamageModifier.cs.
bool Barotrauma.DamageModifier.MatchesAfflictionType | ( | string | type | ) |
void Barotrauma.DamageModifier.Serialize | ( | XElement | element | ) |
Definition at line 182 of file BarotraumaShared/SharedSource/Characters/Health/DamageModifier.cs.
|
get |
Definition at line 47 of file BarotraumaShared/SharedSource/Characters/Health/DamageModifier.cs.
|
get |
Definition at line 61 of file BarotraumaShared/SharedSource/Characters/Health/DamageModifier.cs.
|
get |
Definition at line 31 of file BarotraumaShared/SharedSource/Characters/Health/DamageModifier.cs.
|
get |
Definition at line 37 of file BarotraumaShared/SharedSource/Characters/Health/DamageModifier.cs.
|
get |
Definition at line 17 of file BarotraumaShared/SharedSource/Characters/Health/DamageModifier.cs.
|
get |
Definition at line 13 of file BarotraumaClient/ClientSource/Characters/Health/DamageModifier.cs.
|
get |
Definition at line 6 of file BarotraumaClient/ClientSource/Characters/Health/DamageModifier.cs.
|
get |
Definition at line 40 of file BarotraumaShared/SharedSource/Characters/Health/DamageModifier.cs.
|
get |
Definition at line 12 of file BarotraumaShared/SharedSource/Characters/Health/DamageModifier.cs.
|
get |
Definition at line 78 of file BarotraumaShared/SharedSource/Characters/Health/DamageModifier.cs.
|
get |
Definition at line 80 of file BarotraumaShared/SharedSource/Characters/Health/DamageModifier.cs.
|
get |
Definition at line 24 of file BarotraumaShared/SharedSource/Characters/Health/DamageModifier.cs.
|
get |
Definition at line 14 of file BarotraumaShared/SharedSource/Characters/Health/DamageModifier.cs.