mirror of
https://github.com/babalae/better-genshin-impact.git
synced 2026-05-21 09:45:48 +08:00
58 lines
1.8 KiB
C#
58 lines
1.8 KiB
C#
using CommunityToolkit.Mvvm.ComponentModel;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text.Json.Serialization;
|
|
|
|
namespace BetterGenshinImpact.Core.Config;
|
|
|
|
[Serializable]
|
|
public partial class PathingPartyConfig : ObservableObject
|
|
{
|
|
// 配置是否启用,不启用会使用路径追踪内的条件配置
|
|
[ObservableProperty]
|
|
private bool _enabled = false;
|
|
|
|
// 切换到队伍的名称
|
|
[ObservableProperty]
|
|
private string _partyName = string.Empty;
|
|
|
|
// 主要行走追踪的角色编号
|
|
[ObservableProperty]
|
|
private string _mainAvatarIndex = string.Empty;
|
|
|
|
// [盾角]使用元素战技的角色编号
|
|
[ObservableProperty]
|
|
private string _guardianAvatarIndex = string.Empty;
|
|
|
|
// [盾角]使用元素战技的时间间隔(s)
|
|
[ObservableProperty]
|
|
private string _guardianElementalSkillSecondInterval = string.Empty;
|
|
|
|
// [盾角]使用元素战技的方式 长按/短按
|
|
[ObservableProperty]
|
|
private bool _guardianElementalSkillLongPress = false;
|
|
|
|
// // normal_attack 配置几号位
|
|
// [ObservableProperty]
|
|
// private string _normalAttackAvatarIndex = string.Empty;
|
|
//
|
|
// // elemental_skill 配置几号位
|
|
// [ObservableProperty]
|
|
// private string _elementalSkillAvatarIndex = string.Empty;
|
|
|
|
// // hydro_collect 配置几号位
|
|
// [ObservableProperty]
|
|
// private string _hydroCollectAvatarIndex = string.Empty;
|
|
//
|
|
// // electro_collect 配置几号位
|
|
// [ObservableProperty]
|
|
// private string _electroCollectAvatarIndex = string.Empty;
|
|
//
|
|
// // anemo_collect 配置几号位
|
|
// [ObservableProperty]
|
|
// private string _anemoCollectAvatarIndex = string.Empty;
|
|
|
|
[JsonIgnore]
|
|
public List<string> AvatarIndexList { get; } = ["", "1", "2", "3", "4"];
|
|
}
|