Barotrauma Client Doc
|
Public Member Functions | |
CharacterAbility (CharacterAbilityGroup characterAbilityGroup, ContentXElement abilityElement) | |
bool | IsViable () |
virtual void | InitializeAbility (bool addingFirstTime) |
virtual void | UpdateCharacterAbility (bool conditionsMatched, float timeSinceLastUpdate) |
void | ApplyAbilityEffect (AbilityObject abilityObject) |
Static Public Member Functions | |
static CharacterAbility | Load (ContentXElement abilityElement, CharacterAbilityGroup characterAbilityGroup, bool errorMessages=true) |
Protected Member Functions | |
virtual void | VerifyState (bool conditionsMatched, float timeSinceLastUpdate) |
virtual void | ApplyEffect () |
virtual void | ApplyEffect (AbilityObject abilityObject) |
void | LogAbilityObjectMismatch () |
Properties | |
CharacterAbilityGroup | CharacterAbilityGroup [get] |
CharacterTalent | CharacterTalent [get] |
Character | Character [get] |
bool | RequiresAlive [get] |
virtual bool | AllowClientSimulation [get] |
virtual bool | AppliesEffectOnIntervalUpdate [get] |
float | EffectDeltaTime [get] |
Used primarily for StatusEffects. Default to constant outside interval abilities. More... | |
Definition at line 6 of file CharacterAbility.cs.
Barotrauma.Abilities.CharacterAbility.CharacterAbility | ( | CharacterAbilityGroup | characterAbilityGroup, |
ContentXElement | abilityElement | ||
) |
Definition at line 27 of file CharacterAbility.cs.
void Barotrauma.Abilities.CharacterAbility.ApplyAbilityEffect | ( | AbilityObject | abilityObject | ) |
Definition at line 66 of file CharacterAbility.cs.
|
protectedvirtual |
Reimplemented in Barotrauma.Abilities.CharacterAbilityTandemFire, Barotrauma.Abilities.CharacterAbilityByTheBook, Barotrauma.Abilities.CharacterAbilityResetPermanentStat, Barotrauma.Abilities.CharacterAbilityPutItem, Barotrauma.Abilities.CharacterAbilityIncreaseSkill, Barotrauma.Abilities.CharacterAbilityGivePermanentStat, Barotrauma.Abilities.CharacterAbilityGiveMoney, Barotrauma.Abilities.CharacterAbilityApplyStatusEffectsToRandomAlly, Barotrauma.Abilities.CharacterAbilityApplyStatusEffectsToNearestAlly, Barotrauma.Abilities.CharacterAbilityApplyStatusEffectsToLastOrderedCharacter, Barotrauma.Abilities.CharacterAbilityApplyStatusEffectsToAllies, Barotrauma.Abilities.CharacterAbilityApplyStatusEffects, and Barotrauma.Abilities.CharacterAbilityApplyForce.
Definition at line 78 of file CharacterAbility.cs.
|
protectedvirtual |
Reimplemented in Barotrauma.Abilities.CharacterAbilityRegenerateLoot, Barotrauma.Abilities.CharacterAbilityMultitasker, Barotrauma.Abilities.CharacterAbilityInsurancePolicy, Barotrauma.Abilities.CharacterAbilityBountyHunter, Barotrauma.Abilities.CharacterAbilityAtmosMachine, Barotrauma.Abilities.CharacterAbilityApprenticeship, Barotrauma.Abilities.CharacterAbilityAlienHoarder, Barotrauma.Abilities.CharacterAbilitySpawnItemsToContainer, Barotrauma.Abilities.CharacterAbilityResetPermanentStat, Barotrauma.Abilities.CharacterAbilityModifyValue, Barotrauma.Abilities.CharacterAbilityModifyAttackData, Barotrauma.Abilities.CharacterAbilityModifyAffliction, Barotrauma.Abilities.CharacterAbilityIncreaseSkill, Barotrauma.Abilities.CharacterAbilityGivePermanentStat, Barotrauma.Abilities.CharacterAbilityGiveMoney, Barotrauma.Abilities.CharacterAbilityGiveAffliction, Barotrauma.Abilities.CharacterAbilityGainSimultaneousSkill, Barotrauma.Abilities.CharacterAbilityApplyStatusEffectsToRandomAlly, Barotrauma.Abilities.CharacterAbilityApplyStatusEffectsToAttacker, Barotrauma.Abilities.CharacterAbilityApplyStatusEffectsToAllies, and Barotrauma.Abilities.CharacterAbilityApplyStatusEffects.
Definition at line 84 of file CharacterAbility.cs.
|
virtual |
Reimplemented in Barotrauma.Abilities.CharacterAbilityModifyStat, Barotrauma.Abilities.CharacterAbilityGiveTalentPoints, Barotrauma.Abilities.CharacterAbilityGiveStat, Barotrauma.Abilities.CharacterAbilityGiveResistance, Barotrauma.Abilities.CharacterAbilityGivePermanentStat, and Barotrauma.Abilities.CharacterAbilityGiveFlag.
Definition at line 42 of file CharacterAbility.cs.
bool Barotrauma.Abilities.CharacterAbility.IsViable | ( | ) |
Definition at line 35 of file CharacterAbility.cs.
|
static |
Definition at line 97 of file CharacterAbility.cs.
|
protected |
Definition at line 90 of file CharacterAbility.cs.
|
virtual |
Reimplemented in Barotrauma.Abilities.CharacterAbilityModifyResistance.
Definition at line 44 of file CharacterAbility.cs.
|
protectedvirtual |
Reimplemented in Barotrauma.Abilities.CharacterAbilityPsychoClown, Barotrauma.Abilities.CharacterAbilityModifyStatToSkill, Barotrauma.Abilities.CharacterAbilityModifyStatToLevel, Barotrauma.Abilities.CharacterAbilityModifyStatToFlooding, Barotrauma.Abilities.CharacterAbilityModifyStat, and Barotrauma.Abilities.CharacterAbilityModifyFlag.
Definition at line 60 of file CharacterAbility.cs.
|
get |
Definition at line 14 of file CharacterAbility.cs.
|
get |
Definition at line 15 of file CharacterAbility.cs.
|
get |
Definition at line 10 of file CharacterAbility.cs.
|
get |
Definition at line 8 of file CharacterAbility.cs.
|
get |
Definition at line 9 of file CharacterAbility.cs.
|
getprotected |
Used primarily for StatusEffects. Default to constant outside interval abilities.
Definition at line 25 of file CharacterAbility.cs.
|
get |
Definition at line 12 of file CharacterAbility.cs.