Class SosigTargetPrioritySystem
- Namespace
- FistVR
- Assembly
- Assembly-CSharp.dll
public class SosigTargetPrioritySystem
- Inheritance
-
SosigTargetPrioritySystem
- Inherited Members
-
Constructors
SosigTargetPrioritySystem()
public SosigTargetPrioritySystem()
Fields
IFFChart
Field Value
- bool[]
RecentEvents
public List<AIEvent> RecentEvents
Field Value
- List<AIEvent>
VisualBuffer
public List<AIEvent> VisualBuffer
Field Value
- List<AIEvent>
Methods
Compute(float, float)
public void Compute(float suppressionLevel, float attentiveness = 0)
Parameters
suppressionLevel
float
attentiveness
float
DisregardEntity(AIEntity)
public void DisregardEntity(AIEntity e)
Parameters
e
AIEntity
DumpDics()
public float GetDistanceToTarget(Transform myFrame)
Parameters
myFrame
Transform
Returns
- float
GetPredictiveTargetPoint(float, float)
public Vector3 GetPredictiveTargetPoint(float speed, float maxPredict)
Parameters
speed
float
maxPredict
float
Returns
- Vector3
GetTargetEntity()
public AIEntity GetTargetEntity()
Returns
- AIEntity
GetTargetGroundPoint()
public Vector3 GetTargetGroundPoint()
Returns
- Vector3
GetTargetPoint()
public Vector3 GetTargetPoint()
Returns
- Vector3
GetTimeSinceTopTargetSeen()
public float GetTimeSinceTopTargetSeen()
Returns
- float
public float GetTimeTargetSeen()
Returns
- float
HasFreshTarget()
public bool HasFreshTarget()
Returns
- bool
Init(AIEntity, int, float, float)
public void Init(AIEntity e, int capacity, float maxTrackingTime, float noFreshTargetTime)
Parameters
e
AIEntity
capacity
int
maxTrackingTime
float
noFreshTargetTime
float
IsFriend(int)
public bool IsFriend(int i)
Parameters
i
int
Returns
- bool
IsTargetEntity()
public bool IsTargetEntity()
Returns
- bool
MakeEnemy(int)
public bool MakeEnemy(int i)
Parameters
i
int
Returns
- bool
MakeFriendly(int)
public bool MakeFriendly(int i)
Parameters
i
int
Returns
- bool
ProcessEvent(AIEvent)
public void ProcessEvent(AIEvent e)
Parameters
e
AIEvent
ProcessSonicEvent(AIEvent)
public void ProcessSonicEvent(AIEvent e)
Parameters
e
AIEvent
ProcessVisualEvent(AIEvent)
public void ProcessVisualEvent(AIEvent e)
Parameters
e
AIEvent
SetAllEnemy()
public void SetAllEnemy()
SetAllFriendly()
public void SetAllFriendly()
SetAllyMatrix(List<bool>)
public void SetAllyMatrix(List<bool> ally)
Parameters
ally
List<bool>
SetDefaultIFFChart(int)
public void SetDefaultIFFChart(int iff)
Parameters
iff
int