CySelectionGroup
- BOOL alwaysInvisible ()
bool ()
- CyArea area ()
CyArea ()*
- BOOL at (INT iX, INT iY)
bool (iX, iY) - is the group at plot iX, iY?
- BOOL atPlot (CyPlot pPlot)
bool (CyPlot* pPlot) - is the group at pPlot?
- INT baseMoves ()
int ()
- BOOL canAllMove ()
bool ()
- BOOL canAnyMove ()
bool ()
- BOOL canDefend ()
bool ()
- BOOL canDoCommand (CommandType eCommand, INT iData1, INT iData2, BOOL bTestVisible)
bool (eCommand, iData1, iData2, bTestVisible = False) - can the group perform eCommand?
- BOOL canDoInterfaceMode (InterfaceModeType eInterfaceMode)
bool (int (InterfaceModeTypes) eInterfaceMode)
- BOOL canDoInterfaceModeAt (InterfaceModeType eInterfaceMode, CyPlot pPlot)
bool (int (InterfaceModeTypes) eInterfaceMode, CyPlot* pPlot)
- BOOL canEnterArea (TeamType eTeam, CyArea pArea, BOOL bIgnoreRightOfPassage)
bool (int /*TeamTypes*/ eTeam, CyArea* pArea, bool bIgnoreRightOfPassage)
- BOOL canEnterTerritory (TeamType eTeam, BOOL bIgnoreRightOfPassage)
bool (int /*TeamTypes*/ eTeam, bool bIgnoreRightOfPassage)
- BOOL canFight ()
bool ()
- BOOL canMoveInto (CyPlot pPlot, BOOL bAttack)
bool (CyPlot* pPlot, bool bAttack) - can the group move into pPlot?
- BOOL canMoveOrAttackInto (CyPlot pPlot, BOOL bDeclareWar)
bool (CyPlot* pPlot, bool bDeclareWar) - can the group move or attack into pPlot?
- BOOL canMoveThrough (CyPlot pPlot)
bool (CyPlot* pPlot)
- BOOL canStartMission (INT iMission, INT iData1, INT iData2, CyPlot pPlot, BOOL bTestVisible)
bool (int iMission, int iData1, int iData2, CyPlot* pPlot, bool bTestVisible)
- VOID clearMissionQueue ()
void ()
- INT countNumUnitAIType (UnitAIType eUnitAI)
int (int (UnitAITypes) eUnitAI
- BOOL generatePath (CyPlot pFromPlot, CyPlot pToPlot, INT iFlags, BOOL bReuse, INT piPathTurns)
bool (CyPlot* pFromPlot, CyPlot* pToPlot, int iFlags, bool bReuse, int* piPathTurns)
- ActivityType getActivityType ()
int /*ActivityTypes*/ () - ActivityTypes the group is engaging in
- AutomateType getAutomateType ()
int /*AutomateTypes*/ () - AutomateTypes the group is engaging in
- RouteType getBestBuildRoute (CyPlot pPlot, BuildType peBestBuild)
int (RouteTypes) (CyPlot* pPlot, BuildTypes* peBestBuild)
- CyUnit getHeadUnit ()
CyUnit* ()
- INT getID ()
int () - the ID for the SelectionGroup
- INT getLengthMissionQueue ()
int ()
- INT getMissionData1 (INT iNode)
int (int iNode)
- INT getMissionData2 (INT iNode)
int (int iNode)
- MissionData getMissionFromQueue (INT iIndex)
MissionData* (int iIndex)
- INT getMissionType (INT iNode)
int (int iNode)
- INT getNumUnits ()
int ()
- PlayerType getOwner ()
int (PlayerTypes) () - ID for owner of the group
- CyPlot getPathEndTurnPlot ()
CyPlot* ()
- CyPlot getPathFirstPlot ()
CyPlot* ()
- TeamType getTeam ()
int (TeamTypes) () - ID for team owner of the group
- CyUnit getUnitAt (INT index)
CyUnit* (int index)
- BOOL hasCargo ()
bool ()
- BOOL hasMoved ()
bool ()
- BOOL hasWorker ()
bool ()
- BOOL isAmphibPlot (CyPlot pPlot)
bool (CyPlot* pPlot)
- BOOL isAutomated ()
bool () - Is the group automated?
- BOOL isFull ()
bool ()
- BOOL isHuman ()
bool ()
- BOOL isInvisible (TeamType eTeam)
bool (int eTeam)
- BOOL isNone ()
bool () - is this CySelectionGroup instance valid?
- BOOL isWaiting ()
bool ()
- CyPlot lastMissionPlot ()
CvPlot* ()
- CyPlot plot ()
CyPlot () - get plot that the group is on
- VOID popMission ()
void () - removes mission from queue
- VOID pushMission (MissionType eMission, INT iData1, INT iData2, INT iFlags, BOOL bAppend, BOOL bManual, MissionAIType eMissionAI, CyPlot pMissionAIPlot, CyUnit pMissionAIUnit)
void (eMission, iData1, iData2, iFlags, bAppend, bManual, eMissionAI, pMissionAIPlot, pMissionAIUnit)
- VOID pushMoveToMission (INT iX, INT iY)
void (plotX, plotY)
- BOOL readyToAuto ()
bool ()
- BOOL readyToMove (BOOL bAny)
bool (bool bAny) - is the group awake and ready to move?
- BOOL readyToSelect (BOOL bAny)
bool (bool bAny) - is the group able to be selected?
- VOID resetPath ()
void ()
- VOID setActivityType (ActivityType eNewValue)
void (int /*ActivityTypes*/ eNewValue) - set the group to this ActivityTypes
- VOID setAutomateType (AutomateType eNewValue)
void (int /*AutomateTypes*/ eNewValue) - get the group to perform this AutomateTypes