-
Notifications
You must be signed in to change notification settings - Fork 332
/
Copy pathTIMConfigTable.kt
63 lines (53 loc) · 1.99 KB
/
TIMConfigTable.kt
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
/*
* QNotified - An Xposed module for QQ/TIM
* Copyright (C) 2019-2022 [email protected]
* https://github.com/ferredoxin/QNotified
*
* This software is non-free but opensource software: you can redistribute it
* and/or modify it under the terms of the GNU Affero General Public License
* as published by the Free Software Foundation; either
* version 3 of the License, or any later version and our eula as published
* by ferredoxin.
*
* This software is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* and eula along with this software. If not, see
* <https://www.gnu.org/licenses/>
* <https://github.com/ferredoxin/QNotified/blob/master/LICENSE.md>.
*/
package me.singleneuron.qn_kernel.tlb
import cc.ioctl.hook.ReplyNoAtHook
import me.ketal.hook.LeftSwipeReplyHook
import me.kyuubiran.hook.AutoMosaicName
import nil.nadph.qnotified.bridge.QQMessageFacade
import nil.nadph.qnotified.util.TIMVersion.*
class TIMConfigTable : ConfigTableInterface {
override val configs: Map<String?, Map<Long, Any>> = mapOf(
)
override val rangingConfigs: Map<String?, Map<Long, Any>> = mapOf(
//key:public \S* \(boolean
QQMessageFacade::class.java.simpleName to mapOf(
TIM_1_0_0 to "b",
TIM_3_0_0 to "wa",
TIM_3_1_1 to "PK",
TIM_3_3_0 to "PO",
),
ReplyNoAtHook::class.java.simpleName to mapOf(
TIM_3_1_1 to "wg",
TIM_3_3_0 to "wk",
),
LeftSwipeReplyHook::class.java.simpleName to mapOf(
TIM_3_1_1 to "Cg",
TIM_3_3_0 to "Cn",
),
AutoMosaicName::class.java.simpleName to mapOf(
TIM_3_0_0 to "jU",
TIM_3_1_1 to "wm",
TIM_3_3_1 to "wq",
),
)
}