Package net.runelite.api
Interface AmbientSoundEffect
-
public interface AmbientSoundEffectAn ambient sound effect. These are loaded only at scene load and are used to play ambient sound effects that are purely client side and not sent from the server.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int[]getBackgroundSoundEffectIds()The background sound effect ids.LocalPointgetMaxPosition()The max x/y position of the area this sound effect is atLocalPointgetMinPosition()The min x/y position of the area this sound effect is at.intgetPlane()The plane the sound effect is onintgetSoundEffectId()The id of the sound effect
-
-
-
Method Detail
-
getSoundEffectId
int getSoundEffectId()
The id of the sound effect- Returns:
- See Also:
SoundEffectID
-
getBackgroundSoundEffectIds
@Nullable int[] getBackgroundSoundEffectIds()
The background sound effect ids. One sound effect is picked from this at random.- Returns:
- See Also:
SoundEffectID
-
getPlane
int getPlane()
The plane the sound effect is on- Returns:
-
getMinPosition
LocalPoint getMinPosition()
The min x/y position of the area this sound effect is at.- Returns:
-
getMaxPosition
LocalPoint getMaxPosition()
The max x/y position of the area this sound effect is at- Returns:
-
-