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

#include <SpawnBehavior.h>

Inherited by SpawnBehavior.

Public Member Functions

virtual Bool maySpawnSelfTaskAI (Real maxSelfTaskersRatio)=0
 
virtual void onSpawnDeath (ObjectID deadSpawn, DamageInfo *damageInfo)=0
 
virtual ObjectgetClosestSlave (const Coord3D *pos)=0
 
virtual void orderSlavesToAttackTarget (Object *target, Int maxShotsToFire, CommandSourceType cmdSource)=0
 
virtual void orderSlavesToAttackPosition (const Coord3D *pos, Int maxShotsToFire, CommandSourceType cmdSource)=0
 
virtual CanAttackResult getCanAnySlavesAttackSpecificTarget (AbleToAttackType attackType, const Object *target, CommandSourceType cmdSource)=0
 
virtual CanAttackResult getCanAnySlavesUseWeaponAgainstTarget (AbleToAttackType attackType, const Object *victim, const Coord3D *pos, CommandSourceType cmdSource)=0
 
virtual Bool canAnySlavesAttack ()=0
 
virtual void orderSlavesToGoIdle (CommandSourceType cmdSource)=0
 
virtual void orderSlavesDisabledUntil (DisabledType type, UnsignedInt frame)=0
 
virtual void orderSlavesToClearDisabled (DisabledType type)=0
 
virtual void giveSlavesStealthUpgrade (Bool grantStealth)=0
 
virtual Bool areAllSlavesStealthed () const =0
 
virtual void revealSlaves ()=0
 
virtual Bool doSlavesHaveFreedom () const =0
 

Detailed Description

Definition at line 111 of file SpawnBehavior.h.

Member Function Documentation

◆ areAllSlavesStealthed()

virtual Bool SpawnBehaviorInterface::areAllSlavesStealthed ( ) const
pure virtual

Implemented in SpawnBehavior.

◆ canAnySlavesAttack()

virtual Bool SpawnBehaviorInterface::canAnySlavesAttack ( )
pure virtual

Implemented in SpawnBehavior.

◆ doSlavesHaveFreedom()

virtual Bool SpawnBehaviorInterface::doSlavesHaveFreedom ( ) const
pure virtual

Implemented in SpawnBehavior.

◆ getCanAnySlavesAttackSpecificTarget()

virtual CanAttackResult SpawnBehaviorInterface::getCanAnySlavesAttackSpecificTarget ( AbleToAttackType attackType,
const Object * target,
CommandSourceType cmdSource )
pure virtual

Implemented in SpawnBehavior.

◆ getCanAnySlavesUseWeaponAgainstTarget()

virtual CanAttackResult SpawnBehaviorInterface::getCanAnySlavesUseWeaponAgainstTarget ( AbleToAttackType attackType,
const Object * victim,
const Coord3D * pos,
CommandSourceType cmdSource )
pure virtual

Implemented in SpawnBehavior.

◆ getClosestSlave()

virtual Object * SpawnBehaviorInterface::getClosestSlave ( const Coord3D * pos)
pure virtual

Implemented in SpawnBehavior.

◆ giveSlavesStealthUpgrade()

virtual void SpawnBehaviorInterface::giveSlavesStealthUpgrade ( Bool grantStealth)
pure virtual

Implemented in SpawnBehavior.

◆ maySpawnSelfTaskAI()

virtual Bool SpawnBehaviorInterface::maySpawnSelfTaskAI ( Real maxSelfTaskersRatio)
pure virtual

Implemented in SpawnBehavior.

◆ onSpawnDeath()

virtual void SpawnBehaviorInterface::onSpawnDeath ( ObjectID deadSpawn,
DamageInfo * damageInfo )
pure virtual

Implemented in SpawnBehavior.

◆ orderSlavesDisabledUntil()

virtual void SpawnBehaviorInterface::orderSlavesDisabledUntil ( DisabledType type,
UnsignedInt frame )
pure virtual

Implemented in SpawnBehavior.

◆ orderSlavesToAttackPosition()

virtual void SpawnBehaviorInterface::orderSlavesToAttackPosition ( const Coord3D * pos,
Int maxShotsToFire,
CommandSourceType cmdSource )
pure virtual

Implemented in SpawnBehavior.

◆ orderSlavesToAttackTarget()

virtual void SpawnBehaviorInterface::orderSlavesToAttackTarget ( Object * target,
Int maxShotsToFire,
CommandSourceType cmdSource )
pure virtual

Implemented in SpawnBehavior.

◆ orderSlavesToClearDisabled()

virtual void SpawnBehaviorInterface::orderSlavesToClearDisabled ( DisabledType type)
pure virtual

Implemented in SpawnBehavior.

◆ orderSlavesToGoIdle()

virtual void SpawnBehaviorInterface::orderSlavesToGoIdle ( CommandSourceType cmdSource)
pure virtual

Implemented in SpawnBehavior.

◆ revealSlaves()

virtual void SpawnBehaviorInterface::revealSlaves ( )
pure virtual

Implemented in SpawnBehavior.


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