Interface MarketConnectionAPI


public interface MarketConnectionAPI
DO NOT store references to market connections, as the actual connection may not be persisted and a copy saved through a reference may not be the "real" connection after a savegame is loaded.
Author:
Alex Mosolov Copyright 2016 Fractal Softworks, LLC
  • Method Details

    • getId

      String getId()
    • getModifiedPrice

      float getModifiedPrice(float price)
    • getSmugglePrice

      float getSmugglePrice(float price)
    • getSmugglingMod

      StatBonus getSmugglingMod()
    • getPriceMod

      StatBonus getPriceMod()
    • isAllTradeIsSmuggling

      boolean isAllTradeIsSmuggling()
    • setAllTradeIsSmuggling

      void setAllTradeIsSmuggling(boolean allTradeIsSmuggling)
    • getMarketIdOne

      String getMarketIdOne()
    • getMarketIdTwo

      String getMarketIdTwo()
    • isEnabled

      boolean isEnabled()
    • setEnabled

      void setEnabled(boolean enabled)