#include <ActionManager.h>
Inherits SubsystemInterface.
Public Member Functions | |
| ActionManager (void) | |
| virtual | ~ActionManager (void) |
| virtual void | init (void) |
| virtual void | reset (void) |
| subsystem interface | |
| virtual void | update (void) |
| subsystem interface | |
| Bool | canGetRepairedAt (const Object *obj, const Object *repairDest, CommandSourceType commandSource) |
| subsystem interface | |
| Bool | canTransferSuppliesAt (const Object *obj, const Object *transferDest) |
| Bool | canDockAt (const Object *obj, const Object *dockDest, CommandSourceType commandSource) |
| Bool | canGetHealedAt (const Object *obj, const Object *healDest, CommandSourceType commandSource) |
| Bool | canRepairObject (const Object *obj, const Object *objectToRepair, CommandSourceType commandSource) |
| Bool | canResumeConstructionOf (const Object *obj, const Object *objectBeingConstructed, CommandSourceType commandSource) |
| Bool | canEnterObject (const Object *obj, const Object *objectToEnter, CommandSourceType commandSource, CanEnterType mode) |
| CanAttackResult | getCanAttackObject (const Object *obj, const Object *objectToAttack, CommandSourceType commandSource, AbleToAttackType attackType) |
| Bool | canConvertObjectToCarBomb (const Object *obj, const Object *objectToConvert, CommandSourceType commandSource) |
| Bool | canHijackVehicle (const Object *obj, const Object *ObjectToHijack, CommandSourceType commandSource) |
| Bool | canSabotageBuilding (const Object *obj, const Object *objectToSabotage, CommandSourceType commandSource) |
| Bool | canCaptureBuilding (const Object *obj, const Object *objectToCapture, CommandSourceType commandSource) |
| Bool | canDisableVehicleViaHacking (const Object *obj, const Object *objectToHack, CommandSourceType commandSource, Bool checkSourceRequirements=true) |
| Bool | canStealCashViaHacking (const Object *obj, const Object *objectToHack, CommandSourceType commandSource) |
| Bool | canSnipeVehicle (const Object *obj, const Object *objectToSnipe, CommandSourceType commandSource) |
| Bool | canBribeUnit (const Object *obj, const Object *objectToBribe, CommandSourceType commandSource) |
| Bool | canCutBuildingPower (const Object *obj, const Object *building, CommandSourceType commandSource) |
| Bool | canDisableBuildingViaHacking (const Object *obj, const Object *objectToHack, CommandSourceType commandSource) |
| Bool | canDoSpecialPowerAtLocation (const Object *obj, const Coord3D *loc, CommandSourceType commandSource, const SpecialPowerTemplate *spTemplate, const Object *objectInWay, UnsignedInt commandOptions, Bool checkSourceRequirements=true) |
| Bool | canDoSpecialPowerAtObject (const Object *obj, const Object *target, CommandSourceType commandSource, const SpecialPowerTemplate *spTemplate, UnsignedInt commandOptions, Bool checkSourceRequirements=true) |
| Bool | canDoSpecialPower (const Object *obj, const SpecialPowerTemplate *spTemplate, CommandSourceType commandSource, UnsignedInt commandOptions, Bool checkSourceRequirements=true) |
| Bool | canMakeObjectDefector (const Object *obj, const Object *objectToMakeDefector, CommandSourceType commandSource) |
| Bool | canFireWeaponAtLocation (const Object *obj, const Coord3D *loc, CommandSourceType commandSource, const WeaponSlotType slot, const Object *objectInWay) |
| Bool | canFireWeaponAtObject (const Object *obj, const Object *target, CommandSourceType commandSource, const WeaponSlotType slot) |
| Bool | canFireWeapon (const Object *obj, const WeaponSlotType slot, CommandSourceType commandSource) |
| Bool | canGarrison (const Object *obj, const Object *target, CommandSourceType commandSource) |
| Bool | canOverrideSpecialPowerDestination (const Object *obj, const Coord3D *loc, SpecialPowerType spType, CommandSourceType commandSource) |
| Bool | canPlayerGarrison (const Player *player, const Object *target, CommandSourceType commandSource) |
Public Member Functions inherited from SubsystemInterface | |
| SubsystemInterface () | |
| virtual | ~SubsystemInterface () |
| virtual void | postProcessLoad () |
| virtual void | draw (void) |
| void | UPDATE (void) |
| void | DRAW (void) |
| AsciiString | getName (void) |
| void | setName (AsciiString name) |
Additional Inherited Members | |
Protected Attributes inherited from SubsystemInterface | |
| AsciiString | m_name |
Definition at line 61 of file ActionManager.h.
| ActionManager::ActionManager | ( | void | ) |
Definition at line 132 of file ActionManager.cpp.
|
virtual |
Definition at line 139 of file ActionManager.cpp.
| Bool ActionManager::canBribeUnit | ( | const Object * | obj, |
| const Object * | objectToBribe, | ||
| CommandSourceType | commandSource ) |
Definition at line 1380 of file ActionManager.cpp.
| Bool ActionManager::canCaptureBuilding | ( | const Object * | obj, |
| const Object * | objectToCapture, | ||
| CommandSourceType | commandSource ) |
Definition at line 995 of file ActionManager.cpp.
| Bool ActionManager::canConvertObjectToCarBomb | ( | const Object * | obj, |
| const Object * | objectToConvert, | ||
| CommandSourceType | commandSource ) |
Definition at line 818 of file ActionManager.cpp.
| Bool ActionManager::canCutBuildingPower | ( | const Object * | obj, |
| const Object * | building, | ||
| CommandSourceType | commandSource ) |
Definition at line 1386 of file ActionManager.cpp.
| Bool ActionManager::canDisableBuildingViaHacking | ( | const Object * | obj, |
| const Object * | objectToHack, | ||
| CommandSourceType | commandSource ) |
Definition at line 1310 of file ActionManager.cpp.
| Bool ActionManager::canDisableVehicleViaHacking | ( | const Object * | obj, |
| const Object * | objectToHack, | ||
| CommandSourceType | commandSource, | ||
| Bool | checkSourceRequirements = true ) |
Definition at line 1100 of file ActionManager.cpp.
| Bool ActionManager::canDockAt | ( | const Object * | obj, |
| const Object * | dockDest, | ||
| CommandSourceType | commandSource ) |
Can object 'obj' dock with object 'dockDest' for any reason
Definition at line 290 of file ActionManager.cpp.
| Bool ActionManager::canDoSpecialPower | ( | const Object * | obj, |
| const SpecialPowerTemplate * | spTemplate, | ||
| CommandSourceType | commandSource, | ||
| UnsignedInt | commandOptions, | ||
| Bool | checkSourceRequirements = true ) |
Definition at line 1844 of file ActionManager.cpp.
| Bool ActionManager::canDoSpecialPowerAtLocation | ( | const Object * | obj, |
| const Coord3D * | loc, | ||
| CommandSourceType | commandSource, | ||
| const SpecialPowerTemplate * | spTemplate, | ||
| const Object * | objectInWay, | ||
| UnsignedInt | commandOptions, | ||
| Bool | checkSourceRequirements = true ) |
Definition at line 1460 of file ActionManager.cpp.
| Bool ActionManager::canDoSpecialPowerAtObject | ( | const Object * | obj, |
| const Object * | target, | ||
| CommandSourceType | commandSource, | ||
| const SpecialPowerTemplate * | spTemplate, | ||
| UnsignedInt | commandOptions, | ||
| Bool | checkSourceRequirements = true ) |
Definition at line 1582 of file ActionManager.cpp.
| Bool ActionManager::canEnterObject | ( | const Object * | obj, |
| const Object * | objectToEnter, | ||
| CommandSourceType | commandSource, | ||
| CanEnterType | mode ) |
Definition at line 526 of file ActionManager.cpp.
| Bool ActionManager::canFireWeapon | ( | const Object * | obj, |
| const WeaponSlotType | slot, | ||
| CommandSourceType | commandSource ) |
Definition at line 1992 of file ActionManager.cpp.
| Bool ActionManager::canFireWeaponAtLocation | ( | const Object * | obj, |
| const Coord3D * | loc, | ||
| CommandSourceType | commandSource, | ||
| const WeaponSlotType | slot, | ||
| const Object * | objectInWay ) |
Definition at line 1934 of file ActionManager.cpp.
| Bool ActionManager::canFireWeaponAtObject | ( | const Object * | obj, |
| const Object * | target, | ||
| CommandSourceType | commandSource, | ||
| const WeaponSlotType | slot ) |
Definition at line 1953 of file ActionManager.cpp.
| Bool ActionManager::canGarrison | ( | const Object * | obj, |
| const Object * | target, | ||
| CommandSourceType | commandSource ) |
Definition at line 2012 of file ActionManager.cpp.
| Bool ActionManager::canGetHealedAt | ( | const Object * | obj, |
| const Object * | healDest, | ||
| CommandSourceType | commandSource ) |
Definition at line 331 of file ActionManager.cpp.
| Bool ActionManager::canGetRepairedAt | ( | const Object * | obj, |
| const Object * | repairDest, | ||
| CommandSourceType | commandSource ) |
subsystem interface
Definition at line 146 of file ActionManager.cpp.
| Bool ActionManager::canHijackVehicle | ( | const Object * | obj, |
| const Object * | ObjectToHijack, | ||
| CommandSourceType | commandSource ) |
Definition at line 853 of file ActionManager.cpp.
| Bool ActionManager::canMakeObjectDefector | ( | const Object * | obj, |
| const Object * | objectToMakeDefector, | ||
| CommandSourceType | commandSource ) |
Definition at line 960 of file ActionManager.cpp.
| Bool ActionManager::canOverrideSpecialPowerDestination | ( | const Object * | obj, |
| const Coord3D * | loc, | ||
| SpecialPowerType | spType, | ||
| CommandSourceType | commandSource ) |
Definition at line 2084 of file ActionManager.cpp.
| Bool ActionManager::canPlayerGarrison | ( | const Player * | player, |
| const Object * | target, | ||
| CommandSourceType | commandSource ) |
Definition at line 2050 of file ActionManager.cpp.
| Bool ActionManager::canRepairObject | ( | const Object * | obj, |
| const Object * | objectToRepair, | ||
| CommandSourceType | commandSource ) |
Definition at line 383 of file ActionManager.cpp.
| Bool ActionManager::canResumeConstructionOf | ( | const Object * | obj, |
| const Object * | objectBeingConstructed, | ||
| CommandSourceType | commandSource ) |
Can 'obj' resume the construction of 'objectBeingConstructed'
Definition at line 453 of file ActionManager.cpp.
| Bool ActionManager::canSabotageBuilding | ( | const Object * | obj, |
| const Object * | objectToSabotage, | ||
| CommandSourceType | commandSource ) |
Definition at line 915 of file ActionManager.cpp.
| Bool ActionManager::canSnipeVehicle | ( | const Object * | obj, |
| const Object * | objectToSnipe, | ||
| CommandSourceType | commandSource ) |
Definition at line 1393 of file ActionManager.cpp.
| Bool ActionManager::canStealCashViaHacking | ( | const Object * | obj, |
| const Object * | objectToHack, | ||
| CommandSourceType | commandSource ) |
Definition at line 1224 of file ActionManager.cpp.
Definition at line 211 of file ActionManager.cpp.
| CanAttackResult ActionManager::getCanAttackObject | ( | const Object * | obj, |
| const Object * | objectToAttack, | ||
| CommandSourceType | commandSource, | ||
| AbleToAttackType | attackType ) |
Definition at line 723 of file ActionManager.cpp.
|
inlinevirtual |
Implements SubsystemInterface.
Definition at line 69 of file ActionManager.h.
|
inlinevirtual |
|
inlinevirtual |