Files
better-genshin-impact/BetterGenshinImpact/Core/Config/RecordConfig.cs
2024-08-10 22:04:17 +08:00

28 lines
739 B
C#
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
using CommunityToolkit.Mvvm.ComponentModel;
using System;
namespace BetterGenshinImpact.Core.Config;
[Serializable]
public partial class RecordConfig : ObservableObject
{
/// <summary>
/// 视角每移动1度需要MouseMoveBy的距离
/// 用作脚本记录度数后转化的鼠标移动距离
/// </summary>
[ObservableProperty]
private double _angle2MouseMoveByX = 1.0;
/// <summary>
/// 视角每移动1度需要DirectInput移动的单位
/// </summary>
[ObservableProperty]
private double _angle2DirectInputX = 1.0;
/// <summary>
/// 图像识别记录相机视角朝向
/// </summary>
[ObservableProperty]
private bool _isRecordCameraOrientation = false;
}