Package com.fs.starfarer.api.impl
Class MusicPlayerPluginImpl
java.lang.Object
com.fs.starfarer.api.impl.MusicPlayerPluginImpl
- All Implemented Interfaces:
MusicPlayerPlugin
,MusicPlayerPluginWithVolumeControl
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic Object
static Object
static Object
static String
static String
static Object
static Object
static String
static Object
static String
static String
static String
static String
static String
static String
static Object
static Object
static String
static Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected String
getEncounterMusicSetId
(Object param) protected String
protected String
getMarketMusicSetId
(Object param) getMusicSetIdForCampaignStateToken
(Object token, Object param) Called for the following states: MusicPlayerPluginImpl.MARKET MusicPlayerPluginImpl.ENCOUNTER MusicPlayerPluginImpl.PLANET_SURVEY MusicPlayerPluginImpl.CAMPAIGN_SYSTEM MusicPlayerPluginImpl.CAMPAIGN_HYPERSPACE ...float
getMusicSetVolumeForCampaignStateToken
(Object token, Object param) protected String
getPlanetSurveyMusicSetId
(Object param) protected String
Called when free-flying in the campaign only, i.e.static Object
Goal here is to return tokens for which an == comparison works.
-
Field Details
-
KEEP_PLAYING_LOCATION_MUSIC_DURING_ENCOUNTER_MEM_KEY
-
COMBAT_MUSIC_SET_MEM_KEY
-
COMBAT_MUSIC_SET_FACTION_KEY
-
MUSIC_SET_MEM_KEY
-
MUSIC_SET_MEM_KEY_MISSION
-
MUSIC_ENCOUNTER_MYSTERIOUS_AGGRO
-
MUSIC_ENCOUNTER_MYSTERIOUS_NON_AGGRESSIVE
-
MUSIC_ENCOUNTER_NEUTRAL
-
MUSIC_GALATIA_ACADEMY
-
CAMPAIGN_SYSTEM
-
CAMPAIGN_HYPERSPACE
-
NO_MUSIC
-
COMBAT
-
TITLE
-
MARKET
-
ENCOUNTER
-
PLANET_SURVEY
-
CUSTOM
-
stringTokens
-
SYSTEM_MUSIC_PREFIX
-
-
Constructor Details
-
MusicPlayerPluginImpl
public MusicPlayerPluginImpl()
-
-
Method Details
-
getToken
Goal here is to return tokens for which an == comparison works.- Parameters:
str
-- Returns:
-
getStateTokenForCampaignLocation
Description copied from interface:MusicPlayerPlugin
Called when free-flying in the campaign only, i.e. not in any sort of interaction dialog.- Specified by:
getStateTokenForCampaignLocation
in interfaceMusicPlayerPlugin
- Returns:
-
getMusicSetIdForCombat
- Specified by:
getMusicSetIdForCombat
in interfaceMusicPlayerPlugin
-
getMusicSetIdForTitle
- Specified by:
getMusicSetIdForTitle
in interfaceMusicPlayerPlugin
-
getMusicSetVolumeForCampaignStateToken
- Specified by:
getMusicSetVolumeForCampaignStateToken
in interfaceMusicPlayerPluginWithVolumeControl
-
getMusicSetIdForCampaignStateToken
Description copied from interface:MusicPlayerPlugin
Called for the following states: MusicPlayerPluginImpl.MARKET MusicPlayerPluginImpl.ENCOUNTER MusicPlayerPluginImpl.PLANET_SURVEY MusicPlayerPluginImpl.CAMPAIGN_SYSTEM MusicPlayerPluginImpl.CAMPAIGN_HYPERSPACE ... and any other states returned by getStateTokenForCampaignLocation()- Specified by:
getMusicSetIdForCampaignStateToken
in interfaceMusicPlayerPlugin
- Returns:
-
getPlanetSurveyMusicSetId
- Parameters:
param
- is a MarketAPI.- Returns:
-
getHyperspaceMusicSetId
-
getStarSystemMusicSetId
-
getEncounterMusicSetId
-
getMarketMusicSetId
-