|
bool | HasTarget () |
|
bool | IsTargetGridOrBlock (MyAiTargetEnum type) |
|
virtual bool | IsMemoryTargetValid (MyBBMemoryTarget targetMemory) |
|
Vector3D | GetMemoryTargetPosition (MyBBMemoryTarget targetMemory) |
|
virtual bool | IsTargetValid () |
|
| MyAiTargetBase (IMyEntityBot bot) |
|
virtual void | Init (MyObjectBuilder_AiTarget builder) |
|
virtual MyObjectBuilder_AiTarget | GetObjectBuilder () |
|
virtual void | UnsetTarget () |
|
virtual void | DebugDraw () |
|
virtual void | DrawLineToTarget (Vector3D from) |
|
virtual void | Cleanup () |
|
virtual void | Update () |
|
bool | IsEntityReachable (MyEntity entity) |
|
bool | IsTreeReachable (MyEntity entity, int treeId) |
|
bool | PositionIsNearTarget (Vector3D position, float radius) |
|
void | ClearUnreachableEntities () |
|
void | GotoTarget () |
|
void | GotoTargetNoPath (float radius, bool resetStuckDetection=true) |
|
void | GetTargetPosition (Vector3D startingPosition, out Vector3D targetPosition, out float radius) |
|
Vector3D | GetTargetPosition (Vector3D startingPosition) |
|
void | AimAtTarget () |
|
void | GotoFailed () |
|
virtual bool | SetTargetFromMemory (MyBBMemoryTarget memoryTarget) |
|
void | SetTargetBlock (MySlimBlock slimBlock, ushort?compoundId=null) |
|
MySlimBlock | GetTargetBlock () |
|
void | SetTargetTree (ref MyTrees.ItemInfo targetTree, long treesId) |
|
void | SetTargetPosition (Vector3D pos) |
|
void | SetTargetVoxel (Vector3D pos, MyVoxelMap voxelMap) |
|
Vector3D | GetAimAtPosition (Vector3D startingPosition) |
|
virtual bool | GetRandomDirectedPosition (Vector3D initPosition, Vector3D direction, out Vector3D outPosition) |
|
Definition at line 18 of file MyAiTargetBase.cs.
Sandbox.Game.AI.MyAiTargetBase.MyAiTargetBase |
( |
IMyEntityBot |
bot | ) |
|
|
inline |
void Sandbox.Game.AI.MyAiTargetBase.AimAtTarget |
( |
| ) |
|
|
inline |
virtual void Sandbox.Game.AI.MyAiTargetBase.Cleanup |
( |
| ) |
|
|
inlinevirtual |
void Sandbox.Game.AI.MyAiTargetBase.ClearUnreachableEntities |
( |
| ) |
|
|
inline |
virtual void Sandbox.Game.AI.MyAiTargetBase.DebugDraw |
( |
| ) |
|
|
inlinevirtual |
virtual void Sandbox.Game.AI.MyAiTargetBase.DrawLineToTarget |
( |
Vector3D |
from | ) |
|
|
inlinevirtual |
Vector3D Sandbox.Game.AI.MyAiTargetBase.GetAimAtPosition |
( |
Vector3D |
startingPosition | ) |
|
|
inline |
MySlimBlock Sandbox.Game.AI.MyAiTargetBase.GetCubeBlock |
( |
| ) |
|
|
inlineprotected |
Vector3D Sandbox.Game.AI.MyAiTargetBase.GetLocalCubeProjectedPosition |
( |
ref Vector3D |
toProject | ) |
|
|
inlineprotected |
virtual bool Sandbox.Game.AI.MyAiTargetBase.GetRandomDirectedPosition |
( |
Vector3D |
initPosition, |
|
|
Vector3D |
direction, |
|
|
out Vector3D |
outPosition |
|
) |
| |
|
inlinevirtual |
MySlimBlock Sandbox.Game.AI.MyAiTargetBase.GetTargetBlock |
( |
| ) |
|
|
inline |
void Sandbox.Game.AI.MyAiTargetBase.GetTargetPosition |
( |
Vector3D |
startingPosition, |
|
|
out Vector3D |
targetPosition, |
|
|
out float |
radius |
|
) |
| |
|
inline |
Vector3D Sandbox.Game.AI.MyAiTargetBase.GetTargetPosition |
( |
Vector3D |
startingPosition | ) |
|
|
inline |
void Sandbox.Game.AI.MyAiTargetBase.GotoFailed |
( |
| ) |
|
|
inline |
void Sandbox.Game.AI.MyAiTargetBase.GotoTarget |
( |
| ) |
|
|
inline |
void Sandbox.Game.AI.MyAiTargetBase.GotoTargetNoPath |
( |
float |
radius, |
|
|
bool |
resetStuckDetection = true |
|
) |
| |
|
inline |
bool Sandbox.Game.AI.MyAiTargetBase.HasTarget |
( |
| ) |
|
|
inline |
bool Sandbox.Game.AI.MyAiTargetBase.IsEntityReachable |
( |
MyEntity |
entity | ) |
|
|
inline |
virtual bool Sandbox.Game.AI.MyAiTargetBase.IsMemoryTargetValid |
( |
MyBBMemoryTarget |
targetMemory | ) |
|
|
inlinevirtual |
bool Sandbox.Game.AI.MyAiTargetBase.IsTargetGridOrBlock |
( |
MyAiTargetEnum |
type | ) |
|
|
inline |
virtual bool Sandbox.Game.AI.MyAiTargetBase.IsTargetValid |
( |
| ) |
|
|
inlinevirtual |
bool Sandbox.Game.AI.MyAiTargetBase.IsTreeReachable |
( |
MyEntity |
entity, |
|
|
int |
treeId |
|
) |
| |
|
inline |
bool Sandbox.Game.AI.MyAiTargetBase.PositionIsNearTarget |
( |
Vector3D |
position, |
|
|
float |
radius |
|
) |
| |
|
inline |
void Sandbox.Game.AI.MyAiTargetBase.SetTargetBlock |
( |
MySlimBlock |
slimBlock, |
|
|
ushort? |
compoundId = null |
|
) |
| |
|
inline |
virtual void Sandbox.Game.AI.MyAiTargetBase.SetTargetEntity |
( |
MyEntity |
entity | ) |
|
|
inlineprotectedvirtual |
virtual bool Sandbox.Game.AI.MyAiTargetBase.SetTargetFromMemory |
( |
MyBBMemoryTarget |
memoryTarget | ) |
|
|
inlinevirtual |
void Sandbox.Game.AI.MyAiTargetBase.SetTargetPosition |
( |
Vector3D |
pos | ) |
|
|
inline |
void Sandbox.Game.AI.MyAiTargetBase.SetTargetTree |
( |
ref MyTrees.ItemInfo |
targetTree, |
|
|
long |
treesId |
|
) |
| |
|
inline |
virtual void Sandbox.Game.AI.MyAiTargetBase.UnsetTarget |
( |
| ) |
|
|
inlinevirtual |
virtual void Sandbox.Game.AI.MyAiTargetBase.UnsetTargetEntity |
( |
| ) |
|
|
inlineprotectedvirtual |
virtual void Sandbox.Game.AI.MyAiTargetBase.Update |
( |
| ) |
|
|
inlinevirtual |
ushort Sandbox.Game.AI.MyAiTargetBase.m_compoundId = null |
|
protected |
Vector3I Sandbox.Game.AI.MyAiTargetBase.m_targetCube = Vector3I.Zero |
|
protected |
MyEntity Sandbox.Game.AI.MyAiTargetBase.m_targetEntity = null |
|
protected |
Vector3I Sandbox.Game.AI.MyAiTargetBase.m_targetInVoxelCoord = Vector3I.Zero |
|
protected |
Vector3D Sandbox.Game.AI.MyAiTargetBase.m_targetPosition = Vector3D.Zero |
|
protected |
int Sandbox.Game.AI.MyAiTargetBase.m_targetTreeId = 0 |
|
protected |
List<MyEntity> Sandbox.Game.AI.MyAiTargetBase.m_tmpEntities = new List<MyEntity>() |
|
staticprotected |
List<Tuple<MyEntity, int> > Sandbox.Game.AI.MyAiTargetBase.m_tmpTrees = new List<Tuple<MyEntity, int>>() |
|
staticprotected |
Dictionary<MyEntity, int> Sandbox.Game.AI.MyAiTargetBase.m_unreachableEntities = new Dictionary<MyEntity, int>() |
|
protected |
Dictionary<Tuple<MyEntity, int>, int> Sandbox.Game.AI.MyAiTargetBase.m_unreachableTrees = new Dictionary<Tuple<MyEntity, int>, int>() |
|
protected |
bool Sandbox.Game.AI.MyAiTargetBase.HasGotoFailed |
|
getset |
Vector3D Sandbox.Game.AI.MyAiTargetBase.TargetCubeWorldPosition |
|
get |
MyEntity Sandbox.Game.AI.MyAiTargetBase.TargetEntity |
|
get |
MyCubeGrid Sandbox.Game.AI.MyAiTargetBase.TargetGrid |
|
get |
Vector3D Sandbox.Game.AI.MyAiTargetBase.TargetPosition |
|
get |
The documentation for this class was generated from the following file: