Client LuaCsForBarotrauma
AbilityConditionCrouched.cs
1
namespace
Barotrauma.Abilities
2
{
3
class
AbilityConditionCrouched
:
AbilityConditionDataless
4
{
5
6
public
AbilityConditionCrouched
(
CharacterTalent
characterTalent
,
ContentXElement
conditionElement) : base(
characterTalent
, conditionElement)
7
{
8
}
9
10
protected
override
bool
MatchesConditionSpecific
()
11
{
12
return
character
.
AnimController
is
HumanoidAnimController
humanoidAnimController && humanoidAnimController.
Crouching
;
13
}
14
}
15
}
Barotrauma.Abilities.AbilityConditionCrouched
Definition:
AbilityConditionCrouched.cs:4
Barotrauma.Abilities.AbilityConditionCrouched.MatchesConditionSpecific
override bool MatchesConditionSpecific()
Definition:
AbilityConditionCrouched.cs:10
Barotrauma.Abilities.AbilityConditionCrouched.AbilityConditionCrouched
AbilityConditionCrouched(CharacterTalent characterTalent, ContentXElement conditionElement)
Definition:
AbilityConditionCrouched.cs:6
Barotrauma.Abilities.AbilityConditionDataless
Definition:
AbilityConditionDataless.cs:4
Barotrauma.Abilities.AbilityCondition.character
Character character
Definition:
AbilityCondition.cs:9
Barotrauma.Abilities.AbilityCondition.characterTalent
CharacterTalent characterTalent
Definition:
AbilityCondition.cs:8
Barotrauma.Character.AnimController
readonly AnimController AnimController
Definition:
BarotraumaShared/SharedSource/Characters/Character.cs:406
Barotrauma.CharacterTalent
Definition:
CharacterTalent.cs:8
Barotrauma.ContentXElement
Definition:
ContentXElement.cs:13
Barotrauma.HumanoidAnimController
Definition:
HumanoidAnimController.cs:12
Barotrauma.HumanoidAnimController.Crouching
bool Crouching
Definition:
HumanoidAnimController.cs:158
Barotrauma.Abilities
Definition:
AbilityCondition.cs:5
Barotrauma
BarotraumaShared
SharedSource
Characters
Talents
Abilities
AbilityConditionals
AbilityConditionDataless
AbilityConditionCrouched.cs
Generated by
1.9.1