Package com.fs.starfarer.api
Interface MusicPlayerPluginWithVolumeControl
- All Superinterfaces:
MusicPlayerPlugin
- All Known Implementing Classes:
MusicPlayerPluginImpl
WARNING
Do not store campaign data in data members of an implementation of this interface.
There is only one instance of it per application session and references to campaign
data will likely cause memory leaks.
If data storage is required, use SectorAPI.getMemory() or other such.
-
Method Summary
Modifier and TypeMethodDescriptionfloat
getMusicSetVolumeForCampaignStateToken
(Object token, Object param) Methods inherited from interface com.fs.starfarer.api.MusicPlayerPlugin
getMusicSetIdForCampaignStateToken, getMusicSetIdForCombat, getMusicSetIdForTitle, getStateTokenForCampaignLocation
-
Method Details
-
getMusicSetVolumeForCampaignStateToken
-