Starsector API
Loading...
Searching...
No Matches
CommoditySpecAPI.java
Go to the documentation of this file.
1package com.fs.starfarer.api.campaign.econ;
2
3import java.util.Set;
4
5import com.fs.starfarer.api.impl.campaign.rulecmd.salvage.MarketCMD.RaidDangerLevel;
6
7public interface CommoditySpecAPI {
8 String getOrigin();
9 String getIconName();
11
12 void setOrder(float displayNumber);
13
15 float getOrder();
18 boolean isPrimary();
19 boolean isExotic();
20 boolean isMeta();
21 boolean isNonEcon();
22 String getId();
23 String getName();
24
30 float getBasePrice();
31 Set<String> getTags();
32 boolean hasTag(String tag);
33
34 void setBasePrice(float price);
35
36
42 float getUtility();
44
46 float getEconUnit();
47
48 boolean isPersonnel();
49 boolean isFuel();
50 boolean isSupplies();
53
55 void setExportValue(float exportValue);
56 String getSoundId();
57
58 RaidDangerLevel getBaseDanger();
59 void setBaseDanger(RaidDangerLevel danger);
60
61 void setName(String displayName);
62 void setIconName(String iconName);
63 void setDemandClass(String demandClass);
64}
65
66
67