Client LuaCsForBarotrauma
AbilityConditionInFriendlySubmarine.cs
1
2
using
System.Xml.Linq;
3
4
namespace
Barotrauma.Abilities
5
{
6
class
AbilityConditionInFriendlySubmarine
:
AbilityConditionDataless
7
{
8
public
AbilityConditionInFriendlySubmarine
(
CharacterTalent
characterTalent
,
ContentXElement
conditionElement) : base(
characterTalent
, conditionElement) { }
9
10
protected
override
bool
MatchesConditionSpecific
()
11
{
12
return
character
.
Submarine
?.
TeamID
==
character
.
TeamID
;
13
}
14
}
15
}
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.Abilities.AbilityConditionInFriendlySubmarine
Definition:
AbilityConditionInFriendlySubmarine.cs:7
Barotrauma.Abilities.AbilityConditionInFriendlySubmarine.MatchesConditionSpecific
override bool MatchesConditionSpecific()
Definition:
AbilityConditionInFriendlySubmarine.cs:10
Barotrauma.Abilities.AbilityConditionInFriendlySubmarine.AbilityConditionInFriendlySubmarine
AbilityConditionInFriendlySubmarine(CharacterTalent characterTalent, ContentXElement conditionElement)
Definition:
AbilityConditionInFriendlySubmarine.cs:8
Barotrauma.Character.TeamID
CharacterTeamType TeamID
Definition:
BarotraumaShared/SharedSource/Characters/Character.cs:210
Barotrauma.CharacterTalent
Definition:
CharacterTalent.cs:8
Barotrauma.ContentXElement
Definition:
ContentXElement.cs:13
Barotrauma.Entity.Submarine
Submarine Submarine
Definition:
Entity.cs:53
Barotrauma.Submarine.TeamID
CharacterTeamType TeamID
Definition:
BarotraumaShared/SharedSource/Map/Submarine.cs:28
Barotrauma.Abilities
Definition:
AbilityCondition.cs:5
Barotrauma
BarotraumaShared
SharedSource
Characters
Talents
Abilities
AbilityConditionals
AbilityConditionDataless
AbilityConditionInFriendlySubmarine.cs
Generated by
1.9.1