public class Commission extends BaseCommandPlugin
| Modifier and Type | Field and Description |
|---|---|
static RepLevel |
COMMISSION_REQ |
protected InteractionDialogAPI |
dialog |
protected SectorEntityToken |
entity |
protected FactionAPI |
entityFaction |
protected FactionAPI |
faction |
protected MemoryAPI |
memory |
protected java.util.Map<java.lang.String,MemoryAPI> |
memoryMap |
protected boolean |
offersCommissions |
protected OptionPanelAPI |
options |
protected PersonAPI |
person |
protected CargoAPI |
playerCargo |
protected FactionAPI |
playerFaction |
protected CampaignFleetAPI |
playerFleet |
protected TextPanelAPI |
text |
| Constructor and Description |
|---|
Commission() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
accept() |
boolean |
execute(java.lang.String ruleId,
InteractionDialogAPI dialog,
java.util.List<Misc.Token> params,
java.util.Map<java.lang.String,MemoryAPI> memoryMap) |
protected boolean |
hasFactionCommission() |
protected boolean |
hasOtherCommission() |
protected boolean |
personCanGiveCommission() |
protected boolean |
playerMeetsCriteria() |
protected void |
printInfo() |
protected void |
printRequirements() |
protected void |
resign(boolean withPenalty) |
doesCommandAddOptions, getEntityMemory, getOptionOrderpublic static RepLevel COMMISSION_REQ
protected CampaignFleetAPI playerFleet
protected SectorEntityToken entity
protected FactionAPI playerFaction
protected FactionAPI entityFaction
protected TextPanelAPI text
protected OptionPanelAPI options
protected CargoAPI playerCargo
protected InteractionDialogAPI dialog
protected FactionAPI faction
protected boolean offersCommissions
public Commission()
public boolean execute(java.lang.String ruleId, InteractionDialogAPI dialog, java.util.List<Misc.Token> params, java.util.Map<java.lang.String,MemoryAPI> memoryMap)
protected boolean hasFactionCommission()
protected boolean hasOtherCommission()
protected boolean personCanGiveCommission()
protected void resign(boolean withPenalty)
protected void accept()
protected void printInfo()
protected boolean playerMeetsCriteria()
protected void printRequirements()