|
| AIParams (ContentXElement element, CharacterParams character) |
|
bool | TryAddEmptyTarget (out TargetParams targetParams) |
|
bool | TryAddNewTarget (string tag, AIState state, float priority, out TargetParams targetParams) |
|
bool | TryAddNewTarget (Identifier tag, AIState state, float priority, out TargetParams targetParams) |
|
bool | HasTag (string tag) |
|
bool | HasTag (Identifier tag) |
|
bool | RemoveTarget (TargetParams target) |
|
bool | TryGetTarget (string targetTag, out TargetParams target) |
|
bool | TryGetTarget (Identifier targetTag, out TargetParams target) |
|
bool | TryGetTarget (Character targetCharacter, out TargetParams target) |
|
bool | TryGetTarget (IEnumerable< Identifier > tags, out TargetParams target) |
|
TargetParams | GetTarget (string targetTag, bool throwError=true) |
|
TargetParams | GetTarget (Identifier targetTag, bool throwError=true) |
|
| SubParam (ContentXElement element, CharacterParams character) |
|
virtual bool | Deserialize (bool recursive=true) |
|
virtual bool | Serialize (bool recursive=true) |
|
virtual void | Reset () |
|
virtual void | AddToEditor (ParamsEditor editor, bool recursive=true, int space=0, GUIFont titleFont=null) |
|
|
override string | Name [get] |
|
float | CombatStrength [get] |
|
float | Sight [get] |
|
float | Hearing [get] |
|
float | AggressionHurt [get] |
|
float | AggressionGreed [get] |
|
float | FleeHealthThreshold [get, set] |
|
bool | AttackWhenProvoked [get] |
|
bool | AvoidGunfire [get] |
|
float | DamageThreshold [get] |
|
float | AvoidTime [get] |
|
float | MinFleeTime [get] |
|
bool | AggressiveBoarding [get] |
|
bool | EnforceAggressiveBehaviorForMissions [get] |
|
bool | TargetOuterWalls [get] |
|
bool | RandomAttack [get] |
|
bool | CanOpenDoors [get] |
|
bool | UsePathFindingToGetInside [get, set] |
|
bool | KeepDoorsClosed [get] |
|
bool | AvoidAbyss [get, set] |
|
bool | StayInAbyss [get, set] |
|
bool | PatrolFlooded [get, set] |
|
bool | PatrolDry [get, set] |
|
float | StartAggression [get] |
|
float | MaxAggression [get] |
|
float | AggressionCumulation [get] |
|
WallTargetingMethod | WallTargetingMethod [get] |
|
IEnumerable< TargetParams > | Targets [get] |
|
virtual string | Name [get, set] |
|
Dictionary< Identifier, SerializableProperty > | SerializableProperties [get] |
|
ContentXElement | Element [get, set] |
|
List< SubParam > | SubParams = new List<SubParam>() [get, set] |
|
CharacterParams | Character [get] |
|
SerializableEntityEditor | SerializableEntityEditor [get, protected set] |
|
string | Name [get] |
|
Dictionary< Identifier, SerializableProperty > | SerializableProperties [get] |
|
Definition at line 624 of file CharacterParams.cs.
◆ AIParams()
◆ GetTarget() [1/2]
◆ GetTarget() [2/2]
TargetParams Barotrauma.CharacterParams.AIParams.GetTarget |
( |
string |
targetTag, |
|
|
bool |
throwError = true |
|
) |
| |
◆ HasTag() [1/2]
bool Barotrauma.CharacterParams.AIParams.HasTag |
( |
Identifier |
tag | ) |
|
◆ HasTag() [2/2]
bool Barotrauma.CharacterParams.AIParams.HasTag |
( |
string |
tag | ) |
|
◆ RemoveTarget()
bool Barotrauma.CharacterParams.AIParams.RemoveTarget |
( |
TargetParams |
target | ) |
|
◆ TryAddEmptyTarget()
bool Barotrauma.CharacterParams.AIParams.TryAddEmptyTarget |
( |
out TargetParams |
targetParams | ) |
|
◆ TryAddNewTarget() [1/2]
◆ TryAddNewTarget() [2/2]
bool Barotrauma.CharacterParams.AIParams.TryAddNewTarget |
( |
string |
tag, |
|
|
AIState |
state, |
|
|
float |
priority, |
|
|
out TargetParams |
targetParams |
|
) |
| |
◆ TryGetTarget() [1/4]
bool Barotrauma.CharacterParams.AIParams.TryGetTarget |
( |
Character |
targetCharacter, |
|
|
out TargetParams |
target |
|
) |
| |
◆ TryGetTarget() [2/4]
◆ TryGetTarget() [3/4]
bool Barotrauma.CharacterParams.AIParams.TryGetTarget |
( |
IEnumerable< Identifier > |
tags, |
|
|
out TargetParams |
target |
|
) |
| |
◆ TryGetTarget() [4/4]
bool Barotrauma.CharacterParams.AIParams.TryGetTarget |
( |
string |
targetTag, |
|
|
out TargetParams |
target |
|
) |
| |
◆ targets
◆ AggressionCumulation
float Barotrauma.CharacterParams.AIParams.AggressionCumulation |
|
get |
◆ AggressionGreed
float Barotrauma.CharacterParams.AIParams.AggressionGreed |
|
get |
◆ AggressionHurt
float Barotrauma.CharacterParams.AIParams.AggressionHurt |
|
get |
◆ AggressiveBoarding
bool Barotrauma.CharacterParams.AIParams.AggressiveBoarding |
|
get |
◆ AttackWhenProvoked
bool Barotrauma.CharacterParams.AIParams.AttackWhenProvoked |
|
get |
◆ AvoidAbyss
bool Barotrauma.CharacterParams.AIParams.AvoidAbyss |
|
getset |
◆ AvoidGunfire
bool Barotrauma.CharacterParams.AIParams.AvoidGunfire |
|
get |
◆ AvoidTime
float Barotrauma.CharacterParams.AIParams.AvoidTime |
|
get |
◆ CanOpenDoors
bool Barotrauma.CharacterParams.AIParams.CanOpenDoors |
|
get |
◆ CombatStrength
float Barotrauma.CharacterParams.AIParams.CombatStrength |
|
get |
◆ DamageThreshold
float Barotrauma.CharacterParams.AIParams.DamageThreshold |
|
get |
◆ EnforceAggressiveBehaviorForMissions
bool Barotrauma.CharacterParams.AIParams.EnforceAggressiveBehaviorForMissions |
|
get |
◆ FleeHealthThreshold
float Barotrauma.CharacterParams.AIParams.FleeHealthThreshold |
|
getset |
◆ Hearing
float Barotrauma.CharacterParams.AIParams.Hearing |
|
get |
◆ KeepDoorsClosed
bool Barotrauma.CharacterParams.AIParams.KeepDoorsClosed |
|
get |
◆ MaxAggression
float Barotrauma.CharacterParams.AIParams.MaxAggression |
|
get |
◆ MinFleeTime
float Barotrauma.CharacterParams.AIParams.MinFleeTime |
|
get |
◆ Name
override string Barotrauma.CharacterParams.AIParams.Name |
|
get |
◆ PatrolDry
bool Barotrauma.CharacterParams.AIParams.PatrolDry |
|
getset |
◆ PatrolFlooded
bool Barotrauma.CharacterParams.AIParams.PatrolFlooded |
|
getset |
◆ RandomAttack
bool Barotrauma.CharacterParams.AIParams.RandomAttack |
|
get |
◆ Sight
float Barotrauma.CharacterParams.AIParams.Sight |
|
get |
◆ StartAggression
float Barotrauma.CharacterParams.AIParams.StartAggression |
|
get |
◆ StayInAbyss
bool Barotrauma.CharacterParams.AIParams.StayInAbyss |
|
getset |
◆ TargetOuterWalls
bool Barotrauma.CharacterParams.AIParams.TargetOuterWalls |
|
get |
◆ Targets
IEnumerable<TargetParams> Barotrauma.CharacterParams.AIParams.Targets |
|
get |
◆ UsePathFindingToGetInside
bool Barotrauma.CharacterParams.AIParams.UsePathFindingToGetInside |
|
getset |
◆ WallTargetingMethod