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, unitPrice
dialog, 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, pickOne
advance, endWithContinue, getBarEventId, getShownAt, isAlwaysShow, shouldRemoveEvent, wasShownAtMarket
public 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 boolean shouldShowAtMarket(MarketAPI market)
shouldShowAtMarket
in interface PortsideBarEvent
shouldShowAtMarket
in class BaseBarEvent
protected void regen(MarketAPI market)
regen
in class BaseGetCommodityBarEvent
protected void computeData(MarketAPI market)
protected int getNegotiatedAmount()
protected void addStoryOption()
addStoryOption
in class BaseGetCommodityBarEvent
protected boolean canAccept()
canAccept
in class BaseGetCommodityBarEvent
protected void doStandardConfirmActions()
doStandardConfirmActions
in class BaseGetCommodityBarEvent
protected void createIntel()
protected void adjustPerson(PersonAPI person)
adjustPerson
in class BaseGetCommodityBarEvent
protected java.lang.String getPersonFaction()
getPersonFaction
in class BaseGetCommodityBarEvent
protected java.lang.String getPersonRank()
getPersonRank
in class BaseGetCommodityBarEvent
protected java.lang.String getPersonPost()
getPersonPost
in class BaseGetCommodityBarEvent
protected float getPriceMult()
getPriceMult
in class BaseGetCommodityBarEvent
protected java.lang.String getPrompt()
getPrompt
in class BaseGetCommodityBarEvent
protected java.lang.String getOptionText()
getOptionText
in class BaseGetCommodityBarEvent
protected java.lang.String getMainText()
getMainText
in class BaseGetCommodityBarEvent
protected java.lang.String[] getMainTextTokens()
getMainTextTokens
in class BaseGetCommodityBarEvent
protected java.awt.Color[] getMainTextColors()
getMainTextColors
in class BaseGetCommodityBarEvent
protected java.lang.String getConfirmText()
getConfirmText
in class BaseGetCommodityBarEvent
protected java.lang.String getNegotiatedText()
protected java.lang.String getCancelText()
getCancelText
in class BaseGetCommodityBarEvent
protected java.lang.String getAcceptText()
getAcceptText
in class BaseGetCommodityBarEvent
public 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 BaseGetCommodityBarEvent
protected void showTotalAndOptions()
showTotalAndOptions
in class BaseGetCommodityBarEvent
Copyright © 2013 Fractal Softworks, LLC. All Rights Reserved.