| Modifier and Type | Method and Description |
|---|---|
void |
addTradeStep(ITradeStep tradeStep,
INavigableVessel vessel)
Add a new trade step at the end of the list.
|
IAICaptainHireStrategyType |
getCaptainHireStrategyType()
Retrieve the type of the strategy to hire captains.
|
IAIConstructionSelectionStrategyType |
getConstructionSelectionType()
Retrieve the type of the strategy to use for deciding how to build new ships.
|
IAIEventDecisionStrategyType |
getEventDecitionStrategyType()
Retrieve the strategy type for event decission.
|
IAIGuildJoinStrategyType |
getGuildJoinStrategyType()
Retrieve the strategy to join guilds.
|
IAIHireSailorsStrategyType |
getHireSailorStrategyType()
Retreive the strategy type for hiring the sailors.
|
IAIHireTradeManagerStrategyType |
getHireTradeManagerStrategyType()
Retrieve the strategy for hiring and dismissing trade managers.
|
ITradeStep |
getNextTradeStep(INavigableVessel vessel)
Retrieve the next trade step that should be executed and remove it from the list.
|
AIPlayerContext |
getPlayerContext()
Retrieve the context for this player.
|
IProductionConsumptionKnowledge |
getProductionAndConsumptionKnowledge()
Retrieve the knowledge of production and consumption.
|
IAIShipRepairStrategyType |
getShipRepairStrategyType()
Retrieve the type of for the ship repair strategy.
|
IAIShipUpgradeStrategyType |
getShipUpgradeStrategyType()
Retrieve the strategy type for upgrading ships.
|
IAITakeLoanStrategyType |
getTakeLoanStrategyType()
Retrieve the type of the strategy for taking a loan.
|
ITradeMissionData |
getTradeMission(INavigableVessel vessel)
Retrieve the trade mission of a given vessel.
|
IAITradeStrategyType |
getTradeStrategyType(INavigableVessel vessel)
Retreive the the type of trade strategy.
|
IAIBuyWeaponStrategyType |
getWeaponBuyStrategyType()
Retrieve the strategy type for buying weapons.
|
boolean |
hasMoreTradeSteps(INavigableVessel vessel)
Check if there are further trade steps.
|
void |
injectTradeStep(ITradeStep tradeStep,
INavigableVessel vessel)
Inject a trade step at the beinning of the task list for the vessel
|
boolean |
isInitialized(INavigableVessel vessel)
Check if the trade strategy for the vessel is initialized.
|
void |
setTradeMission(INavigableVessel vessel,
ITradeMissionData tradeMission)
Add trade mission data fo a vessel.
|
void |
setTradeStrategyType(INavigableVessel vessel,
IAITradeStrategyType type) |
void |
updateTradeWaitingStatus(INavigableVessel vessel,
boolean wait)
Update the waiting status upon the execution of a trade step.
|
boolean |
waitingForTradeStepToFinish(INavigableVessel vessel)
Check if the next trade step can be executed for the vessel, or if the last
trade step requires waiting on an event.
|
addSelectableVessel, addShip, findBuildings, findBuildings, findShips, findTradingOffice, getCareerLevel, getChildren, getCompany, getCriminalDrive, getFleet, getPersonalData, getSegmentedMap, getSelectableVessels, getSpouseData, getUuid, marry, removeSelectableVessel, removeShip, setCareerLevel, setSegmentedMap, spouseDies, updateCrimialDrive, updateRankgetHometown, getLastName, getName, getRankreceiveSumgetLastName, getNamevoid setTradeStrategyType(INavigableVessel vessel, IAITradeStrategyType type)
IAITradeStrategyType getTradeStrategyType(INavigableVessel vessel)
IAIShipRepairStrategyType getShipRepairStrategyType()
IAITakeLoanStrategyType getTakeLoanStrategyType()
IAIEventDecisionStrategyType getEventDecitionStrategyType()
IAIConstructionSelectionStrategyType getConstructionSelectionType()
IAICaptainHireStrategyType getCaptainHireStrategyType()
IAIGuildJoinStrategyType getGuildJoinStrategyType()
IAIBuyWeaponStrategyType getWeaponBuyStrategyType()
IAIShipUpgradeStrategyType getShipUpgradeStrategyType()
IAIHireSailorsStrategyType getHireSailorStrategyType()
IAIHireTradeManagerStrategyType getHireTradeManagerStrategyType()
IProductionConsumptionKnowledge getProductionAndConsumptionKnowledge()
ITradeStep getNextTradeStep(INavigableVessel vessel)
vessel - for which the next trade step should be checked.boolean hasMoreTradeSteps(INavigableVessel vessel)
vessel - which should be checked.void addTradeStep(ITradeStep tradeStep, INavigableVessel vessel)
vessel - for which the step should be added.tradeStep - to be added.ITradeMissionData getTradeMission(INavigableVessel vessel)
vessel - void setTradeMission(INavigableVessel vessel, ITradeMissionData tradeMission)
vessel - tradeMission - void injectTradeStep(ITradeStep tradeStep, INavigableVessel vessel)
vessel - for which the step should be added.tradeStep - to be added.boolean waitingForTradeStepToFinish(INavigableVessel vessel)
vessel - for which the status should be checked.void updateTradeWaitingStatus(INavigableVessel vessel, boolean wait)
vessel - for which the status should be updated.wait - inicate if the next trade step should wait.boolean isInitialized(INavigableVessel vessel)
vessel - to be checkedAIPlayerContext getPlayerContext()
Copyright © 2011-2018 Sahits GmbH. All Rights Reserved.