forked from LorisYounger/VPet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathIMainWindow.cs
145 lines (140 loc) · 3.95 KB
/
IMainWindow.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
using LinePutScript;
using LinePutScript.Dictionary;
using System.Collections.Generic;
using System.Windows.Media;
using VPet_Simulator.Core;
namespace VPet_Simulator.Windows.Interface
{
/// <summary>
/// 游戏主窗体
/// </summary>
public interface IMainWindow
{
/// <summary>
/// 是否为Steam用户
/// </summary>
bool IsSteamUser { get; }
/// <summary>
/// 游戏设置
/// </summary>
Setting Set { get; }
/// <summary>
/// 宠物加载器列表
/// </summary>
List<PetLoader> Pets { get; }
/// <summary>
/// 所有可用聊天API
/// </summary>
List<ITalkAPI> TalkAPI { get; }
/// <summary>
/// 当前正在使用的TalkBox
/// </summary>
ITalkAPI TalkBoxCurr { get; }
/// <summary>
/// 桌宠数据核心
/// </summary>
GameCore Core { get; }
/// <summary>
/// 桌宠主要部件
/// </summary>
Main Main { get; }
/// <summary>
/// 版本号
/// </summary>
int version { get; }
/// <summary>
/// 版本号
/// </summary>
string Version { get; }
/// <summary>
/// 上次点击时间 (Tick)
/// </summary>
long lastclicktime { get; set; }
/// <summary>
/// 所有三方插件
/// </summary>
List<MainPlugin> Plugins { get; }
/// <summary>
/// 所有食物
/// </summary>
List<Food> Foods { get; }
/// <summary>
/// 需要食物时会说的话
/// </summary>
List<LowText> LowFoodText { get; }
/// <summary>
/// 需要饮料时会说的话
/// </summary>
List<LowText> LowDrinkText { get; }
/// <summary>
/// 点击时会说的话
/// </summary>
List<ClickText> ClickTexts { get; }
/// <summary>
/// 选择说的话
/// </summary>
List<SelectText> SelectTexts { get; }
/// <summary>
/// 获得自动点击的文本
/// </summary>
/// <returns>说话内容</returns>
ClickText GetClickText();
/// <summary>
/// 图片资源
/// </summary>
ImageResources ImageSources { get; }
/// <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="page">设置页</param>
void ShowSetting(int page = -1);
/// <summary>
/// 显示更好买页面
/// </summary>
/// <param name="type">食物类型</param>
void ShowBetterBuy(Food.FoodType type);
/// <summary>
/// 关闭桌宠
/// </summary>
void Close();
/// <summary>
/// 重启桌宠
/// </summary>
void Restart();
/// <summary>
/// 鼠标穿透
/// </summary>
bool MouseHitThrough { get; set; }
/// <summary>
/// 存档 Hash检查 是否通过
/// </summary>
bool HashCheck { get; }
/// <summary>
/// 获得当前系统音乐播放音量
/// </summary>
float AudioPlayingVolume();
/// <summary>
/// 关闭指示器,默认为true
/// </summary>
bool CloseConfirm { get; }
/// <summary>
/// 关闭该玩家的HashCheck检查
/// 如果你的mod属于作弊mod/有作弊内容,请在作弊前调用这个方法
/// </summary>
void HashCheckOff();
GameSave_v2 GameSavesData { get; }
}
}