Class PersonnelMarketLibraries
java.lang.Object
mekhq.campaign.market.personnelMarket.yaml.PersonnelMarketLibraries
Loads and provides access to different personnel market entry configurations for various market styles (e.g.,
MekHQ, Campaign Operations Revised, Campaign Operations Strict).
This class initializes its data from YAML configuration files, mapping each personnel role to its corresponding market entry parameters for Clan and Inner Sphere contexts, according to the selected ruleset.
Usage:
- Instantiate to load all market entry data from files.
- Retrieve Clan/Inner Sphere market maps with the appropriate getter.
- Since:
- 0.50.06
-
Constructor Summary
ConstructorsConstructorDescriptionInitializes all personnel market maps by loading entry lists from YAML configuration files for each supported market style and theater (Clan/Inner Sphere). -
Method Summary
Modifier and TypeMethodDescriptionClan market entries configured for the CamOps Revised Market Style.Clan market entries configured for the CamOps Strict Market Style.Clan market entries configured for the MekHQ Market Style.Inner Sphere market entries configured for the CamOps Revised Market Style.Inner Sphere market entries configured for the CamOps Strict Market Style.Inner Sphere market entries configured for the MekHQ Market Style.
-
Constructor Details
-
PersonnelMarketLibraries
public PersonnelMarketLibraries()Initializes all personnel market maps by loading entry lists from YAML configuration files for each supported market style and theater (Clan/Inner Sphere).
-
-
Method Details
-
getClanMarketMekHQ
Clan market entries configured for the MekHQ Market Style.- Returns:
- a
Map
mappingPersonnelRole
toPersonnelMarketEntry
for the MekHQ Market Style.
-
getInnerSphereMarketMekHQ
Inner Sphere market entries configured for the MekHQ Market Style.- Returns:
- a
Map
mappingPersonnelRole
toPersonnelMarketEntry
for the MekHQ Market Style.
-
getClanMarketCamOpsRevised
Clan market entries configured for the CamOps Revised Market Style.- Returns:
- a
Map
mappingPersonnelRole
toPersonnelMarketEntry
for the CamOps Market Style.
-
getInnerSphereMarketCamOpsRevised
Inner Sphere market entries configured for the CamOps Revised Market Style.- Returns:
- a
Map
mappingPersonnelRole
toPersonnelMarketEntry
for the CamOps Market Style.
-
getClanMarketCamOpsStrict
Clan market entries configured for the CamOps Strict Market Style.- Returns:
- a
Map
mappingPersonnelRole
toPersonnelMarketEntry
for the CamOps Market Style.
-
getInnerSphereMarketCamOpsStrict
Inner Sphere market entries configured for the CamOps Strict Market Style.- Returns:
- a
Map
mappingPersonnelRole
toPersonnelMarketEntry
for the CamOps Market Style.
-