VPet/VPet-Simulator.Windows.Interface/IMainWindow.cs

76 lines
1.9 KiB
C#
Raw Normal View History

2023-06-01 08:16:45 +00:00
using System.Collections.Generic;
2023-06-08 08:46:53 +00:00
using System.Windows.Media;
2023-04-01 19:31:28 +00:00
using VPet_Simulator.Core;
2023-04-01 15:15:50 +00:00
namespace VPet_Simulator.Windows.Interface
{
2023-05-25 18:44:31 +00:00
/// <summary>
/// 游戏主窗体
/// </summary>
2023-04-01 15:15:50 +00:00
public interface IMainWindow
{
2023-04-01 19:31:28 +00:00
/// <summary>
/// 是否为Steam用户
/// </summary>
bool IsSteamUser { get; }
/// <summary>
/// 游戏设置
/// </summary>
2023-05-25 18:44:31 +00:00
Setting Set { get; }
2023-04-01 19:31:28 +00:00
/// <summary>
/// 宠物加载器列表
/// </summary>
2023-05-25 18:44:31 +00:00
List<PetLoader> Pets { get; }
2023-04-01 19:31:28 +00:00
/// <summary>
/// 桌宠数据核心
/// </summary>
2023-05-25 18:44:31 +00:00
GameCore Core { get; }
2023-04-01 19:31:28 +00:00
/// <summary>
/// 桌宠主要部件
/// </summary>
2023-05-25 18:44:31 +00:00
Main Main { get; }
2023-04-01 19:31:28 +00:00
/// <summary>
/// 版本号
/// </summary>
int verison { get; }
/// <summary>
/// 版本号
/// </summary>
2023-05-25 18:44:31 +00:00
string Verison { get; }
2023-04-01 19:31:28 +00:00
/// <summary>
/// 上次点击时间 (Tick)
/// </summary>
long lastclicktime { get; set; }
/// <summary>
/// 所有三方插件
/// </summary>
List<MainPlugin> Plugins { get; }
2023-06-01 14:50:40 +00:00
/// <summary>
/// 所有食物
/// </summary>
2023-06-08 08:46:53 +00:00
List<Food> Foods { get; }
/// <summary>
/// 图片资源
/// </summary>
ImageResources ImageSources { get; }
2023-04-01 19:31:28 +00:00
/// <summary>
/// 设置游戏缩放倍率
/// </summary>
/// <param name="zl">缩放倍率 范围0.1-10</param>
void SetZoomLevel(double zl);
/// <summary>
/// 保存设置
/// </summary>
void Save();
/// <summary>
/// 加载DIY内容
/// </summary>
void LoadDIY();
/// <summary>
/// 运行动作
/// </summary>
/// <param name="action">动作名称</param>
void RunAction(string action);
2023-04-01 15:15:50 +00:00
}
}