diff --git a/assets/src/ba_data/python/_ba.py b/assets/src/ba_data/python/_ba.py index c3ff6d76..0190c5d5 100644 --- a/assets/src/ba_data/python/_ba.py +++ b/assets/src/ba_data/python/_ba.py @@ -34,7 +34,7 @@ NOTE: This file was autogenerated by gendummymodule; do not edit by hand. """ # (hash we can use to see if this file is out of date) -# SOURCES_HASH=140243910598492207243870278972956193008 +# SOURCES_HASH=166094941497544152153395869789035079688 # I'm sorry Pylint. I know this file saddens you. Be strong. # pylint: disable=useless-suppression diff --git a/assets/src/ba_data/python/ba/_music.py b/assets/src/ba_data/python/ba/_music.py index 8653f906..58522c62 100644 --- a/assets/src/ba_data/python/ba/_music.py +++ b/assets/src/ba_data/python/ba/_music.py @@ -36,6 +36,10 @@ class MusicType(Enum): """Types of music available to play in-game. Category: Enums + + These do not correspond to specific pieces of music, but rather to + 'situations'. The actual music played for each type can be overridden + by the game or by the user. """ MENU = 'Menu' VICTORY = 'Victory' @@ -453,6 +457,7 @@ class MusicPlayer: signify that the default soundtrack should be used..""" # Subclasses should override the following: + def on_set_volume(self, volume: float) -> None: """Called when the volume should be changed.""" diff --git a/docs/ba_module.md b/docs/ba_module.md index 07490722..f4b7993e 100644 --- a/docs/ba_module.md +++ b/docs/ba_module.md @@ -1,5 +1,5 @@ -
This page documents the Python classes and functions in the 'ba' module, which are the ones most relevant to modding in Ballistica. If you come across something you feel should be included here or could be better explained, please let me know. Happy modding!
inherits from: enum.Enum
Types of music available to play in-game.
-Category: Enums +
Category: Enums
+ +These do not correspond to specific pieces of music, but rather to + 'situations'. The actual music played for each type can be overridden + by the game or by the user.