Richard Boegli's CnC_Generals_Zero_Hour Fork WIP
This is documentation of Richard Boegil's Zero Hour Fork
 
Loading...
Searching...
No Matches
AICommandInterface Class Referenceabstract

#include <AI.h>

Inherited by AIUpdateInterface.

Public Member Functions

virtual void aiDoCommand (const AICommandParms *parms)=0
 
void aiMoveToPosition (const Coord3D *pos, CommandSourceType cmdSource)
 
void aiMoveToPositionEvenIfSleeping (const Coord3D *pos, CommandSourceType cmdSource)
 
void aiMoveToObject (Object *obj, CommandSourceType cmdSource)
 
void aiTightenToPosition (const Coord3D *pos, CommandSourceType cmdSource)
 
void aiMoveToAndEvacuate (const Coord3D *pos, CommandSourceType cmdSource)
 
void aiMoveToAndEvacuateAndExit (const Coord3D *pos, CommandSourceType cmdSource)
 
void aiIdle (CommandSourceType cmdSource)
 
void aiBusy (CommandSourceType cmdSource)
 
void aiFollowWaypointPath (const Waypoint *way, CommandSourceType cmdSource)
 
void aiFollowWaypointPathExact (const Waypoint *way, CommandSourceType cmdSource)
 
void aiFollowWaypointPathAsTeam (const Waypoint *way, CommandSourceType cmdSource)
 
void aiFollowWaypointPathExactAsTeam (const Waypoint *way, CommandSourceType cmdSource)
 
void aiFollowExitProductionPath (const std::vector< Coord3D > *path, Object *ignoreObject, CommandSourceType cmdSource)
 
void aiFollowPath (const std::vector< Coord3D > *path, Object *ignoreObject, CommandSourceType cmdSource)
 
void aiFollowPathAppend (const Coord3D *pos, CommandSourceType cmdSource)
 
void aiAttackObject (Object *victim, Int maxShotsToFire, CommandSourceType cmdSource)
 
void aiForceAttackObject (Object *victim, Int maxShotsToFire, CommandSourceType cmdSource)
 
void aiGuardRetaliate (Object *victim, const Coord3D *pos, Int maxShotsToFire, CommandSourceType cmdSource)
 
void aiAttackTeam (const Team *team, Int maxShotsToFire, CommandSourceType cmdSource)
 
void aiAttackPosition (const Coord3D *pos, Int maxShotsToFire, CommandSourceType cmdSource)
 
void aiAttackMoveToPosition (const Coord3D *pos, Int maxShotsToFire, CommandSourceType cmdSource)
 
void aiAttackFollowWaypointPath (const Waypoint *way, Int maxShotsToFire, CommandSourceType cmdSource)
 
void aiAttackFollowWaypointPathAsTeam (const Waypoint *way, Int maxShotsToFire, CommandSourceType cmdSource)
 
void aiHunt (CommandSourceType cmdSource)
 
void aiAttackArea (const PolygonTrigger *areaToGuard, CommandSourceType cmdSource)
 
void aiRepair (Object *obj, CommandSourceType cmdSource)
 
void aiResumeConstruction (Object *obj, CommandSourceType cmdSource)
 
void aiGetHealed (Object *healDepot, CommandSourceType cmdSource)
 
void aiGetRepaired (Object *repairDepot, CommandSourceType cmdSource)
 
void aiEnter (Object *obj, CommandSourceType cmdSource)
 
void aiDock (Object *obj, CommandSourceType cmdSource)
 
void aiExit (Object *objectToExit, CommandSourceType cmdSource)
 
void aiExitInstantly (Object *objectToExit, CommandSourceType cmdSource)
 
void aiEvacuate (Bool exposeStealthUnits, CommandSourceType cmdSource)
 
void aiEvacuateInstantly (Bool exposeStealthUnits, CommandSourceType cmdSource)
 
void aiExecuteRailedTransport (CommandSourceType cmdSource)
 
void aiGoProne (const DamageInfo *damageInfo, CommandSourceType cmdSource)
 
void aiGuardPosition (const Coord3D *pos, GuardMode guardMode, CommandSourceType cmdSource)
 
void aiGuardObject (Object *objToGuard, GuardMode guardMode, CommandSourceType cmdSource)
 
void aiGuardArea (const PolygonTrigger *areaToGuard, GuardMode guardMode, CommandSourceType cmdSource)
 
void aiGuardTunnelNetwork (GuardMode guardMode, CommandSourceType cmdSource)
 
void aiHackInternet (CommandSourceType cmdSource)
 
void aiFaceObject (Object *target, CommandSourceType cmdSource)
 
void aiFacePosition (const Coord3D *pos, CommandSourceType cmdSource)
 
void aiRappelInto (Object *target, const Coord3D &pos, CommandSourceType cmdSource)
 
void aiCombatDrop (Object *target, const Coord3D &pos, CommandSourceType cmdSource)
 
void aiDoCommandButton (const CommandButton *commandButton, CommandSourceType cmdSource)
 
void aiDoCommandButtonAtPosition (const CommandButton *commandButton, const Coord3D *pos, CommandSourceType cmdSource)
 
void aiDoCommandButtonAtObject (const CommandButton *commandButton, Object *obj, CommandSourceType cmdSource)
 
void aiMoveAwayFromUnit (Object *obj, CommandSourceType cmdSource)
 
void aiWander (const Waypoint *way, CommandSourceType cmdSource)
 
void aiWanderInPlace (CommandSourceType cmdSource)
 
void aiPanic (const Waypoint *way, CommandSourceType cmdSource)
 

Detailed Description

AI interface. AIGroups, or Objects with an AIUpdate can be given these commands.

NOTE NOTE NOTE: all of these may be overridden and possibly deferred by various AI classes, so they are NOT ALLOWED TO RETURN ANY VALUES, since the particular command issued might not be executed immediately...

Definition at line 452 of file AI.h.

Member Function Documentation

◆ aiAttackArea()

void AICommandInterface::aiAttackArea ( const PolygonTrigger * areaToGuard,
CommandSourceType cmdSource )
inline

Definition at line 634 of file AI.h.

◆ aiAttackFollowWaypointPath()

void AICommandInterface::aiAttackFollowWaypointPath ( const Waypoint * way,
Int maxShotsToFire,
CommandSourceType cmdSource )
inline

Definition at line 612 of file AI.h.

◆ aiAttackFollowWaypointPathAsTeam()

void AICommandInterface::aiAttackFollowWaypointPathAsTeam ( const Waypoint * way,
Int maxShotsToFire,
CommandSourceType cmdSource )
inline

Definition at line 620 of file AI.h.

◆ aiAttackMoveToPosition()

void AICommandInterface::aiAttackMoveToPosition ( const Coord3D * pos,
Int maxShotsToFire,
CommandSourceType cmdSource )
inline

Definition at line 604 of file AI.h.

◆ aiAttackObject()

void AICommandInterface::aiAttackObject ( Object * victim,
Int maxShotsToFire,
CommandSourceType cmdSource )
inline

Definition at line 563 of file AI.h.

◆ aiAttackPosition()

void AICommandInterface::aiAttackPosition ( const Coord3D * pos,
Int maxShotsToFire,
CommandSourceType cmdSource )
inline

Definition at line 596 of file AI.h.

◆ aiAttackTeam()

void AICommandInterface::aiAttackTeam ( const Team * team,
Int maxShotsToFire,
CommandSourceType cmdSource )
inline

Definition at line 588 of file AI.h.

◆ aiBusy()

void AICommandInterface::aiBusy ( CommandSourceType cmdSource)
inline

Definition at line 506 of file AI.h.

◆ aiCombatDrop()

void AICommandInterface::aiCombatDrop ( Object * target,
const Coord3D & pos,
CommandSourceType cmdSource )
inline

Definition at line 807 of file AI.h.

◆ aiDock()

void AICommandInterface::aiDock ( Object * obj,
CommandSourceType cmdSource )
inline

Definition at line 694 of file AI.h.

◆ aiDoCommand()

◆ aiDoCommandButton()

void AICommandInterface::aiDoCommandButton ( const CommandButton * commandButton,
CommandSourceType cmdSource )
inline

Definition at line 815 of file AI.h.

◆ aiDoCommandButtonAtObject()

void AICommandInterface::aiDoCommandButtonAtObject ( const CommandButton * commandButton,
Object * obj,
CommandSourceType cmdSource )
inline

Definition at line 830 of file AI.h.

◆ aiDoCommandButtonAtPosition()

void AICommandInterface::aiDoCommandButtonAtPosition ( const CommandButton * commandButton,
const Coord3D * pos,
CommandSourceType cmdSource )
inline

Definition at line 822 of file AI.h.

◆ aiEnter()

void AICommandInterface::aiEnter ( Object * obj,
CommandSourceType cmdSource )
inline

Definition at line 687 of file AI.h.

◆ aiEvacuate()

void AICommandInterface::aiEvacuate ( Bool exposeStealthUnits,
CommandSourceType cmdSource )
inline

Definition at line 715 of file AI.h.

◆ aiEvacuateInstantly()

void AICommandInterface::aiEvacuateInstantly ( Bool exposeStealthUnits,
CommandSourceType cmdSource )
inline

Definition at line 725 of file AI.h.

◆ aiExecuteRailedTransport()

void AICommandInterface::aiExecuteRailedTransport ( CommandSourceType cmdSource)
inline

Definition at line 735 of file AI.h.

◆ aiExit()

void AICommandInterface::aiExit ( Object * objectToExit,
CommandSourceType cmdSource )
inline

Definition at line 701 of file AI.h.

◆ aiExitInstantly()

void AICommandInterface::aiExitInstantly ( Object * objectToExit,
CommandSourceType cmdSource )
inline

Definition at line 708 of file AI.h.

◆ aiFaceObject()

void AICommandInterface::aiFaceObject ( Object * target,
CommandSourceType cmdSource )
inline

Definition at line 785 of file AI.h.

◆ aiFacePosition()

void AICommandInterface::aiFacePosition ( const Coord3D * pos,
CommandSourceType cmdSource )
inline

Definition at line 792 of file AI.h.

◆ aiFollowExitProductionPath()

void AICommandInterface::aiFollowExitProductionPath ( const std::vector< Coord3D > * path,
Object * ignoreObject,
CommandSourceType cmdSource )
inline

Definition at line 540 of file AI.h.

◆ aiFollowPath()

void AICommandInterface::aiFollowPath ( const std::vector< Coord3D > * path,
Object * ignoreObject,
CommandSourceType cmdSource )
inline

Definition at line 548 of file AI.h.

◆ aiFollowPathAppend()

void AICommandInterface::aiFollowPathAppend ( const Coord3D * pos,
CommandSourceType cmdSource )
inline

Definition at line 556 of file AI.h.

◆ aiFollowWaypointPath()

void AICommandInterface::aiFollowWaypointPath ( const Waypoint * way,
CommandSourceType cmdSource )
inline

Definition at line 512 of file AI.h.

◆ aiFollowWaypointPathAsTeam()

void AICommandInterface::aiFollowWaypointPathAsTeam ( const Waypoint * way,
CommandSourceType cmdSource )
inline

Definition at line 526 of file AI.h.

◆ aiFollowWaypointPathExact()

void AICommandInterface::aiFollowWaypointPathExact ( const Waypoint * way,
CommandSourceType cmdSource )
inline

Definition at line 519 of file AI.h.

◆ aiFollowWaypointPathExactAsTeam()

void AICommandInterface::aiFollowWaypointPathExactAsTeam ( const Waypoint * way,
CommandSourceType cmdSource )
inline

Definition at line 533 of file AI.h.

◆ aiForceAttackObject()

void AICommandInterface::aiForceAttackObject ( Object * victim,
Int maxShotsToFire,
CommandSourceType cmdSource )
inline

Definition at line 571 of file AI.h.

◆ aiGetHealed()

void AICommandInterface::aiGetHealed ( Object * healDepot,
CommandSourceType cmdSource )
inline

Definition at line 673 of file AI.h.

◆ aiGetRepaired()

void AICommandInterface::aiGetRepaired ( Object * repairDepot,
CommandSourceType cmdSource )
inline

Definition at line 680 of file AI.h.

◆ aiGoProne()

void AICommandInterface::aiGoProne ( const DamageInfo * damageInfo,
CommandSourceType cmdSource )
inline

Definition at line 741 of file AI.h.

◆ aiGuardArea()

void AICommandInterface::aiGuardArea ( const PolygonTrigger * areaToGuard,
GuardMode guardMode,
CommandSourceType cmdSource )
inline

Definition at line 764 of file AI.h.

◆ aiGuardObject()

void AICommandInterface::aiGuardObject ( Object * objToGuard,
GuardMode guardMode,
CommandSourceType cmdSource )
inline

Definition at line 756 of file AI.h.

◆ aiGuardPosition()

void AICommandInterface::aiGuardPosition ( const Coord3D * pos,
GuardMode guardMode,
CommandSourceType cmdSource )
inline

Definition at line 748 of file AI.h.

◆ aiGuardRetaliate()

void AICommandInterface::aiGuardRetaliate ( Object * victim,
const Coord3D * pos,
Int maxShotsToFire,
CommandSourceType cmdSource )
inline

Definition at line 579 of file AI.h.

◆ aiGuardTunnelNetwork()

void AICommandInterface::aiGuardTunnelNetwork ( GuardMode guardMode,
CommandSourceType cmdSource )
inline

Definition at line 772 of file AI.h.

◆ aiHackInternet()

void AICommandInterface::aiHackInternet ( CommandSourceType cmdSource)
inline

Definition at line 779 of file AI.h.

◆ aiHunt()

void AICommandInterface::aiHunt ( CommandSourceType cmdSource)
inline

Definition at line 628 of file AI.h.

◆ aiIdle()

void AICommandInterface::aiIdle ( CommandSourceType cmdSource)
inline

Definition at line 500 of file AI.h.

◆ aiMoveAwayFromUnit()

void AICommandInterface::aiMoveAwayFromUnit ( Object * obj,
CommandSourceType cmdSource )
inline

Definition at line 838 of file AI.h.

◆ aiMoveToAndEvacuate()

void AICommandInterface::aiMoveToAndEvacuate ( const Coord3D * pos,
CommandSourceType cmdSource )
inline

Definition at line 486 of file AI.h.

◆ aiMoveToAndEvacuateAndExit()

void AICommandInterface::aiMoveToAndEvacuateAndExit ( const Coord3D * pos,
CommandSourceType cmdSource )
inline

Definition at line 493 of file AI.h.

◆ aiMoveToObject()

void AICommandInterface::aiMoveToObject ( Object * obj,
CommandSourceType cmdSource )
inline

Definition at line 472 of file AI.h.

◆ aiMoveToPosition()

void AICommandInterface::aiMoveToPosition ( const Coord3D * pos,
CommandSourceType cmdSource )
inline

Definition at line 458 of file AI.h.

◆ aiMoveToPositionEvenIfSleeping()

void AICommandInterface::aiMoveToPositionEvenIfSleeping ( const Coord3D * pos,
CommandSourceType cmdSource )
inline

Definition at line 465 of file AI.h.

◆ aiPanic()

void AICommandInterface::aiPanic ( const Waypoint * way,
CommandSourceType cmdSource )
inline

Definition at line 858 of file AI.h.

◆ aiRappelInto()

void AICommandInterface::aiRappelInto ( Object * target,
const Coord3D & pos,
CommandSourceType cmdSource )
inline

Definition at line 799 of file AI.h.

◆ aiRepair()

void AICommandInterface::aiRepair ( Object * obj,
CommandSourceType cmdSource )
inline

Definition at line 641 of file AI.h.

◆ aiResumeConstruction()

void AICommandInterface::aiResumeConstruction ( Object * obj,
CommandSourceType cmdSource )
inline

Definition at line 666 of file AI.h.

◆ aiTightenToPosition()

void AICommandInterface::aiTightenToPosition ( const Coord3D * pos,
CommandSourceType cmdSource )
inline

Definition at line 479 of file AI.h.

◆ aiWander()

void AICommandInterface::aiWander ( const Waypoint * way,
CommandSourceType cmdSource )
inline

Definition at line 845 of file AI.h.

◆ aiWanderInPlace()

void AICommandInterface::aiWanderInPlace ( CommandSourceType cmdSource)
inline

Definition at line 852 of file AI.h.


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