Barotrauma Server
Loading...
Searching...
No Matches
Barotrauma.CharacterParams.TargetParams Class Reference
Inheritance diagram for Barotrauma.CharacterParams.TargetParams:
Barotrauma.CharacterParams.SubParam Barotrauma.ISerializableEntity

Public Member Functions

 TargetParams (string tag, AIState state, float priority, CharacterParams character)
 
 TargetParams (ContentXElement element, CharacterParams character)
 
- Public Member Functions inherited from Barotrauma.CharacterParams.SubParam
 SubParam (ContentXElement element, CharacterParams character)
 
virtual bool Deserialize (bool recursive=true)
 
virtual bool Serialize (bool recursive=true)
 
virtual void Reset ()
 

Static Public Member Functions

static ContentXElement CreateNewElement (CharacterParams character, Identifier tag, AIState state, float priority)
 
static ContentXElement CreateNewElement (CharacterParams character, string tag, AIState state, float priority)
 

Properties

override string Name [get]
 
Identifier Tag [get]
 
AIState State [get, set]
 
float Priority [get, set]
 
float ReactDistance [get, set]
 
float AttackDistance [get, set]
 
float Timer [get, set]
 
bool IgnoreContained [get, set]
 
bool IgnoreInside [get, set]
 
bool IgnoreOutside [get, set]
 
bool IgnoreTargetInside [get, set]
 
bool IgnoreTargetOutside [get, set]
 
bool IgnoreIfNotInSameSub [get, set]
 
bool IgnoreIncapacitated [get, set]
 
float Threshold [get]
 
float ThresholdMin [get]
 
float ThresholdMax [get]
 
float PerceptionDistanceMultiplier [get]
 
float MaxPerceptionDistance [get]
 
Vector2 Offset [get]
 
AttackPattern AttackPattern [get, set]
 
bool PrioritizeSubCenter [get, set]
 
float SweepDistance [get]
 
float SweepStrength [get]
 
float SweepSpeed [get]
 
float CircleStartDistance [get]
 
bool IgnoreTargetSize [get]
 
float CircleRotationSpeed [get]
 
bool DynamicCircleRotationSpeed [get]
 
float CircleRandomRotationFactor [get]
 
float CircleStrikeDistanceMultiplier [get]
 
float CircleMaxRandomOffset [get]
 
List< PropertyConditionalConditionals = new List<PropertyConditional>() [get]
 Conditionals that must be met for the character to be able to use these targeting parameters.
 
- Properties inherited from Barotrauma.CharacterParams.SubParam
virtual string Name [get, set]
 
Dictionary< Identifier, SerializablePropertySerializableProperties [get]
 
ContentXElement Element [get, set]
 
List< SubParamSubParams = new List<SubParam>() [get, set]
 
CharacterParams Character [get]
 
- Properties inherited from Barotrauma.ISerializableEntity

Additional Inherited Members

- Protected Member Functions inherited from Barotrauma.CharacterParams.SubParam
ContentXElement CreateElement (string name, params object[] attrs)
 
bool RemoveSubParam< T > (T subParam, IList< T > collection=null)
 

Constructor & Destructor Documentation

◆ TargetParams() [1/2]

Barotrauma.CharacterParams.TargetParams.TargetParams ( string tag,
AIState state,
float priority,
CharacterParams character )

◆ TargetParams() [2/2]

Barotrauma.CharacterParams.TargetParams.TargetParams ( ContentXElement element,
CharacterParams character )

Member Function Documentation

◆ CreateNewElement() [1/2]

static ContentXElement Barotrauma.CharacterParams.TargetParams.CreateNewElement ( CharacterParams character,
Identifier tag,
AIState state,
float priority )
static

◆ CreateNewElement() [2/2]

static ContentXElement Barotrauma.CharacterParams.TargetParams.CreateNewElement ( CharacterParams character,
string tag,
AIState state,
float priority )
static

Property Documentation

◆ AttackDistance

float Barotrauma.CharacterParams.TargetParams.AttackDistance
getset

◆ AttackPattern

AttackPattern Barotrauma.CharacterParams.TargetParams.AttackPattern
getset

◆ CircleMaxRandomOffset

float Barotrauma.CharacterParams.TargetParams.CircleMaxRandomOffset
get

◆ CircleRandomRotationFactor

float Barotrauma.CharacterParams.TargetParams.CircleRandomRotationFactor
get

◆ CircleRotationSpeed

float Barotrauma.CharacterParams.TargetParams.CircleRotationSpeed
get

◆ CircleStartDistance

float Barotrauma.CharacterParams.TargetParams.CircleStartDistance
get

◆ CircleStrikeDistanceMultiplier

float Barotrauma.CharacterParams.TargetParams.CircleStrikeDistanceMultiplier
get

◆ Conditionals

List<PropertyConditional> Barotrauma.CharacterParams.TargetParams.Conditionals = new List<PropertyConditional>()
get

Conditionals that must be met for the character to be able to use these targeting parameters.

◆ DynamicCircleRotationSpeed

bool Barotrauma.CharacterParams.TargetParams.DynamicCircleRotationSpeed
get

◆ IgnoreContained

bool Barotrauma.CharacterParams.TargetParams.IgnoreContained
getset

◆ IgnoreIfNotInSameSub

bool Barotrauma.CharacterParams.TargetParams.IgnoreIfNotInSameSub
getset

◆ IgnoreIncapacitated

bool Barotrauma.CharacterParams.TargetParams.IgnoreIncapacitated
getset

◆ IgnoreInside

bool Barotrauma.CharacterParams.TargetParams.IgnoreInside
getset

◆ IgnoreOutside

bool Barotrauma.CharacterParams.TargetParams.IgnoreOutside
getset

◆ IgnoreTargetInside

bool Barotrauma.CharacterParams.TargetParams.IgnoreTargetInside
getset

◆ IgnoreTargetOutside

bool Barotrauma.CharacterParams.TargetParams.IgnoreTargetOutside
getset

◆ IgnoreTargetSize

bool Barotrauma.CharacterParams.TargetParams.IgnoreTargetSize
get

◆ MaxPerceptionDistance

float Barotrauma.CharacterParams.TargetParams.MaxPerceptionDistance
get

◆ Name

override string Barotrauma.CharacterParams.TargetParams.Name
get

◆ Offset

Vector2 Barotrauma.CharacterParams.TargetParams.Offset
get

◆ PerceptionDistanceMultiplier

float Barotrauma.CharacterParams.TargetParams.PerceptionDistanceMultiplier
get

◆ PrioritizeSubCenter

bool Barotrauma.CharacterParams.TargetParams.PrioritizeSubCenter
getset

◆ Priority

float Barotrauma.CharacterParams.TargetParams.Priority
getset

◆ ReactDistance

float Barotrauma.CharacterParams.TargetParams.ReactDistance
getset

◆ State

AIState Barotrauma.CharacterParams.TargetParams.State
getset

◆ SweepDistance

float Barotrauma.CharacterParams.TargetParams.SweepDistance
get

◆ SweepSpeed

float Barotrauma.CharacterParams.TargetParams.SweepSpeed
get

◆ SweepStrength

float Barotrauma.CharacterParams.TargetParams.SweepStrength
get

◆ Tag

Identifier Barotrauma.CharacterParams.TargetParams.Tag
get

◆ Threshold

float Barotrauma.CharacterParams.TargetParams.Threshold
get

◆ ThresholdMax

float Barotrauma.CharacterParams.TargetParams.ThresholdMax
get

◆ ThresholdMin

float Barotrauma.CharacterParams.TargetParams.ThresholdMin
get

◆ Timer

float Barotrauma.CharacterParams.TargetParams.Timer
getset

The documentation for this class was generated from the following file: