public class DeliveryBarEvent extends BaseGetCommodityBarEvent
| Modifier and Type | Class and Description |
|---|---|
static class |
DeliveryBarEvent.DestinationData |
| Modifier and Type | Field and Description |
|---|---|
static float |
ACCEPTED_AT_THIS_MARKET_DURATION |
protected DeliveryBarEvent.DestinationData |
data |
protected MarketAPI |
destination |
protected float |
duration |
protected int |
escrow |
protected FactionAPI |
faction |
static float |
FAILED_RECENTLY_DURATION |
static java.lang.String |
KEY_ACCEPTED_AT_THIS_MARKET_RECENTLY |
static java.lang.String |
KEY_FAILED_RECENTLY |
static java.lang.String |
KEY_SAW_DELIVERY_EVENT_RECENTLY |
protected int |
playerCargoCap |
protected int |
playerFuelCap |
static float |
PROB_HIGHER_CAPACITY |
static float |
PROB_TO_SHOW |
protected int |
reward |
static float |
SAW_RECENTLY_DURATION |
commodity, market, OPTION_CANCEL, OPTION_CONFIRM, OPTION_CONTINUE, person, quantity, random, seed, unitPricedialog, done, memoryMap, noContinue, options, shownAt, text| Constructor and Description |
|---|
DeliveryBarEvent() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addStoryOption() |
protected void |
adjustPerson(PersonAPI person) |
protected boolean |
canAccept() |
protected void |
computeData(MarketAPI market) |
protected void |
createIntel() |
protected void |
doStandardConfirmActions() |
protected java.lang.String |
getAcceptText() |
protected java.lang.String |
getCancelText() |
protected java.lang.String |
getConfirmText() |
DeliveryBarEvent.DestinationData |
getData() |
MarketAPI |
getDestination() |
float |
getDuration() |
int |
getEscrow() |
FactionAPI |
getFaction() |
protected java.lang.String |
getMainText() |
protected java.awt.Color[] |
getMainTextColors() |
protected java.lang.String[] |
getMainTextTokens() |
protected int |
getNegotiatedAmount() |
protected java.lang.String |
getNegotiatedText() |
protected java.lang.String |
getOptionText() |
protected java.lang.String |
getPersonFaction() |
protected java.lang.String |
getPersonPost() |
protected java.lang.String |
getPersonRank() |
protected float |
getPriceMult() |
protected java.lang.String |
getPrompt() |
int |
getQuantity() |
int |
getReward() |
protected void |
regen(MarketAPI market) |
boolean |
shouldShowAtMarket(MarketAPI market) |
protected boolean |
showCargoCap() |
protected void |
showTotalAndOptions() |
addPromptAndOption, computeQuantity, createPerson, doConfirmActionsPreAcceptText, doExtraConfirmActions, getAcceptTextColors, getAcceptTextTokens, getCanNotAcceptTooltip, getCommodityId, getDeclineText, getDeclineTextColors, getDeclineTextTokens, getHeOrShe, getHimOrHer, getHimOrHerself, getHisOrHer, getMainText2, getMainText2Colors, getMainText2Tokens, getManOrWoman, getMarket, getPerson, init, isDialogFinished, optionSelected, pickHighImportance, pickImportance, pickLowImportance, pickMediumImportance, pickOneadvance, endWithContinue, getBarEventId, getShownAt, isAlwaysShow, shouldRemoveEvent, wasShownAtMarketpublic static java.lang.String KEY_FAILED_RECENTLY
public static java.lang.String KEY_SAW_DELIVERY_EVENT_RECENTLY
public static java.lang.String KEY_ACCEPTED_AT_THIS_MARKET_RECENTLY
public static float PROB_HIGHER_CAPACITY
public static float FAILED_RECENTLY_DURATION
public static float SAW_RECENTLY_DURATION
public static float ACCEPTED_AT_THIS_MARKET_DURATION
public static float PROB_TO_SHOW
protected MarketAPI destination
protected int reward
protected int escrow
protected float duration
protected FactionAPI faction
protected int playerCargoCap
protected int playerFuelCap
protected DeliveryBarEvent.DestinationData data
public DeliveryBarEvent()
public boolean shouldShowAtMarket(MarketAPI market)
shouldShowAtMarket in interface PortsideBarEventshouldShowAtMarket in class BaseBarEventprotected void regen(MarketAPI market)
regen in class BaseGetCommodityBarEventprotected void computeData(MarketAPI market)
protected int getNegotiatedAmount()
protected void addStoryOption()
addStoryOption in class BaseGetCommodityBarEventprotected boolean canAccept()
canAccept in class BaseGetCommodityBarEventprotected void doStandardConfirmActions()
doStandardConfirmActions in class BaseGetCommodityBarEventprotected void createIntel()
protected void adjustPerson(PersonAPI person)
adjustPerson in class BaseGetCommodityBarEventprotected java.lang.String getPersonFaction()
getPersonFaction in class BaseGetCommodityBarEventprotected java.lang.String getPersonRank()
getPersonRank in class BaseGetCommodityBarEventprotected java.lang.String getPersonPost()
getPersonPost in class BaseGetCommodityBarEventprotected float getPriceMult()
getPriceMult in class BaseGetCommodityBarEventprotected java.lang.String getPrompt()
getPrompt in class BaseGetCommodityBarEventprotected java.lang.String getOptionText()
getOptionText in class BaseGetCommodityBarEventprotected java.lang.String getMainText()
getMainText in class BaseGetCommodityBarEventprotected java.lang.String[] getMainTextTokens()
getMainTextTokens in class BaseGetCommodityBarEventprotected java.awt.Color[] getMainTextColors()
getMainTextColors in class BaseGetCommodityBarEventprotected java.lang.String getConfirmText()
getConfirmText in class BaseGetCommodityBarEventprotected java.lang.String getNegotiatedText()
protected java.lang.String getCancelText()
getCancelText in class BaseGetCommodityBarEventprotected java.lang.String getAcceptText()
getAcceptText in class BaseGetCommodityBarEventpublic MarketAPI getDestination()
public int getReward()
public float getDuration()
public FactionAPI getFaction()
public DeliveryBarEvent.DestinationData getData()
public int getQuantity()
public int getEscrow()
protected boolean showCargoCap()
showCargoCap in class BaseGetCommodityBarEventprotected void showTotalAndOptions()
showTotalAndOptions in class BaseGetCommodityBarEvent