2023-07-01 07:46:08 +00:00
|
|
|
|
using LinePutScript;
|
|
|
|
|
using LinePutScript.Dictionary;
|
|
|
|
|
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>
|
2023-06-18 22:20:06 +00:00
|
|
|
|
/// 需要食物时会说的话
|
|
|
|
|
/// </summary>
|
|
|
|
|
List<LowText> LowFoodText { get; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 需要饮料时会说的话
|
|
|
|
|
/// </summary>
|
|
|
|
|
List<LowText> LowDrinkText { get; }
|
2023-07-16 23:58:09 +00:00
|
|
|
|
/// <summary>
|
2023-06-08 08:46:53 +00:00
|
|
|
|
/// 图片资源
|
|
|
|
|
/// </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>
|
2023-07-16 23:58:09 +00:00
|
|
|
|
/// 显示设置页面
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="page">设置页</param>
|
|
|
|
|
void ShowSetting(int page = -1);
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 显示更好买页面
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="type">食物类型</param>
|
|
|
|
|
void ShowBetterBuy(Food.FoodType type);
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 关闭桌宠
|
2023-04-01 19:31:28 +00:00
|
|
|
|
/// </summary>
|
2023-07-16 23:58:09 +00:00
|
|
|
|
void Close();
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 重启桌宠
|
|
|
|
|
/// </summary>
|
|
|
|
|
void Restart();
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 鼠标穿透
|
|
|
|
|
/// </summary>
|
|
|
|
|
bool MouseHitThrough { get; set; }
|
2023-08-06 02:00:03 +00:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 存档 Hash检查 是否通过
|
|
|
|
|
/// </summary>
|
2023-08-10 11:34:11 +00:00
|
|
|
|
bool HashCheck { get; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 获得当前系统音乐播放音量
|
|
|
|
|
/// </summary>
|
|
|
|
|
float AudioPlayingVolume();
|
2023-08-12 07:13:30 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 关闭指示器,默认为true
|
|
|
|
|
/// </summary>
|
|
|
|
|
bool CloseConfirm { get; }
|
2023-04-01 15:15:50 +00:00
|
|
|
|
}
|
2023-07-16 23:58:09 +00:00
|
|
|
|
|
2023-04-01 15:15:50 +00:00
|
|
|
|
}
|