Ballistica Logo

bauiv1lib.profile package

Submodules

bauiv1lib.profile.browser module

UI functionality related to browsing player profiles.

class bauiv1lib.profile.browser.ProfileBrowserWindow(transition: str = 'in_right', in_main_menu: bool = True, selected_profile: str | None = None, origin_widget: Widget | None = None)[source]

Bases: Window

Window for browsing player profiles.

bauiv1lib.profile.edit module

Provides UI to edit a player profile.

class bauiv1lib.profile.edit.EditProfileWindow(existing_profile: str | None, in_main_menu: bool, transition: str = 'in_right')[source]

Bases: Window

Window for editing a player profile.

assign_random_name() None[source]

Assigning a random name to the player.

color_picker_closing(picker: ColorPicker) None[source]

Called when a color picker is closing.

color_picker_selected_color(picker: ColorPicker, color: tuple[float, float, float]) None[source]

Called when a color is selected in a color picker.

getname() str[source]

Return the current profile name value.

on_character_picker_pick(character: str) None[source]

A character has been selected by the picker.

on_icon_picker_pick(icon: str) None[source]

An icon has been selected by the picker.

refresh_characters() None[source]

Refresh available characters/icons.

reload_window() None[source]

Transitions out and recreates ourself.

save(transition_out: bool = True) bool[source]

Save has been selected.

show_account_profile_info() None[source]

Show an explanation of account profiles.

show_global_profile_info() None[source]

Show an explanation of global profiles.

show_local_profile_info() None[source]

Show an explanation of local profiles.

upgrade_profile() None[source]

Attempt to upgrade the profile to global.

bauiv1lib.profile.upgrade module

UI for player profile upgrades.

class bauiv1lib.profile.upgrade.ProfileUpgradeWindow(edit_profile_window: EditProfileWindow, transition: str = 'in_right')[source]

Bases: Window

Window for player profile upgrades to global.

Module contents