using System.Windows.Input; using Avalonia; using Avalonia.Controls; using SPT.Launcher.Models.Launcher; namespace SPT.Launcher.CustomControls; public partial class GameLaunchBar : UserControl { public GameLaunchBar() { InitializeComponent(); } public static readonly StyledProperty ProfileInfoProperty = AvaloniaProperty.Register( "ProfileInfo"); public ProfileInfo ProfileInfo { get => GetValue(ProfileInfoProperty); set => SetValue(ProfileInfoProperty, value); } public static readonly StyledProperty StartGameCommandProperty = AvaloniaProperty.Register( "StartGameCommand"); public ICommand StartGameCommand { get => GetValue(StartGameCommandProperty); set => SetValue(StartGameCommandProperty, value); } public static readonly StyledProperty LogoutCommandProperty = AvaloniaProperty.Register( "LogoutCommand"); public ICommand LogoutCommand { get => GetValue(LogoutCommandProperty); set => SetValue(LogoutCommandProperty, value); } }