forked from Elepover/RE-TTSCat
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBilibiliDM_PluginFramework.xml
349 lines (349 loc) · 13.5 KB
/
BilibiliDM_PluginFramework.xml
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
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
<?xml version="1.0"?>
<doc>
<assembly>
<name>BilibiliDM_PluginFramework</name>
</assembly>
<members>
<member name="P:BilibiliDM_PluginFramework.DMPlugin.PluginName">
<summary>
插件名稱
</summary>
</member>
<member name="P:BilibiliDM_PluginFramework.DMPlugin.PluginAuth">
<summary>
插件作者
</summary>
</member>
<member name="P:BilibiliDM_PluginFramework.DMPlugin.PluginCont">
<summary>
插件作者聯繫方式
</summary>
</member>
<member name="P:BilibiliDM_PluginFramework.DMPlugin.PluginVer">
<summary>
插件版本號
</summary>
</member>
<member name="P:BilibiliDM_PluginFramework.DMPlugin.PluginDesc">
<summary>
插件描述
</summary>
</member>
<member name="P:BilibiliDM_PluginFramework.DMPlugin.PlubinDesc">
<summary>
插件描述, 已過期, 請使用PluginDesc
</summary>
</member>
<member name="P:BilibiliDM_PluginFramework.DMPlugin.Status">
<summary>
插件狀態
</summary>
</member>
<member name="P:BilibiliDM_PluginFramework.DMPlugin.RoomId">
<summary>
當前連接中的房間
</summary>
</member>
<member name="M:BilibiliDM_PluginFramework.DMPlugin.Start">
<summary>
啟用插件方法 請重寫此方法
</summary>
</member>
<member name="M:BilibiliDM_PluginFramework.DMPlugin.Stop">
<summary>
禁用插件方法 請重寫此方法
</summary>
</member>
<member name="M:BilibiliDM_PluginFramework.DMPlugin.Admin">
<summary>
管理插件方法 請重寫此方法
</summary>
</member>
<member name="M:BilibiliDM_PluginFramework.DMPlugin.Inited">
<summary>
此方法在所有插件加载完毕后调用
</summary>
</member>
<member name="M:BilibiliDM_PluginFramework.DMPlugin.DeInit">
<summary>
反初始化方法, 在弹幕姬主程序退出时调用, 若有需要请重写,
</summary>
</member>
<member name="M:BilibiliDM_PluginFramework.DMPlugin.Log(System.String)">
<summary>
打日志
</summary>
<param name="text"></param>
</member>
<member name="P:BilibiliDM_PluginFramework.DMPlugin.DebugMode">
<summary>
弹幕姬是否是以Debug模式启动的
</summary>
</member>
<member name="M:BilibiliDM_PluginFramework.DMPlugin.AddDM(System.String,System.Boolean)">
<summary>
打彈幕
</summary>
<param name="text"></param>
<param name="fullscreen"></param>
</member>
<member name="M:BilibiliDM_PluginFramework.DMPlugin.SendSSPMsg(System.String)">
<summary>
发送伪春菜脚本, 前提是用户有打开伪春菜并允许弹幕姬和伪春菜联动(默认允许)
</summary>
<param name="text">Sakura Script脚本</param>
</member>
<member name="T:BilibiliDM_PluginFramework.MsgTypeEnum">
<summary>
消息类型
</summary>
</member>
<member name="F:BilibiliDM_PluginFramework.MsgTypeEnum.Comment">
<summary>
彈幕
</summary>
</member>
<member name="F:BilibiliDM_PluginFramework.MsgTypeEnum.GiftSend">
<summary>
禮物
</summary>
</member>
<member name="F:BilibiliDM_PluginFramework.MsgTypeEnum.GiftTop">
<summary>
禮物排名
</summary>
</member>
<member name="F:BilibiliDM_PluginFramework.MsgTypeEnum.Welcome">
<summary>
歡迎老爷
</summary>
</member>
<member name="F:BilibiliDM_PluginFramework.MsgTypeEnum.LiveStart">
<summary>
直播開始
</summary>
</member>
<member name="F:BilibiliDM_PluginFramework.MsgTypeEnum.LiveEnd">
<summary>
直播結束
</summary>
</member>
<member name="F:BilibiliDM_PluginFramework.MsgTypeEnum.Unknown">
<summary>
其他
</summary>
</member>
<member name="F:BilibiliDM_PluginFramework.MsgTypeEnum.WelcomeGuard">
<summary>
欢迎船员
</summary>
</member>
<member name="F:BilibiliDM_PluginFramework.MsgTypeEnum.GuardBuy">
<summary>
购买船票(上船)
</summary>
</member>
<member name="F:BilibiliDM_PluginFramework.MsgTypeEnum.SuperChat">
<summary>
SC
</summary>
</member>
<member name="F:BilibiliDM_PluginFramework.MsgTypeEnum.Interact">
<summary>
观众互动信息
</summary>
</member>
<member name="F:BilibiliDM_PluginFramework.MsgTypeEnum.Warning">
<summary>
超管警告
</summary>
</member>
<member name="T:BilibiliDM_PluginFramework.InteractTypeEnum">
<summary>
观众互动内容
</summary>
</member>
<member name="F:BilibiliDM_PluginFramework.InteractTypeEnum.Enter">
<summary>
进入
</summary>
</member>
<member name="F:BilibiliDM_PluginFramework.InteractTypeEnum.Follow">
<summary>
关注
</summary>
</member>
<member name="F:BilibiliDM_PluginFramework.InteractTypeEnum.Share">
<summary>
分享直播间
</summary>
</member>
<member name="F:BilibiliDM_PluginFramework.InteractTypeEnum.SpecialFollow">
<summary>
特别关注
</summary>
</member>
<member name="F:BilibiliDM_PluginFramework.InteractTypeEnum.MutualFollow">
<summary>
互相关注
</summary>
</member>
<member name="P:BilibiliDM_PluginFramework.DanmakuModel.MsgType">
<summary>
消息類型
</summary>
</member>
<member name="P:BilibiliDM_PluginFramework.DanmakuModel.CommentText">
<summary>
彈幕內容
<para>此项有值的消息类型:<list type="bullet">
<item><see cref="F:BilibiliDM_PluginFramework.MsgTypeEnum.Comment"/></item>
</list></para>
</summary>
</member>
<member name="P:BilibiliDM_PluginFramework.DanmakuModel.CommentUser">
<summary>
彈幕用戶
</summary>
</member>
<member name="P:BilibiliDM_PluginFramework.DanmakuModel.UserName">
<summary>
消息触发者用户名
<para>此项有值的消息类型:<list type="bullet">
<item><see cref="F:BilibiliDM_PluginFramework.MsgTypeEnum.Comment"/></item>
<item><see cref="F:BilibiliDM_PluginFramework.MsgTypeEnum.GiftSend"/></item>
<item><see cref="F:BilibiliDM_PluginFramework.MsgTypeEnum.Welcome"/></item>
<item><see cref="F:BilibiliDM_PluginFramework.MsgTypeEnum.WelcomeGuard"/></item>
<item><see cref="F:BilibiliDM_PluginFramework.MsgTypeEnum.GuardBuy"/></item>
<item><see cref="F:BilibiliDM_PluginFramework.MsgTypeEnum.Interact"/></item>
</list></para>
</summary>
</member>
<member name="P:BilibiliDM_PluginFramework.DanmakuModel.UserID">
<summary>
消息触发者用户ID
<para>此项有值的消息类型:<list type="bullet">
<item><see cref="F:BilibiliDM_PluginFramework.MsgTypeEnum.Comment"/></item>
<item><see cref="F:BilibiliDM_PluginFramework.MsgTypeEnum.GiftSend"/></item>
<item><see cref="F:BilibiliDM_PluginFramework.MsgTypeEnum.Welcome"/></item>
<item><see cref="F:BilibiliDM_PluginFramework.MsgTypeEnum.WelcomeGuard"/></item>
<item><see cref="F:BilibiliDM_PluginFramework.MsgTypeEnum.GuardBuy"/></item>
<item><see cref="F:BilibiliDM_PluginFramework.MsgTypeEnum.Interact"/></item>
</list></para>
</summary>
</member>
<member name="P:BilibiliDM_PluginFramework.DanmakuModel.UserGuardLevel">
<summary>
用户舰队等级
<para>0 为非船员 1 为总督 2 为提督 3 为舰长</para>
<para>此项有值的消息类型:<list type="bullet">
<item><see cref="F:BilibiliDM_PluginFramework.MsgTypeEnum.Comment"/></item>
<item><see cref="F:BilibiliDM_PluginFramework.MsgTypeEnum.WelcomeGuard"/></item>
<item><see cref="F:BilibiliDM_PluginFramework.MsgTypeEnum.GuardBuy"/></item>
</list></para>
</summary>
</member>
<member name="P:BilibiliDM_PluginFramework.DanmakuModel.GiftUser">
<summary>
禮物用戶
</summary>
</member>
<member name="P:BilibiliDM_PluginFramework.DanmakuModel.GiftName">
<summary>
禮物名稱
</summary>
</member>
<member name="P:BilibiliDM_PluginFramework.DanmakuModel.GiftNum">
<summary>
禮物數量
</summary>
</member>
<member name="P:BilibiliDM_PluginFramework.DanmakuModel.GiftCount">
<summary>
礼物数量
<para>此项有值的消息类型:<list type="bullet">
<item><see cref="F:BilibiliDM_PluginFramework.MsgTypeEnum.GiftSend"/></item>
<item><see cref="F:BilibiliDM_PluginFramework.MsgTypeEnum.GuardBuy"/></item>
</list></para>
<para>此字段也用于标识上船 <see cref="F:BilibiliDM_PluginFramework.MsgTypeEnum.GuardBuy"/> 的数量(月数)</para>
</summary>
</member>
<member name="P:BilibiliDM_PluginFramework.DanmakuModel.Giftrcost">
<summary>
当前房间的礼物积分(Room Cost)
因以前出现过不传递rcost的礼物,并且用处不大,所以弃用
</summary>
</member>
<member name="P:BilibiliDM_PluginFramework.DanmakuModel.GiftRanking">
<summary>
禮物排行
<para>此项有值的消息类型:<list type="bullet">
<item><see cref="F:BilibiliDM_PluginFramework.MsgTypeEnum.GiftTop"/></item>
</list></para>
</summary>
</member>
<member name="P:BilibiliDM_PluginFramework.DanmakuModel.isAdmin">
<summary>
该用户是否为房管(包括主播)
<para>此项有值的消息类型:<list type="bullet">
<item><see cref="F:BilibiliDM_PluginFramework.MsgTypeEnum.Comment"/></item>
<item><see cref="F:BilibiliDM_PluginFramework.MsgTypeEnum.GiftSend"/></item>
</list></para>
</summary>
</member>
<member name="P:BilibiliDM_PluginFramework.DanmakuModel.isVIP">
<summary>
是否VIP用戶(老爺)
<para>此项有值的消息类型:<list type="bullet">
<item><see cref="F:BilibiliDM_PluginFramework.MsgTypeEnum.Comment"/></item>
<item><see cref="F:BilibiliDM_PluginFramework.MsgTypeEnum.Welcome"/></item>
</list></para>
</summary>
</member>
<member name="P:BilibiliDM_PluginFramework.DanmakuModel.roomID">
<summary>
<see cref="F:BilibiliDM_PluginFramework.MsgTypeEnum.LiveStart"/>,<see cref="F:BilibiliDM_PluginFramework.MsgTypeEnum.LiveEnd"/> 事件对应的房间号
</summary>
</member>
<member name="P:BilibiliDM_PluginFramework.DanmakuModel.RawData">
<summary>
原始数据, 高级开发用
</summary>
</member>
<member name="P:BilibiliDM_PluginFramework.DanmakuModel.JSON_Version">
<summary>
内部用, JSON数据版本号 通常应该是2
</summary>
</member>
<member name="P:BilibiliDM_PluginFramework.DanmakuModel.Price">
<summary>
SC的金额, 如果以后有礼物金额也可以放进去
</summary>
</member>
<member name="P:BilibiliDM_PluginFramework.DanmakuModel.SCKeepTime">
<summary>
SC保留时间
</summary>
</member>
<member name="P:BilibiliDM_PluginFramework.DanmakuModel.RawDataJToken">
<summary>
原始数据, 高级开发用, 如果需要用原始的JSON数据, 建议使用这个而不是用RawData
</summary>
</member>
<member name="P:BilibiliDM_PluginFramework.GiftRank.UserName">
<summary>
用戶名
</summary>
</member>
<member name="P:BilibiliDM_PluginFramework.GiftRank.coin">
<summary>
花銷
</summary>
</member>
<member name="P:BilibiliDM_PluginFramework.GiftRank.uid">
<summary>
UID
</summary>
</member>
</members>
</doc>