update

fun update(offersToDisplay: TradeOffersList, otherOffers: TradeOffersList, untradableOffers: List<ResourceSupply> = emptyList())

Parameters

offersToDisplay

The offers which should be displayed as buttons

otherOffers

The list of other side's offers to compare with whether these offers are unique

untradableOffers

Things we got from sources that we can't trade on, displayed for completeness

Sources

jvm source
Link copied to clipboard