using System;
using Net.Eagle0.Eagle.Api;

namespace eagle {
    using ProvinceId = Int32;

    public class ReturnCommandSelector : CommandSelector {
        public override AvailableCommand.SealedValueOneofCase CommandType =>
                AvailableCommand.SealedValueOneofCase.ReturnCommand;
        public override string HeaderString => "Return to Base";
        public override string CommitButtonString => "Commit Return";

        private ReturnAvailableCommand ReturnAvailableCommand => _availableCommand.ReturnCommand;
        private ProvinceId ActingProvinceId => ReturnAvailableCommand.ActingProvinceId;

        public override SelectedCommand Command =>
                new SelectedCommand { ReturnSelectedCommand = new ReturnSelectedCommand() };

        protected override void SetUpUI() {}
    }
}
