mirror of
https://github.com/whitechi73/OpenShamrock.git
synced 2024-08-14 05:12:17 +00:00
Compare commits
92 Commits
4f1d19fcbd
...
v1.0.9
Author | SHA1 | Date | |
---|---|---|---|
976526ab79 | |||
cdc9ca1a72 | |||
609e87d0ec | |||
cf01a25ea6 | |||
f090ef1937 | |||
1cc033498c | |||
7eaa470dd2 | |||
c49861d982 | |||
36ed55d220 | |||
e2f27cb36a | |||
65ddca2ea4 | |||
a6f570e4f0 | |||
29dfc1590b | |||
ffeda0a472 | |||
0e5add2146 | |||
be9ff46134 | |||
1d6ac3e022 | |||
2db187e3d5 | |||
18ec586b12 | |||
7782feb6ac | |||
824f280b3a | |||
6936262d62 | |||
0955267ee5 | |||
f3da62fa74 | |||
abbac6315c | |||
0cf10eabd6 | |||
8c33267887 | |||
f030104ff2 | |||
5e819179b4 | |||
ea206faf4f | |||
5adfc544a2 | |||
bdb75841cf | |||
a3dc0d06b2 | |||
3664352f23 | |||
2770979fee | |||
be58c368e9 | |||
1d035fa378 | |||
7d0b60271e | |||
d38777d06a | |||
93c49953cf | |||
883e949cc1 | |||
2ac0003166 | |||
d92d1daffb | |||
27f837adbe | |||
661680e60b | |||
54b7eb95a8 | |||
265fff3cd2 | |||
8ca0a3815a | |||
da6d34c53e | |||
61ffb37951 | |||
593f461ffe | |||
12d594697d | |||
352aa5f737 | |||
9546e90bec | |||
26b4d95ad8 | |||
4a6109fbe6 | |||
d6142173c9 | |||
38cf806b40 | |||
82269bb171 | |||
fc0d7a62af | |||
60fdfd9071 | |||
1f620bcc06 | |||
737acfa41b | |||
3619cba33c | |||
52ec43abf8 | |||
e96c356de4 | |||
bbdb0a65fb | |||
ec56e32be1 | |||
4dc83fdeba | |||
541422a43e | |||
cb7bf00e17 | |||
a3171b3111 | |||
02626489eb | |||
a9a2e9a3dd | |||
964c55de31 | |||
befb4a2bef | |||
210609bd7b | |||
3e03d4782d | |||
675a7a5321 | |||
a78b5cab23 | |||
252a3527a8 | |||
ea4cf06edf | |||
1424efd7f8 | |||
eb807a0332 | |||
e9a3a82b68 | |||
fca66f3259 | |||
92ebe0c6a8 | |||
6b1147d065 | |||
720313124c | |||
68ea62ea0b | |||
5584a41af0 | |||
0bca46bba3 |
4
.github/workflows/build-apk.yml
vendored
4
.github/workflows/build-apk.yml
vendored
@ -3,7 +3,7 @@ name: Build Shamrock APK
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
branches: [ master ]
|
||||
branches: [ v1.0.9 ]
|
||||
paths-ignore:
|
||||
- '**.md'
|
||||
- '**.txt'
|
||||
@ -97,4 +97,4 @@ jobs:
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: "${{ env.SHAMROCK_VERSION_x86_64 }}"
|
||||
path: "${{ env.APK_FILE_X86_64 }}"
|
||||
path: "${{ env.APK_FILE_X86_64 }}"
|
||||
|
24
README.md
24
README.md
@ -16,7 +16,7 @@
|
||||
|
||||
## 简介
|
||||
|
||||
☘ 基于 Lsposed(**Non**-Riru) 实现 OneBot 标准的 QQ 机器人框架,原作者[**fuqiuluo**](https://github.com/fuqiuluo)已脱离开发,接下来由白池接手哦!本项目为OpenShamrock,不会有任何收费行为,欢迎大家的加入!
|
||||
☘ 基于 Lsposed(**Non**-Riru) 实现 OneBot 标准的 QQ 机器人框架!
|
||||
|
||||
> 本项目仅提供学习与交流用途,请在24小时内删除。
|
||||
> 本项目目的是研究 Xposed 和 LSPosed 框架的使用。 Epic 框架开发相关知识。
|
||||
@ -27,9 +27,27 @@
|
||||
|
||||
## 兼容|迁移|替代 说明
|
||||
|
||||
仅支持QQ9.0.70以上的版本,低版本问题将不再修复与处理。
|
||||
|
||||
- 一键移植:本项目基于 go-cqhttp 的文档进行开发实现。
|
||||
- 平行部署:可多平台部署,未来将会支持 Docker 部署的教程。
|
||||
- 替代方案:[Lagrange.Core](https://github.com/LagrangeDev/Lagrange.Core)
|
||||
- 平行部署:可多平台部署,未来将会支持 Docker 部署的教程。
|
||||
|
||||
## 相关项目
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td><a href="https://github.com/LagrangeDev/Lagrange.Core">Lagrange.Core</a></td>
|
||||
<td>NTQQ 的协议实现</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="https://github.com/whitechi73/OpenShamrock">OpenShamrock</a></td>
|
||||
<td>基于 Xposed 实现 OneBot 标准的机器人框架(👈你在这里</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="https://github.com/chrononeko/chronocat">Chronocat</a></td>
|
||||
<td>基于 Electron 的、模块化的 Satori 框架</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
## 权限声明
|
||||
|
||||
|
@ -4,7 +4,7 @@ import java.io.ByteArrayOutputStream
|
||||
plugins {
|
||||
id("com.android.application")
|
||||
id("org.jetbrains.kotlin.android")
|
||||
kotlin("plugin.serialization") version "1.9.21"
|
||||
kotlin("plugin.serialization") version "1.9.22"
|
||||
}
|
||||
|
||||
android {
|
||||
@ -17,7 +17,7 @@ android {
|
||||
minSdk = 27
|
||||
targetSdk = 34
|
||||
versionCode = getVersionCode()
|
||||
versionName = "1.0.9" + ".r${getGitCommitCount()}." + getVersionName()
|
||||
versionName = "1.1.1.onebot" + ".r${getGitCommitCount()}." + getVersionName()
|
||||
|
||||
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
||||
vectorDrawables {
|
||||
|
21
app/proguard-rules.pro
vendored
21
app/proguard-rules.pro
vendored
@ -199,17 +199,36 @@
|
||||
|
||||
-keep class com.arthenica.ffmpegkit.NativeLoader { *; }
|
||||
|
||||
-keep class moe.fuqiuluo.** { *; }
|
||||
-keep class moe.fuqiuluo.shamrock.app.** { *; }
|
||||
-keep class moe.fuqiuluo.shamrock.ui.** { *; }
|
||||
-keep class moe.fuqiuluo.shamrock.MainActivity { *; }
|
||||
-keep class moe.fuqiuluo.shamrock.MainActivityKt { *; }
|
||||
-keep class moe.fuqiuluo.shamrock.Manifest { *; }
|
||||
|
||||
-keep class moe.fuqiuluo.shamrock.xposed.** { *; }
|
||||
-keep class moe.fuqiuluo.shamrock.helper.** { *; }
|
||||
|
||||
# tencent interfaces rules
|
||||
-keep class com.tencent.** { *; }
|
||||
-keep class com.qq.** { *; }
|
||||
-keep class com.google.gson.** { *; }
|
||||
-keep class de.** { *; }
|
||||
-keep class epic.** { *; }
|
||||
-keep class friendlist.** { *; }
|
||||
-keep class KQQ.** { *; }
|
||||
-keep class mqq.** { *; }
|
||||
-keep class msf.** { *; }
|
||||
-keep class oicq.** { *; }
|
||||
-keep class QQService.** { *; }
|
||||
-keep class SummaryCard.** { *; }
|
||||
-keep class tencent.** { *; }
|
||||
-keep class VIP.** { *; }
|
||||
|
||||
-keepclassmembers class * {
|
||||
native <methods>;
|
||||
}
|
||||
-keep class io.netty.** { *; }
|
||||
|
||||
-keepclasseswithmembernames class * {
|
||||
native <methods>;
|
||||
}
|
||||
|
@ -12,7 +12,8 @@
|
||||
|
||||
extern "C"
|
||||
JNIEXPORT jstring JNICALL
|
||||
Java_moe_fuqiuluo_shamrock_xposed_hooks_PullConfig_testNativeLibrary(JNIEnv *env, jobject thiz) {
|
||||
Java_moe_fuqiuluo_shamrock_xposed_hooks_PullConfig_00024Companion_testNativeLibrary(JNIEnv *env,
|
||||
jobject thiz) {
|
||||
return env->NewStringUTF("加载Shamrock库成功~");
|
||||
}
|
||||
|
||||
|
@ -52,7 +52,6 @@ import androidx.compose.runtime.rememberCoroutineScope
|
||||
import androidx.compose.ui.Modifier
|
||||
import androidx.compose.ui.draw.shadow
|
||||
import androidx.compose.ui.graphics.Color
|
||||
import androidx.compose.ui.graphics.painter.Painter
|
||||
import androidx.compose.ui.platform.LocalContext
|
||||
import androidx.compose.ui.platform.LocalView
|
||||
import androidx.compose.ui.res.painterResource
|
||||
@ -64,6 +63,7 @@ import androidx.compose.ui.unit.sp
|
||||
import androidx.core.view.WindowCompat
|
||||
import com.google.accompanist.systemuicontroller.rememberSystemUiController
|
||||
import kotlinx.coroutines.CoroutineScope
|
||||
import kotlinx.coroutines.delay
|
||||
import kotlinx.coroutines.launch
|
||||
import moe.fuqiuluo.shamrock.ui.app.AppRuntime
|
||||
import moe.fuqiuluo.shamrock.ui.app.Logger
|
||||
@ -79,7 +79,7 @@ import moe.fuqiuluo.shamrock.ui.theme.RANDOM_SUB_TITLE
|
||||
import moe.fuqiuluo.shamrock.ui.theme.RANDOM_TITLE
|
||||
import moe.fuqiuluo.shamrock.ui.theme.ShamrockTheme
|
||||
import moe.fuqiuluo.shamrock.ui.tools.NoIndication
|
||||
import moe.fuqiuluo.shamrock.ui.tools.ShamrockTab
|
||||
import moe.fuqiuluo.shamrock.ui.tools.ShamrockTabV2
|
||||
import moe.fuqiuluo.shamrock.ui.tools.getShamrockVersion
|
||||
|
||||
class MainActivity : ComponentActivity() {
|
||||
@ -87,6 +87,15 @@ class MainActivity : ComponentActivity() {
|
||||
super.onCreate(savedInstanceState)
|
||||
|
||||
setContent {
|
||||
LaunchedEffect(Unit) {
|
||||
while (true) {
|
||||
delay(5_000) // Delay in milliseconds
|
||||
broadcastToModule {
|
||||
putExtra("__cmd", "switch_status")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
CompositionLocalProvider(
|
||||
LocalIndication provides NoIndication
|
||||
) {
|
||||
@ -336,7 +345,7 @@ private fun AnimatedTab(
|
||||
}
|
||||
}
|
||||
|
||||
ShamrockTab(
|
||||
ShamrockTabV2(
|
||||
selected = curSelected,
|
||||
onClick = {
|
||||
scope.launch {
|
||||
|
@ -162,6 +162,17 @@ object ShamrockConfig {
|
||||
pushUpdate(ctx)
|
||||
}
|
||||
|
||||
fun getUploadResourceGroup(ctx: Context): String {
|
||||
val preferences = ctx.getSharedPreferences("config", 0)
|
||||
return preferences.getString("up_res_group", "100000000")!!
|
||||
}
|
||||
|
||||
fun setUploadResourceGroup(ctx: Context, v: String) {
|
||||
val preferences = ctx.getSharedPreferences("config", 0)
|
||||
preferences.edit().putString("up_res_group", v).apply()
|
||||
pushUpdate(ctx)
|
||||
}
|
||||
|
||||
fun getHttpPort(ctx: Context): Int {
|
||||
val preferences = ctx.getSharedPreferences("config", 0)
|
||||
return preferences.getInt("port", 5700)
|
||||
@ -354,6 +365,7 @@ object ShamrockConfig {
|
||||
"disable_auto_sync_setting" to preferences.getBoolean("disable_auto_sync_setting", false),
|
||||
"forbid_useless_process" to preferences.getBoolean("forbid_useless_process", false),
|
||||
"enable_old_bdh" to preferences.getBoolean("enable_old_bdh", false),
|
||||
"up_res_group" to preferences.getString("up_res_group", ""),
|
||||
)
|
||||
}
|
||||
|
||||
|
@ -356,6 +356,36 @@ private fun FunctionCard(
|
||||
return@Function true
|
||||
}
|
||||
|
||||
run {
|
||||
val uploadResourceGroup = remember { mutableStateOf(ShamrockConfig.getUploadResourceGroup(ctx)) }
|
||||
Column(
|
||||
modifier = Modifier
|
||||
.absolutePadding(left = 8.dp, right = 8.dp, top = 12.dp, bottom = 0.dp)
|
||||
) {
|
||||
Text(
|
||||
modifier = Modifier.padding(2.dp),
|
||||
text = "用来上传资源的群聊,错误的资源上传终点可能导致封禁,请自建一个群聊并填写在下方。",
|
||||
color = Color.Red,
|
||||
fontSize = 11.sp
|
||||
)
|
||||
}
|
||||
TextItem(
|
||||
title = "接受资源群聊",
|
||||
desc = "用来上传资源的群聊,请自建一个群聊并填写在下方。",
|
||||
text = uploadResourceGroup,
|
||||
hint = "请输入群号",
|
||||
error = "群号不合法",
|
||||
checker = {
|
||||
it.isNotBlank() && it.toULongOrNull() != null
|
||||
},
|
||||
confirm = {
|
||||
val groupId = uploadResourceGroup.value
|
||||
ShamrockConfig.setUploadResourceGroup(ctx, groupId)
|
||||
AppRuntime.log("设置接受资源群聊为[$groupId]。")
|
||||
}
|
||||
)
|
||||
}
|
||||
|
||||
/*
|
||||
Function(
|
||||
title = "专业级接口",
|
||||
@ -445,9 +475,7 @@ private fun InfoItem(
|
||||
.fillMaxWidth()
|
||||
.combinedClickable(onDoubleClick = {
|
||||
doubleClick?.invoke(content)
|
||||
}) {
|
||||
true
|
||||
}
|
||||
}) { true }
|
||||
,
|
||||
verticalAlignment = Alignment.CenterVertically
|
||||
) {
|
||||
|
@ -30,6 +30,7 @@ abstract class ModuleHandler {
|
||||
}
|
||||
}
|
||||
putExtra("__hash", callbackId)
|
||||
putExtra("__cmd", cmd)
|
||||
}
|
||||
}
|
||||
}
|
@ -58,7 +58,7 @@ class MultifunctionalProvider: ContentProvider() {
|
||||
|
||||
inline fun Context.broadcastToModule(intentBuilder: Intent.() -> Unit) {
|
||||
val intent = Intent()
|
||||
intent.action = "moe.fuqiuluo.xqbot.dynamic"
|
||||
intent.action = "moe.fuqiuluo.onebot.dynamic"
|
||||
intent.intentBuilder()
|
||||
sendBroadcast(intent)
|
||||
}
|
@ -242,13 +242,13 @@ private fun Placeable.PlacementScope.placeTextAndIcon(
|
||||
}
|
||||
|
||||
@Composable
|
||||
fun ShamrockTab(
|
||||
fun ShamrockTabV2(
|
||||
selected: Boolean,
|
||||
onClick: () -> Unit,
|
||||
modifier: Modifier = Modifier,
|
||||
enabled: Boolean = true,
|
||||
text: @Composable (() -> Unit)? = null,
|
||||
icon: @Composable (() -> Unit)? = null,
|
||||
text: (@Composable (() -> Unit))? = null,
|
||||
icon: (@Composable (() -> Unit))? = null,
|
||||
selectedContentColor: Color = GlobalColor.TabSelected,
|
||||
unselectedContentColor: Color = selectedContentColor,
|
||||
indication: Indication? = rememberRipple(bounded = true, color = selectedContentColor),
|
||||
@ -262,7 +262,7 @@ fun ShamrockTab(
|
||||
ProvideTextStyle(style, content = text)
|
||||
}
|
||||
}
|
||||
ShamrockTab(
|
||||
ShamrockTabV2(
|
||||
selected,
|
||||
onClick,
|
||||
modifier,
|
||||
@ -277,7 +277,7 @@ fun ShamrockTab(
|
||||
}
|
||||
|
||||
@Composable
|
||||
fun ShamrockTab(
|
||||
fun ShamrockTabV2(
|
||||
selected: Boolean,
|
||||
onClick: () -> Unit,
|
||||
modifier: Modifier = Modifier,
|
||||
|
@ -2,16 +2,14 @@ package moe.fuqiuluo.shamrock
|
||||
|
||||
import org.junit.Test
|
||||
|
||||
import org.junit.Assert.*
|
||||
|
||||
/**
|
||||
* Example local unit test, which will execute on the development machine (host).
|
||||
*
|
||||
* See [testing documentation](http://d.android.com/tools/testing).
|
||||
*/
|
||||
class ExampleUnitTest {
|
||||
|
||||
@Test
|
||||
fun addition_isCorrect() {
|
||||
assertEquals(4, 2 + 2)
|
||||
fun test() {
|
||||
}
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
||||
plugins {
|
||||
id("com.android.application") version "8.2.0" apply false
|
||||
id("com.android.application") version "8.2.1" apply false
|
||||
id("org.jetbrains.kotlin.android") version "1.9.22" apply false
|
||||
id("com.android.library") version "8.2.0" apply false
|
||||
id("com.android.library") version "8.2.1" apply false
|
||||
}
|
||||
|
@ -1,7 +1,7 @@
|
||||
plugins {
|
||||
kotlin("jvm")
|
||||
id("com.google.devtools.ksp") version "1.9.21-1.0.15"
|
||||
kotlin("plugin.serialization") version "1.9.21"
|
||||
id("com.google.devtools.ksp") version "1.9.22-1.0.17"
|
||||
kotlin("plugin.serialization") version "1.9.22"
|
||||
}
|
||||
|
||||
ksp {
|
||||
|
@ -1,8 +1,10 @@
|
||||
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
||||
|
||||
plugins {
|
||||
id("com.android.library")
|
||||
id("org.jetbrains.kotlin.android")
|
||||
kotlin("plugin.serialization") version "1.9.21"
|
||||
id("com.google.devtools.ksp") version "1.9.21-1.0.15"
|
||||
kotlin("plugin.serialization") version "1.9.22"
|
||||
id("com.google.devtools.ksp") version "1.9.22-1.0.17"
|
||||
}
|
||||
|
||||
android {
|
||||
@ -42,4 +44,8 @@ dependencies {
|
||||
implementation(project(":annotations"))
|
||||
|
||||
ksp(project(":processor"))
|
||||
}
|
||||
|
||||
tasks.withType<KotlinCompile>().configureEach {
|
||||
kotlinOptions.freeCompilerArgs += "-Xopt-in=kotlin.RequiresOptIn"
|
||||
}
|
@ -32,6 +32,11 @@ data class AdaptShareInfoReq(
|
||||
|
||||
@Serializable
|
||||
data class Template(
|
||||
@ProtoNumber(1) var templateId: UInt? = null,
|
||||
@ProtoNumber(1) var templateId: ULong? = null,
|
||||
@ProtoNumber(2) var templateData: ByteArray? = null,
|
||||
)
|
||||
)
|
||||
|
||||
@Serializable
|
||||
data class AdaptShareInfoResp(
|
||||
@ProtoNumber(2) var json: String? = null,
|
||||
): Protobuf<AdaptShareInfoResp>
|
@ -15,7 +15,7 @@ data class ContentHead(
|
||||
@ProtoNumber(8) val u6: Int? = null,
|
||||
@ProtoNumber(9) val u7: Int? = null,
|
||||
@ProtoNumber(11) val msgSeq: Long? = null,
|
||||
@ProtoNumber(12) val msgRandom: Long = Long.MIN_VALUE,
|
||||
@ProtoNumber(12) val msgRandom: Long = Long.MIN_VALUE, // 0x0100000000000000L xor msgViaRandom
|
||||
@ProtoNumber(14) val u4: Long? = null,
|
||||
@ProtoNumber(15) val forwardHead: ForwardHead? = null,
|
||||
@ProtoNumber(28) val u5: Long? = null
|
||||
|
@ -7,9 +7,9 @@ import kotlinx.serialization.protobuf.ProtoNumber
|
||||
data class Ptt(
|
||||
@ProtoNumber(1) var fileType: UInt?=null,
|
||||
@ProtoNumber(2) var srcUin: ULong?=null,
|
||||
@ProtoNumber(3) var fileUuid: ByteArray?=null,
|
||||
@ProtoNumber(3) var fileUuid: String?=null,
|
||||
@ProtoNumber(4) var fileMd5: ByteArray?=null,
|
||||
@ProtoNumber(5) var fileName: ByteArray?=null,
|
||||
@ProtoNumber(5) var fileName: String?=null,
|
||||
@ProtoNumber(6) var fileSize: UInt?=null,
|
||||
@ProtoNumber(7) var reserve: ByteArray?=null,
|
||||
@ProtoNumber(8) var fileId: UInt?=null,
|
||||
@ -22,11 +22,19 @@ data class Ptt(
|
||||
@ProtoNumber(15) var magicPttIndex: UInt?=null,
|
||||
@ProtoNumber(16) var voiceSwitch: UInt?=null,
|
||||
@ProtoNumber(17) var pttUrl: ByteArray?=null,
|
||||
@ProtoNumber(18) var groupFileKey: ByteArray?=null,
|
||||
@ProtoNumber(18) var groupFileKey: String?=null,
|
||||
@ProtoNumber(19) var time: UInt?=null,
|
||||
@ProtoNumber(20) var downPara: ByteArray?=null,
|
||||
@ProtoNumber(29) var format: UInt?=null,
|
||||
@ProtoNumber(30) var pbReserve: ByteArray?=null,
|
||||
@ProtoNumber(30) var pbReserve: PbReserve?=null,
|
||||
@ProtoNumber(31) var rptPttUrls: List<String>? = null,
|
||||
@ProtoNumber(32) var downloadFlag: UInt?=null,
|
||||
)
|
||||
){
|
||||
companion object{
|
||||
@Serializable
|
||||
data class PbReserve(
|
||||
@ProtoNumber(2) var magic: Int?=null,
|
||||
@ProtoNumber(7) var reserve: Int?=null,
|
||||
)
|
||||
}
|
||||
}
|
@ -9,9 +9,9 @@ import kotlinx.serialization.protobuf.ProtoNumber
|
||||
@Serializable
|
||||
data class RichText(
|
||||
@ProtoNumber(1) val attr: Attr? = null,
|
||||
@ProtoNumber(2) val elements: List<Elem>? = null,
|
||||
@ProtoNumber(3) val not_online_file: NotOnlineFile? = null,
|
||||
@ProtoNumber(4) val ptt: Ptt? = null,
|
||||
@ProtoNumber(2) var elements: List<Elem>? = null,
|
||||
@ProtoNumber(3) var not_online_file: NotOnlineFile? = null,
|
||||
@ProtoNumber(4) var ptt: Ptt? = null,
|
||||
@ProtoNumber(5) val tmp_ptt: TmpPtt? = null,
|
||||
@ProtoNumber(6) val trans_211_tmp_msg: Trans211TmpMsg? = null,
|
||||
)
|
||||
|
@ -30,7 +30,7 @@ data class CustomFace(
|
||||
@ProtoNumber(23) var height: UInt? = null,
|
||||
@ProtoNumber(24) var source: UInt? = null,
|
||||
@ProtoNumber(25) var size: UInt? = null,
|
||||
@ProtoNumber(26) var origin: UInt? = null,
|
||||
@ProtoNumber(26) var origin: Boolean? = null,
|
||||
@ProtoNumber(27) var thumbWidth: UInt? = null,
|
||||
@ProtoNumber(28) var thumbHeight: UInt? = null,
|
||||
@ProtoNumber(29) var showLen: UInt? = null,
|
||||
@ -39,11 +39,26 @@ data class CustomFace(
|
||||
@ProtoNumber(32) var width400: UInt? = null,
|
||||
@ProtoNumber(33) var height400: UInt? = null,
|
||||
@ProtoNumber(34) var pbReserve: PbReserve? = null,
|
||||
){
|
||||
companion object{
|
||||
) {
|
||||
companion object {
|
||||
@Serializable
|
||||
data class PbReserve(
|
||||
@ProtoNumber(1) var field1: Int? = null
|
||||
@ProtoNumber(1) var field1: Int? = null,
|
||||
@ProtoNumber(3) var field3: Int? = null,
|
||||
@ProtoNumber(4) var field4: Int? = null,
|
||||
@ProtoNumber(10) var field10: Int? = null,
|
||||
@ProtoNumber(21) var field21: Object1? = null,
|
||||
@ProtoNumber(31) var field31: String? = null
|
||||
)
|
||||
|
||||
@Serializable
|
||||
data class Object1(
|
||||
@ProtoNumber(1) var field1: Int? = null,
|
||||
@ProtoNumber(2) var field2: String? = null,
|
||||
@ProtoNumber(3) var field3: Int? = null,
|
||||
@ProtoNumber(4) var field4: Int? = null,
|
||||
@ProtoNumber(5) var field5: Int? = null,
|
||||
@ProtoNumber(7) var md5Str: String? = null
|
||||
)
|
||||
}
|
||||
}
|
@ -5,8 +5,8 @@ import kotlinx.serialization.protobuf.ProtoNumber
|
||||
|
||||
@Serializable
|
||||
data class FaceMsg(
|
||||
@ProtoNumber(1) val id: Int? = null,
|
||||
@ProtoNumber(1) val index: Int? = null,
|
||||
@ProtoNumber(2) var old: ByteArray? = null,
|
||||
@ProtoNumber(11) var buf: ByteArray? = null,
|
||||
|
||||
)
|
||||
)
|
@ -12,7 +12,7 @@ data class GeneralFlags(
|
||||
@ProtoNumber(4) val rpId: ByteArray? = null,
|
||||
@ProtoNumber(5) val prpFold: UInt? = null,
|
||||
@ProtoNumber(6) val longTextFlag: UInt? = null,
|
||||
@ProtoNumber(7) val longTextResid: ByteArray? = null,
|
||||
@ProtoNumber(7) val longTextResid: String? = null,
|
||||
@ProtoNumber(8) val groupType: UInt? = null,
|
||||
@ProtoNumber(9) val toUinFlag: UInt? = null,
|
||||
@ProtoNumber(10) val glamourLevel: UInt? = null,
|
||||
|
@ -5,19 +5,19 @@ import kotlinx.serialization.protobuf.ProtoNumber
|
||||
|
||||
@Serializable
|
||||
data class NotOnlineImage(
|
||||
@ProtoNumber(1) val filePath: ByteArray? = null,
|
||||
@ProtoNumber(1) val filePath: String? = null,
|
||||
@ProtoNumber(2) val fileLen: UInt? = null,
|
||||
@ProtoNumber(3) val downloadPath: ByteArray? = null,
|
||||
@ProtoNumber(3) val downloadPath: String? = null,
|
||||
@ProtoNumber(4) val oldVerSendFile: ByteArray? = null,
|
||||
@ProtoNumber(5) val imgType: UInt? = null,
|
||||
@ProtoNumber(6) val previewsImage: ByteArray? = null,
|
||||
@ProtoNumber(7) val picMd5: ByteArray? = null,
|
||||
@ProtoNumber(8) val picHeight: UInt? = null,
|
||||
@ProtoNumber(9) val picWidth: UInt? = null,
|
||||
@ProtoNumber(10) val resId: ByteArray? = null,
|
||||
@ProtoNumber(10) val resId: String? = null, // md5 + ".jpg"
|
||||
@ProtoNumber(11) val flag: ByteArray? = null,
|
||||
@ProtoNumber(12) val thumbUrl: String? = null,
|
||||
@ProtoNumber(13) val original: UInt? = null,
|
||||
@ProtoNumber(13) val original: Boolean? = null,
|
||||
@ProtoNumber(14) val bigUrl: String? = null,
|
||||
@ProtoNumber(15) val origUrl: String? = null,
|
||||
@ProtoNumber(16) val bizType: UInt? = null,
|
||||
@ -39,8 +39,23 @@ data class NotOnlineImage(
|
||||
@Serializable
|
||||
data class PbReserve(
|
||||
@ProtoNumber(1) var field1: Int? = null,
|
||||
@ProtoNumber(3) var field3: Int? = null,
|
||||
@ProtoNumber(4) var field4: Int? = null,
|
||||
@ProtoNumber(8) var field8: String? = null,
|
||||
@ProtoNumber(30) var url: String? = null
|
||||
@ProtoNumber(10) var field10: Int? = null,
|
||||
@ProtoNumber(20) var field20: Object1? = null,
|
||||
@ProtoNumber(30) var url: String? = null,
|
||||
@ProtoNumber(31) var md5Str: String? = null
|
||||
)
|
||||
|
||||
@Serializable
|
||||
data class Object1(
|
||||
@ProtoNumber(1) var field1: Int? = null,
|
||||
@ProtoNumber(2) var field2: String? = null,
|
||||
@ProtoNumber(3) var field3: Int? = null,
|
||||
@ProtoNumber(4) var field4: Int? = null,
|
||||
@ProtoNumber(5) var field5: Int? = null,
|
||||
@ProtoNumber(7) var field7: String? = null
|
||||
)
|
||||
}
|
||||
}
|
@ -21,7 +21,7 @@ data class SourceMsg(
|
||||
companion object {
|
||||
@Serializable
|
||||
data class PbReserve(
|
||||
@ProtoNumber(3) var field3: ULong? = null,
|
||||
@ProtoNumber(3) var msgRand: ULong? = null,
|
||||
@ProtoNumber(6) var senderUid: String? = null,
|
||||
@ProtoNumber(7) var receiverUid: String? = null,
|
||||
@ProtoNumber(8) var field8: Int? = null,
|
||||
|
@ -10,5 +10,12 @@ data class TextMsg(
|
||||
@ProtoNumber(3) val attr6Buf: ByteArray? = null,
|
||||
@ProtoNumber(4) val attr7Buf: ByteArray? = null,
|
||||
@ProtoNumber(11) val buf: ByteArray? = null,
|
||||
@ProtoNumber(12) val pbReserve: ByteArray? = null,
|
||||
)
|
||||
@ProtoNumber(12) val pbReserve: PbReserve? = null,
|
||||
){
|
||||
companion object {
|
||||
@Serializable
|
||||
data class PbReserve(
|
||||
@ProtoNumber(1) val field1: String? = null, // [打 call]] 请使用最新版手机 QQ 体验新功能
|
||||
)
|
||||
}
|
||||
}
|
@ -23,7 +23,7 @@ data class Row(
|
||||
|
||||
@Serializable
|
||||
data class Button(
|
||||
@ProtoNumber(1) val id: Int? = null,
|
||||
@ProtoNumber(1) val id: String? = null,
|
||||
@ProtoNumber(2) val renderData: RenderData? = null,
|
||||
@ProtoNumber(3) val action: Action? = null,
|
||||
)
|
||||
@ -41,8 +41,8 @@ data class Action(
|
||||
@ProtoNumber(2) val permission: Permission? = null,
|
||||
@ProtoNumber(4) val unsupportTips: String? = null,
|
||||
@ProtoNumber(5) val data: String? = null,
|
||||
@ProtoNumber(6) val reply: Boolean? = null,
|
||||
@ProtoNumber(7) val enter: Boolean? = null,
|
||||
@ProtoNumber(7) val reply: Boolean? = null,
|
||||
@ProtoNumber(8) val enter: Boolean? = null,
|
||||
)
|
||||
|
||||
@Serializable
|
||||
|
@ -11,7 +11,7 @@ data class QFaceExtra(
|
||||
@ProtoNumber(3) val faceId: Int? = null,
|
||||
@ProtoNumber(4) val field4: Int? = null,
|
||||
@ProtoNumber(5) val field5: Int? = null,
|
||||
@ProtoNumber(6) val field6: String? = null,
|
||||
@ProtoNumber(6) val result: String? = null,
|
||||
@ProtoNumber(7) val faceText: String? = null,
|
||||
@ProtoNumber(9) val field9: Int? = null
|
||||
) : Protobuf<QFaceExtra>
|
||||
|
@ -31,7 +31,7 @@ data class RecvLongMsgInfo(
|
||||
data class SendLongMsgInfo(
|
||||
@ProtoNumber(1) val type: Int? = null,
|
||||
@ProtoNumber(2) val uid: LongMsgUid? = null,
|
||||
@ProtoNumber(3) val groupUin: Int? = null,
|
||||
@ProtoNumber(3) val groupUin: ULong? = null,
|
||||
@ProtoNumber(4) val payload: ByteArray? = null,
|
||||
)
|
||||
|
||||
|
@ -1,55 +1 @@
|
||||
@file:OptIn(ExperimentalSerializationApi::class)
|
||||
package protobuf.message.multimedia
|
||||
|
||||
import kotlinx.serialization.ExperimentalSerializationApi
|
||||
import kotlinx.serialization.Serializable
|
||||
import kotlinx.serialization.protobuf.ProtoNumber
|
||||
import moe.fuqiuluo.symbols.Protobuf
|
||||
|
||||
@Serializable
|
||||
data class RichMediaForPicData(
|
||||
@ProtoNumber(1) val info: MediaInfo?,
|
||||
@ProtoNumber(2) val display: DisplayMediaInfo?,
|
||||
): Protobuf<RichMediaForPicData> {
|
||||
companion object {
|
||||
@Serializable
|
||||
data class MediaInfo(
|
||||
@ProtoNumber(1) val picture: Picture? = null,
|
||||
)
|
||||
|
||||
@Serializable
|
||||
data class Picture(
|
||||
@ProtoNumber(1) val info: PictureInfo? = null,
|
||||
@ProtoNumber(2) val fileId: String? = null,
|
||||
@ProtoNumber(4) val time: ULong? = null,
|
||||
)
|
||||
|
||||
@Serializable
|
||||
data class PictureInfo(
|
||||
@ProtoNumber(2) val md5Hex: String? = null,
|
||||
@ProtoNumber(3) val sha: String? = null,
|
||||
@ProtoNumber(4) val name: String? = null,
|
||||
@ProtoNumber(6) val width: Int? = null,
|
||||
@ProtoNumber(7) val height: Int? = null,
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
@Serializable
|
||||
data class DisplayMediaInfo(
|
||||
@ProtoNumber(1) val show: Show? = null,
|
||||
) {
|
||||
companion object {
|
||||
@Serializable
|
||||
data class Show(
|
||||
@ProtoNumber(2) val text: String? = null,
|
||||
@ProtoNumber(12) val download: Download? = null
|
||||
)
|
||||
|
||||
@Serializable
|
||||
data class Download(
|
||||
@ProtoNumber(30) val url: String? = null,
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -49,8 +49,8 @@ data class UploadCompletedReq(
|
||||
@Serializable
|
||||
data class MsgInfo(
|
||||
@ProtoNumber(1) val msgInfoBody: List<MsgInfoBody>,
|
||||
@ProtoNumber(2) val extBizInfo: ExtBizInfo,
|
||||
)
|
||||
@ProtoNumber(2) val extBizInfo: ExtBizInfo?,
|
||||
): Protobuf<MsgInfo>
|
||||
|
||||
@Serializable
|
||||
data class MsgInfoBody(
|
||||
@ -94,7 +94,8 @@ data class DeleteReq(
|
||||
|
||||
@Serializable
|
||||
data class DownloadRkeyReq(
|
||||
@ProtoNumber(1) val types: List<Int>
|
||||
@ProtoNumber(1) val types: List<Int>,
|
||||
@ProtoNumber(2) val downloadType: Int
|
||||
)
|
||||
|
||||
@Serializable
|
||||
@ -106,7 +107,7 @@ data class UploadReq(
|
||||
@ProtoNumber(5) val compatQMsgSceneType: UInt? = null,
|
||||
@ProtoNumber(6) val extBizInfo: ExtBizInfo? = null,
|
||||
@ProtoNumber(7) val clientSeq: UInt? = null,
|
||||
@ProtoNumber(8) val noNeedCompatMsg: Boolean = false,
|
||||
@ProtoNumber(8) val noNeedCompatMsg: Boolean? = null,
|
||||
)
|
||||
|
||||
@Serializable
|
||||
@ -114,7 +115,7 @@ data class ExtBizInfo(
|
||||
@ProtoNumber(1) val pic: PicExtBizInfo? = null,
|
||||
@ProtoNumber(2) val video: VideoExtBizInfo? = null,
|
||||
@ProtoNumber(3) val ptt: PttExtBizInfo? = null,
|
||||
@ProtoNumber(10) val busiType: UInt,
|
||||
@ProtoNumber(10) val busiType: UInt?,
|
||||
)
|
||||
|
||||
@Serializable
|
||||
@ -132,15 +133,15 @@ data class PttExtBizInfo(
|
||||
|
||||
@Serializable
|
||||
data class VideoExtBizInfo(
|
||||
@ProtoNumber(1) val fromScene: UInt,
|
||||
@ProtoNumber(2) val toScene: UInt,
|
||||
@ProtoNumber(3) val bytesPbReserve: ByteArray,
|
||||
@ProtoNumber(1) val fromScene: UInt?,
|
||||
@ProtoNumber(2) val toScene: UInt?,
|
||||
@ProtoNumber(3) val bytesPbReserve: ByteArray?,
|
||||
)
|
||||
|
||||
@Serializable
|
||||
data class PicExtBizInfo(
|
||||
@ProtoNumber(1) val bizType: UInt,
|
||||
@ProtoNumber(2) val textSummary: String,
|
||||
@ProtoNumber(1) val bizType: UInt?,
|
||||
@ProtoNumber(2) val textSummary: String?,
|
||||
@ProtoNumber(11) val bytesPbReserveC2c: ByteArray? = null,
|
||||
@ProtoNumber(12) val bytesPbReserveTroop: ByteArray? = null,
|
||||
@ProtoNumber(1001) val fromScene: UInt? = null,
|
||||
@ -156,15 +157,15 @@ data class UploadInfo(
|
||||
|
||||
@Serializable
|
||||
data class FileInfo(
|
||||
@ProtoNumber(1) val fileSize: ULong,
|
||||
@ProtoNumber(2) val md5: String,
|
||||
@ProtoNumber(3) val sha1: String,
|
||||
@ProtoNumber(4) val name: String,
|
||||
@ProtoNumber(5) val fileType: FileType,
|
||||
@ProtoNumber(6) val width: UInt,
|
||||
@ProtoNumber(7) val height: UInt,
|
||||
@ProtoNumber(8) val time: UInt,
|
||||
@ProtoNumber(9) val original: UInt,
|
||||
@ProtoNumber(1) val fileSize: ULong?,
|
||||
@ProtoNumber(2) val md5: String?,
|
||||
@ProtoNumber(3) val sha1: String?,
|
||||
@ProtoNumber(4) val name: String?,
|
||||
@ProtoNumber(5) val fileType: FileType?,
|
||||
@ProtoNumber(6) val width: UInt?,
|
||||
@ProtoNumber(7) val height: UInt?,
|
||||
@ProtoNumber(8) val time: UInt?,
|
||||
@ProtoNumber(9) val original: UInt?,
|
||||
)
|
||||
|
||||
@Serializable
|
||||
@ -217,7 +218,7 @@ data class IndexNode(
|
||||
@ProtoNumber(3) val storeId: UInt, // 0为旧服务器 1为nt服务器
|
||||
@ProtoNumber(4) val uploadTime: ULong,
|
||||
@ProtoNumber(5) val ttl: ULong,
|
||||
@ProtoNumber(6) val subType: UInt,
|
||||
@ProtoNumber(6) val subType: UInt? = null,
|
||||
@ProtoNumber(7) val storeAppId: UInt? = null
|
||||
)
|
||||
|
||||
|
@ -26,8 +26,8 @@ class DownloadSafeRsp
|
||||
|
||||
@Serializable
|
||||
data class UploadKeyRenewalRsp(
|
||||
@ProtoNumber(1) val ukey: String,
|
||||
@ProtoNumber(2) val ukeyTtlSec: ULong,
|
||||
@ProtoNumber(1) val ukey: String?,
|
||||
@ProtoNumber(2) val ukeyTtlSec: ULong?,
|
||||
)
|
||||
|
||||
@Serializable
|
||||
@ -39,7 +39,7 @@ data class MsgInfoAuthRsp(
|
||||
|
||||
@Serializable
|
||||
data class UploadCompletedRsp(
|
||||
@ProtoNumber(1) val msgSeq: ULong
|
||||
@ProtoNumber(1) val msgSeq: ULong?
|
||||
)
|
||||
|
||||
@Serializable
|
||||
@ -47,22 +47,22 @@ class DeleteRsp
|
||||
|
||||
@Serializable
|
||||
data class DownloadRkeyRsp(
|
||||
@ProtoNumber(1) val rkeys: List<RKeyInfo>
|
||||
@ProtoNumber(1) val rkeys: List<RKeyInfo>?
|
||||
)
|
||||
|
||||
@Serializable
|
||||
data class RKeyInfo(
|
||||
@ProtoNumber(1) val rkey: String,
|
||||
@ProtoNumber(2) val rkeyTtlSec: ULong,
|
||||
@ProtoNumber(2) val rkeyTtlSec: ULong?,
|
||||
@ProtoNumber(3) val storeId: UInt = 0u,
|
||||
@ProtoNumber(4) val rkeyCreateTime: UInt?,
|
||||
@ProtoNumber(4) val type: UInt?,
|
||||
@ProtoNumber(5) val type: UInt,
|
||||
)
|
||||
|
||||
@Serializable
|
||||
data class DownloadRsp(
|
||||
@ProtoNumber(1) val rkeyParam: String,
|
||||
@ProtoNumber(2) val rkeyTtlSec: ULong,
|
||||
@ProtoNumber(1) val rkeyParam: String?,
|
||||
@ProtoNumber(2) val rkeyTtlSec: ULong?,
|
||||
@ProtoNumber(3) val downloadInfo: DownloadInfo?,
|
||||
@ProtoNumber(4) val rkeyCreateTime: UInt?
|
||||
)
|
||||
@ -80,16 +80,16 @@ data class DownloadInfo(
|
||||
|
||||
@Serializable
|
||||
data class VideoExtInfo(
|
||||
@ProtoNumber(1) val videoCodecFormat: UInt,
|
||||
@ProtoNumber(1) val videoCodecFormat: UInt? = null,
|
||||
)
|
||||
|
||||
@Serializable
|
||||
data class UploadRsp(
|
||||
@ProtoNumber(1) val ukey: String,
|
||||
@ProtoNumber(2) val ukeyTtlSec: ULong,
|
||||
@ProtoNumber(3) val ipv4: List<Ipv4>,
|
||||
@ProtoNumber(4) val ipv6: List<Ipv6>,
|
||||
@ProtoNumber(5) val msgSeq: ULong,
|
||||
@ProtoNumber(1) val ukey: String?,
|
||||
@ProtoNumber(2) val ukeyTtlSec: ULong?,
|
||||
@ProtoNumber(3) val ipv4: List<Ipv4>?,
|
||||
@ProtoNumber(4) val ipv6: List<Ipv6>?,
|
||||
@ProtoNumber(5) val msgSeq: ULong?,
|
||||
@ProtoNumber(6) val msgInfo: MsgInfo? = null,
|
||||
@ProtoNumber(7) val ext: List<RichmediaStorageTransInfo>? = null,
|
||||
@ProtoNumber(8) val compatQMsg: ByteArray? = null,
|
||||
@ -98,11 +98,11 @@ data class UploadRsp(
|
||||
|
||||
@Serializable
|
||||
data class SubFileInfo(
|
||||
@ProtoNumber(1) val subType: UInt,
|
||||
@ProtoNumber(2) val ukey: String,
|
||||
@ProtoNumber(3) val ukeyTTLSec: ULong,
|
||||
@ProtoNumber(4) val ipv4: List<Ipv4>,
|
||||
@ProtoNumber(5) val ipv6: List<Ipv6>,
|
||||
@ProtoNumber(1) val subType: UInt?,
|
||||
@ProtoNumber(2) val ukey: String?,
|
||||
@ProtoNumber(3) val ukeyTTLSec: ULong?,
|
||||
@ProtoNumber(4) val ipv4: List<Ipv4>?,
|
||||
@ProtoNumber(5) val ipv6: List<Ipv6>?,
|
||||
)
|
||||
|
||||
@Serializable
|
||||
@ -132,8 +132,8 @@ data class Ipv6(
|
||||
|
||||
@Serializable
|
||||
data class RspHead(
|
||||
@ProtoNumber(1) val commonHead: CommonHead,
|
||||
@ProtoNumber(1) val commonHead: CommonHead?,
|
||||
@ProtoNumber(2) val retCode: UInt = 0u,
|
||||
@ProtoNumber(3) val msg: String
|
||||
@ProtoNumber(3) val msg: String?
|
||||
)
|
||||
|
||||
|
63
protobuf/src/main/java/protobuf/oidb/cmd0x388/Cmd0x388Req.kt
Normal file
63
protobuf/src/main/java/protobuf/oidb/cmd0x388/Cmd0x388Req.kt
Normal file
@ -0,0 +1,63 @@
|
||||
package protobuf.oidb.cmd0x388
|
||||
|
||||
import com.google.protobuf.Internal.EMPTY_BYTE_ARRAY
|
||||
import kotlinx.serialization.Serializable
|
||||
import kotlinx.serialization.protobuf.ProtoNumber
|
||||
import moe.fuqiuluo.symbols.Protobuf
|
||||
|
||||
@Serializable
|
||||
data class Cmd0x388ReqBody(
|
||||
@ProtoNumber(1) var netType: Int = 0,
|
||||
@ProtoNumber(2) var subCmd: Int = 0,
|
||||
@ProtoNumber(3) var msgTryUpImg: ArrayList<TryUpImgReq>? = null,
|
||||
// @ProtoNumber(4) var rpt_msg_getimg_url_req: ArrayList<GetImgUrlReq>? = null,
|
||||
@ProtoNumber(5) var msgTryUpPttReq: ArrayList<TryUpPttReq>? = null,
|
||||
// @ProtoNumber(6) var msgGetPttUrlReq: ArrayList<GetPttUrlReq>? = null,
|
||||
@ProtoNumber(7) var commandId: Int = 0,
|
||||
// @ProtoNumber(8) var rpt_msg_del_img_req: ArrayList<DelImgReq>? = null,
|
||||
@ProtoNumber(1001) var extension: ByteArray = EMPTY_BYTE_ARRAY,
|
||||
): Protobuf<Cmd0x388ReqBody>
|
||||
|
||||
@Serializable
|
||||
data class TryUpImgReq(
|
||||
@ProtoNumber(1) var groupCode: Long = 0,
|
||||
@ProtoNumber(2) var srcUin: Long = 0,
|
||||
@ProtoNumber(3) var fileId: Long? = null,
|
||||
@ProtoNumber(4) var fileMd5: ByteArray = EMPTY_BYTE_ARRAY,
|
||||
@ProtoNumber(5) var fileSize: Long = 0,
|
||||
@ProtoNumber(6) var fileName: String = "",
|
||||
@ProtoNumber(7) var srcTerm: Int = 0,
|
||||
@ProtoNumber(8) var platformType: Int = 0,
|
||||
@ProtoNumber(9) var buType: Int = 0,
|
||||
@ProtoNumber(10) var picWidth: Int = 0,
|
||||
@ProtoNumber(11) var picHeight: Int = 0,
|
||||
@ProtoNumber(12) var picType: Int = 0,
|
||||
@ProtoNumber(13) var buildVer: String = "",
|
||||
@ProtoNumber(14) var innerIp: Int = 0,
|
||||
@ProtoNumber(15) var appPicType: Int = 0,
|
||||
@ProtoNumber(16) var originalPic: Int = 0,
|
||||
@ProtoNumber(17) var fileIndex: ByteArray = EMPTY_BYTE_ARRAY,
|
||||
@ProtoNumber(18) var dstUin: Long = 0,
|
||||
@ProtoNumber(19) var srvUpload: Int? = null,
|
||||
@ProtoNumber(20) var transferUrl: ByteArray = EMPTY_BYTE_ARRAY,
|
||||
)
|
||||
|
||||
@Serializable
|
||||
data class TryUpPttReq(
|
||||
@ProtoNumber(1) var groupCode: Long = 0,
|
||||
@ProtoNumber(2) var srcUin: Long = 0,
|
||||
@ProtoNumber(3) var fileId: Long = 0,
|
||||
@ProtoNumber(4) var fileMd5: ByteArray = EMPTY_BYTE_ARRAY,
|
||||
@ProtoNumber(5) var fileSize: Long = 0,
|
||||
@ProtoNumber(6) var fileName: ByteArray = EMPTY_BYTE_ARRAY,
|
||||
@ProtoNumber(7) var srcTerm: Int = 0,
|
||||
@ProtoNumber(8) var platformType: Int = 0,
|
||||
@ProtoNumber(9) var buType: Int = 0,
|
||||
@ProtoNumber(10) var buildVer: ByteArray = EMPTY_BYTE_ARRAY,
|
||||
@ProtoNumber(11) var innerIp: Int = 0,
|
||||
@ProtoNumber(12) var voiceLength: Int = 0,
|
||||
@ProtoNumber(13) var newUpChan: Boolean = false,
|
||||
@ProtoNumber(14) var codec: Int = 0,
|
||||
@ProtoNumber(15) var voiceType: Int = 0,
|
||||
@ProtoNumber(16) var buId: Int = 0,
|
||||
)
|
78
protobuf/src/main/java/protobuf/oidb/cmd0x388/Cmd0x388Rsp.kt
Normal file
78
protobuf/src/main/java/protobuf/oidb/cmd0x388/Cmd0x388Rsp.kt
Normal file
@ -0,0 +1,78 @@
|
||||
@file:OptIn(ExperimentalSerializationApi::class)
|
||||
|
||||
package protobuf.oidb.cmd0x388
|
||||
|
||||
import com.google.protobuf.Internal.EMPTY_BYTE_ARRAY
|
||||
import kotlinx.serialization.ExperimentalSerializationApi
|
||||
import kotlinx.serialization.Serializable
|
||||
import kotlinx.serialization.protobuf.ProtoNumber
|
||||
import moe.fuqiuluo.symbols.Protobuf
|
||||
|
||||
@Serializable
|
||||
data class Cmd0x388RspBody(
|
||||
@ProtoNumber(1) var clientIp: UInt = 0u,
|
||||
@ProtoNumber(2) var subCmd: UInt = 0u,
|
||||
@ProtoNumber(3) var msgTryUpImgRsp: ArrayList<TryUpImgRsp>? = null,
|
||||
@ProtoNumber(5) var msgTryUpPttRsp: ArrayList<TryUpPttRsp>? = null,
|
||||
): Protobuf<Cmd0x388RspBody>
|
||||
|
||||
@Serializable
|
||||
data class TryUpPttRsp(
|
||||
@ProtoNumber(1) var fileId: Long = 0,
|
||||
@ProtoNumber(2) var result: Int = 0,
|
||||
@ProtoNumber(3) var failMsg: ByteArray = EMPTY_BYTE_ARRAY,
|
||||
@ProtoNumber(4) var fileExit: Boolean = false,
|
||||
@ProtoNumber(5) var upIp: List<Int>? = null,
|
||||
@ProtoNumber(6) var upPort: List<Int>? = null,
|
||||
@ProtoNumber(7) var upUkey: ByteArray = EMPTY_BYTE_ARRAY,
|
||||
@ProtoNumber(8) var fileid: Long = 0,
|
||||
@ProtoNumber(9) var upOffset: Long = 0,
|
||||
@ProtoNumber(10) var blockSize: Long = 0,
|
||||
@ProtoNumber(11) var fileKey: ByteArray = EMPTY_BYTE_ARRAY,
|
||||
@ProtoNumber(12) var channelType: Int = 0,
|
||||
@ProtoNumber(26) var msgUpIp6: ArrayList<IPv6Info>? = null,
|
||||
@ProtoNumber(27) var clientIp6: ByteArray = EMPTY_BYTE_ARRAY,
|
||||
): Protobuf<TryUpPttRsp>
|
||||
|
||||
@Serializable
|
||||
data class TryUpImgRsp(
|
||||
@ProtoNumber(1) var extFileId: ULong = 0u, // 没有实际作用
|
||||
@ProtoNumber(2) var result: UInt = 0u,
|
||||
@ProtoNumber(3) var faiMsg: ByteArray = EMPTY_BYTE_ARRAY,
|
||||
@ProtoNumber(4) var fileExist: Boolean = false,
|
||||
@ProtoNumber(5) var msgImgInfo: ImgInfo? = null, // 里面只是一堆垃圾
|
||||
@ProtoNumber(6) var upIp: ArrayList<Long>? = null,
|
||||
@ProtoNumber(7) var upPort: ArrayList<Int>? = null,
|
||||
@ProtoNumber(8) var ukey: ByteArray = EMPTY_BYTE_ARRAY,
|
||||
@ProtoNumber(9) var fileId: Long = 0,
|
||||
@ProtoNumber(10) var upOffset: ULong = 0u,
|
||||
@ProtoNumber(11) var blockSize: Long = 0,
|
||||
@ProtoNumber(12) var bool_new_big_chan: Boolean = false,
|
||||
@ProtoNumber(26) var rpt_msg_up_ip6: ArrayList<IPv6Info>? = null,
|
||||
@ProtoNumber(27) var client_ip6: ByteArray = EMPTY_BYTE_ARRAY,
|
||||
@ProtoNumber(1001) var msg_info4busi: TryUpInfo4Busi? = null,
|
||||
)
|
||||
|
||||
@Serializable
|
||||
data class TryUpInfo4Busi(
|
||||
@ProtoNumber(1) var down_domain: ByteArray = EMPTY_BYTE_ARRAY,
|
||||
@ProtoNumber(2) var thumb_down_url: ByteArray = EMPTY_BYTE_ARRAY,
|
||||
@ProtoNumber(3) var original_down_url: ByteArray = EMPTY_BYTE_ARRAY,
|
||||
@ProtoNumber(4) var big_down_url: ByteArray = EMPTY_BYTE_ARRAY,
|
||||
@ProtoNumber(5) var file_resid: ByteArray = EMPTY_BYTE_ARRAY,
|
||||
)
|
||||
|
||||
@Serializable
|
||||
data class IPv6Info(
|
||||
@ProtoNumber(1) var ip6: ByteArray = EMPTY_BYTE_ARRAY,
|
||||
@ProtoNumber(2) var port: UInt = 0u,
|
||||
)
|
||||
|
||||
@Serializable
|
||||
data class ImgInfo(
|
||||
@ProtoNumber(1) var file_md5: ByteArray = EMPTY_BYTE_ARRAY,
|
||||
@ProtoNumber(2) var file_type: UInt = 0u,
|
||||
@ProtoNumber(3) var file_size: ULong = 0u,
|
||||
@ProtoNumber(4) var file_width: UInt = 0u,
|
||||
@ProtoNumber(5) var file_height: UInt = 0u,
|
||||
)
|
@ -7,6 +7,8 @@ import kotlinx.serialization.Serializable
|
||||
import kotlinx.serialization.protobuf.ProtoNumber
|
||||
import moe.fuqiuluo.symbols.Protobuf
|
||||
|
||||
const val DEFAULT_DEVICE_INFO = "i=&imsi=&mac=02:00:00:00:00:00&m=Shamrock&o=114514&a=1919810&sd=0&c64=1&sc=1&p=8000*8000&aid=123456789012345678901234567890abcdef&f=Tencent&mm=5610&cf=1726&cc=8&qimei=&qimei36=&sharpP=1&n=nether_world&support_xsj_live=false&client_mod=concise&timezone=America/La_Paz&material_sdk_version=&vh265=&refreshrate=10086&hwlevel=9&suphdr=1&is_teenager_mod=8&liveH265=&bmst=5&AV1=0"
|
||||
|
||||
@Serializable
|
||||
data class QWebReq(
|
||||
@ProtoNumber(1) val seq: Int = 0,
|
||||
|
@ -0,0 +1,74 @@
|
||||
package com.tencent.mobileqq.data;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
public class MessageForPic extends MessageRecord {
|
||||
public String SpeedInfo;
|
||||
public String actMsgContentValue;
|
||||
public String action;
|
||||
public String bigMsgUrl;
|
||||
public String bigThumbMsgUrl;
|
||||
public int busiType;
|
||||
public int fileSizeFlag;
|
||||
public long groupFileID;
|
||||
public long height;
|
||||
public int imageType;
|
||||
public boolean isInMixedMsg;
|
||||
public boolean isMixed;
|
||||
public boolean isRead;
|
||||
public boolean isShareAppActionMsg;
|
||||
public String localUUID;
|
||||
public int mCurrlength;
|
||||
public int mDownloadLength;
|
||||
public long mPresendTransferedSize;
|
||||
public int mShowLength;
|
||||
public String md5;
|
||||
//@RecordForTest
|
||||
// public msg_ctrl$MsgCtrl msgCtrl;
|
||||
public int msgVia;
|
||||
public int ntChatType;
|
||||
public String ntPeerUid;
|
||||
public String path;
|
||||
//public PicMessageExtraData picExtraData;
|
||||
public int picExtraFlag;
|
||||
public Object picExtraObject;
|
||||
public int previewed;
|
||||
public String rawMsgUrl;
|
||||
/// public ReportInfo reportInfo;
|
||||
//public MsgRecordParams rootMsgRecordParams;
|
||||
public String serverStoreSource;
|
||||
public long shareAppID;
|
||||
public long size;
|
||||
public long subTypeId;
|
||||
public int thumbHeight;
|
||||
public String thumbMsgUrl;
|
||||
public int thumbWidth;
|
||||
//public ThumbWidthHeightDP thumbWidthHeightDP;
|
||||
public int type;
|
||||
public String uuid;
|
||||
public long width;
|
||||
public boolean isDownStatusReady = false;
|
||||
public int subMsgId = 0;
|
||||
public int isReport = 0;
|
||||
public int subVersion = 5;
|
||||
public int preDownState = -1;
|
||||
public int preDownNetworkType = -1;
|
||||
public long DSKey = 0;
|
||||
public int mNotPredownloadReason = 0;
|
||||
public int subThumbWidth = -1;
|
||||
public int subThumbHeight = -1;
|
||||
public int aiofileType = -1;
|
||||
public int subMsgType = -1;
|
||||
public boolean bEnableEnc = false;
|
||||
public int thumbSize = -1;
|
||||
public boolean isBlessPic = false;
|
||||
public boolean sync2Story = false;
|
||||
public boolean isQzonePic = false;
|
||||
public boolean isStoryPhoto = false;
|
||||
public long replyRealSourceMsgId = -1;
|
||||
|
||||
public String toLogString() {
|
||||
return "path:" + this.path + ",uuid:" + this.uuid + ",md5:" + this.md5 + ",size:" + this.size + ",groupFileID:" + this.groupFileID;
|
||||
}
|
||||
}
|
@ -146,6 +146,7 @@ public class TroopInfo {
|
||||
public byte[] troopInfoExtByte;
|
||||
public String troopLevelMap;
|
||||
public String troopRemark;
|
||||
@Deprecated
|
||||
public String troopcode;
|
||||
public short troopface;
|
||||
public String troopmemo;
|
||||
@ -154,6 +155,7 @@ public class TroopInfo {
|
||||
public int trooptype;
|
||||
public String troopuin;
|
||||
public long udwCmdUinRingtoneID;
|
||||
@Deprecated
|
||||
public String uin;
|
||||
public int wClickBAFTipCount;
|
||||
public int wInsertBAFTipCount;
|
||||
|
@ -1,63 +1,92 @@
|
||||
package com.tencent.mobileqq.data.troop;
|
||||
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
import com.tencent.qqnt.kernelpublic.nativeinterface.MemberRole;
|
||||
|
||||
public class TroopMemberInfo {
|
||||
public long active_point;
|
||||
public static final long VALUE_DISTANCE_TO_SELF_UNKOWN = -100;
|
||||
protected static final int VALUE_INVALID = -100;
|
||||
public static final long VALUE_MEMBER_CLOSE_SHARE_LBS = -1001;
|
||||
|
||||
public int addState;
|
||||
public byte age;
|
||||
public String alias;
|
||||
|
||||
@Deprecated(since = "推荐使用TroopMemberNickInfo")
|
||||
public String autoremark;
|
||||
public long cmduinFlagEx3Grocery;
|
||||
public long credit_level;
|
||||
public long datetime;
|
||||
public String displayedNamePinyinFirst;
|
||||
public short faceid;
|
||||
|
||||
@Nullable
|
||||
public TroopMemberInfoExt extInfo;
|
||||
|
||||
@Deprecated(since = "推荐使用TroopMemberNickInfo")
|
||||
public String friendnick;
|
||||
public long gagTimeStamp;
|
||||
public String honorList;
|
||||
public boolean isTroopFollowed;
|
||||
public long join_time;
|
||||
public long last_active_time;
|
||||
public int level;
|
||||
public int mBigClubVipType;
|
||||
public byte mHonorRichFlag;
|
||||
public boolean mIsShielded;
|
||||
public int mVipType;
|
||||
public String memberUid;
|
||||
public String memberuin;
|
||||
public int newRealLevel;
|
||||
public TroopMemberNickInfo nickInfo;
|
||||
public int realLevel;
|
||||
public MemberRole role;
|
||||
|
||||
@Nullable
|
||||
public TroopMemberSpecialTitleInfo specialTitleInfo;
|
||||
|
||||
@Deprecated(since = "推荐使用TroopMemberNickInfo")
|
||||
public String troopColorNick;
|
||||
|
||||
@Deprecated(since = "推荐使用TroopMemberNickInfo")
|
||||
public int troopColorNickId;
|
||||
|
||||
@Deprecated(since = "推荐使用TroopMemberNickInfo")
|
||||
public String troopnick;
|
||||
public String troopuin;
|
||||
public int globalTroopLevel = VALUE_INVALID;
|
||||
public int flagEx = 0;
|
||||
|
||||
// QQ OLD API DATA
|
||||
public long active_point;
|
||||
public byte age;
|
||||
public String alias;
|
||||
public long cmduinFlagEx3Grocery;
|
||||
public long datetime;
|
||||
public short faceid;
|
||||
public String hwCourse;
|
||||
public int hwIdentity;
|
||||
public String hwName;
|
||||
public int isShowQZone;
|
||||
public boolean isTroopFollowed;
|
||||
public long join_time;
|
||||
public long lastMsgUpdateHonorRichTime;
|
||||
public long last_active_time;
|
||||
public int level;
|
||||
public int mBigClubTemplateId;
|
||||
public int mBigClubVipLevel;
|
||||
public int mBigClubVipType;
|
||||
public int mGlamourLevel;
|
||||
public byte mHonorRichFlag;
|
||||
public int mIsHideBigClub;
|
||||
public boolean mIsShielded;
|
||||
public String mUniqueTitle;
|
||||
public int mVipLevel;
|
||||
public int mVipTemplateId;
|
||||
public int mVipType;
|
||||
public String memberuin;
|
||||
public int newRealLevel;
|
||||
public String pyAll_autoremark;
|
||||
public String pyAll_friendnick;
|
||||
public String pyAll_troopnick;
|
||||
public String pyFirst_autoremark;
|
||||
public String pyFirst_friendnick;
|
||||
public String pyFirst_troopnick;
|
||||
public int realLevel;
|
||||
public String recommendRemark;
|
||||
public byte sex;
|
||||
public byte status;
|
||||
public int tribeLevel;
|
||||
public int tribePoint;
|
||||
public String troopColorNick;
|
||||
public int troopColorNickId;
|
||||
public String troopnick;
|
||||
public String troopremark;
|
||||
public String troopuin;
|
||||
public int qqVipInfo = 0;
|
||||
public int superQqInfo = 0;
|
||||
public int superVipInfo = 0;
|
||||
public int hotChatGlamourLevel = -100;
|
||||
public int globalTroopLevel = -100;
|
||||
public int distance = 0;
|
||||
public long msgseq = -100;
|
||||
public double distanceToSelf = -100.0d;
|
||||
|
@ -0,0 +1,48 @@
|
||||
package com.tencent.mobileqq.data.troop;
|
||||
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
import kotlin.jvm.JvmField;
|
||||
|
||||
public class TroopMemberInfoExt {
|
||||
@JvmField
|
||||
public int commonFrdCnt;
|
||||
|
||||
@JvmField
|
||||
public long flagEx3;
|
||||
|
||||
@JvmField
|
||||
public int hwIdentity;
|
||||
|
||||
@JvmField
|
||||
public long lastMsgUpdateHonorRichTime;
|
||||
|
||||
@JvmField
|
||||
@Nullable
|
||||
public String memberUin;
|
||||
|
||||
@JvmField
|
||||
@Nullable
|
||||
public byte[] nickIconRepeatMsgBuffer;
|
||||
|
||||
@JvmField
|
||||
@Nullable
|
||||
public String recommendRemark;
|
||||
|
||||
@JvmField
|
||||
@Nullable
|
||||
public String showNameForPinyin;
|
||||
|
||||
@JvmField
|
||||
@Nullable
|
||||
public String showNamePinyinAll;
|
||||
|
||||
@JvmField
|
||||
@Nullable
|
||||
public String showNamePinyinFirst;
|
||||
|
||||
@JvmField
|
||||
@Nullable
|
||||
public String troopUin;
|
||||
|
||||
}
|
@ -0,0 +1,54 @@
|
||||
package com.tencent.mobileqq.data.troop;
|
||||
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
public class TroopMemberNickInfo {
|
||||
@NotNull
|
||||
public final String getAutoRemark() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@NotNull
|
||||
public final String getColorNick() {
|
||||
return null;
|
||||
}
|
||||
|
||||
public final int getColorNickId() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@NotNull
|
||||
public final String getFriendNick() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@NotNull
|
||||
public final String getHBShowName() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@NotNull
|
||||
public final String getRemarkFromFriend() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@NotNull
|
||||
public final String getRemarkFromFriendV2() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@NotNull
|
||||
public final String getShowName() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@NotNull
|
||||
public final String getTroopNick() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@NotNull
|
||||
public final String getTroopUin() {
|
||||
return null;
|
||||
}
|
||||
}
|
@ -0,0 +1,29 @@
|
||||
package com.tencent.mobileqq.data.troop;
|
||||
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
public class TroopMemberSpecialTitleInfo {
|
||||
public final int getExpireTimeSec() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@NotNull
|
||||
public final String getFriendNick() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@NotNull
|
||||
public final String getSpecialTitle() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@NotNull
|
||||
public final String getTroopUin() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@NotNull
|
||||
public final String getUin() {
|
||||
return null;
|
||||
}
|
||||
}
|
15
qqinterface/src/main/java/com/tencent/mobileqq/l0/b/a.java
Normal file
15
qqinterface/src/main/java/com/tencent/mobileqq/l0/b/a.java
Normal file
@ -0,0 +1,15 @@
|
||||
package com.tencent.mobileqq.l0.b;
|
||||
|
||||
public class a {
|
||||
public void b () {
|
||||
|
||||
}
|
||||
|
||||
public void c (c cVar) {
|
||||
|
||||
}
|
||||
|
||||
public void onUpdate(int progress, boolean z, Object obj) {
|
||||
|
||||
}
|
||||
}
|
23
qqinterface/src/main/java/com/tencent/mobileqq/l0/b/b.java
Normal file
23
qqinterface/src/main/java/com/tencent/mobileqq/l0/b/b.java
Normal file
@ -0,0 +1,23 @@
|
||||
package com.tencent.mobileqq.l0.b;
|
||||
|
||||
import android.graphics.Point;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
public class b {
|
||||
// text
|
||||
public String a;
|
||||
|
||||
// confidence
|
||||
public int b;
|
||||
|
||||
// coordinates
|
||||
public ArrayList<Point> c;
|
||||
|
||||
/* renamed from: d */
|
||||
public int d;
|
||||
|
||||
/* renamed from: e */
|
||||
public boolean e;
|
||||
|
||||
}
|
39
qqinterface/src/main/java/com/tencent/mobileqq/l0/b/c.java
Normal file
39
qqinterface/src/main/java/com/tencent/mobileqq/l0/b/c.java
Normal file
@ -0,0 +1,39 @@
|
||||
package com.tencent.mobileqq.l0.b;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
|
||||
public class c {
|
||||
// image
|
||||
public String a;
|
||||
|
||||
// width
|
||||
public int b;
|
||||
|
||||
// height
|
||||
public int c;
|
||||
|
||||
// lang
|
||||
public String d;
|
||||
|
||||
// url
|
||||
public String e;
|
||||
|
||||
// results
|
||||
public ArrayList<b> f;
|
||||
|
||||
public ArrayList<String> g;
|
||||
|
||||
public HashMap<String, String> h;
|
||||
|
||||
public int i;
|
||||
|
||||
public int j;
|
||||
|
||||
public int k;
|
||||
|
||||
public String l;
|
||||
|
||||
public int m;
|
||||
|
||||
}
|
@ -1,7 +1,7 @@
|
||||
package com.tencent.mobileqq.msf.core;
|
||||
|
||||
public class MsfCore {
|
||||
public static synchronized int getNextSeq() {
|
||||
public synchronized int getNextSeq() {
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
@ -0,0 +1,18 @@
|
||||
package com.tencent.mobileqq.msf.sdk;
|
||||
|
||||
import com.tencent.qphone.base.remote.FromServiceMsg;
|
||||
import com.tencent.qphone.base.remote.ToServiceMsg;
|
||||
|
||||
public class MsfMessagePair {
|
||||
public FromServiceMsg fromServiceMsg;
|
||||
public String sendProcess;
|
||||
public ToServiceMsg toServiceMsg;
|
||||
|
||||
public MsfMessagePair(String str, ToServiceMsg toServiceMsg, FromServiceMsg fromServiceMsg) {
|
||||
|
||||
}
|
||||
|
||||
public MsfMessagePair(ToServiceMsg toServiceMsg, FromServiceMsg fromServiceMsg) {
|
||||
|
||||
}
|
||||
}
|
@ -0,0 +1,22 @@
|
||||
package com.tencent.mobileqq.msf.service;
|
||||
|
||||
import android.app.Service;
|
||||
import android.content.Intent;
|
||||
import android.os.IBinder;
|
||||
|
||||
import androidx.annotation.Nullable;
|
||||
|
||||
import com.tencent.mobileqq.msf.core.MsfCore;
|
||||
|
||||
public class MsfService extends Service {
|
||||
@Nullable
|
||||
@Override
|
||||
public IBinder onBind(Intent intent) {
|
||||
return null;
|
||||
}
|
||||
|
||||
public static MsfCore getCore() {
|
||||
return null;
|
||||
}
|
||||
|
||||
}
|
38
qqinterface/src/main/java/com/tencent/mobileqq/ocr/a/a.java
Normal file
38
qqinterface/src/main/java/com/tencent/mobileqq/ocr/a/a.java
Normal file
@ -0,0 +1,38 @@
|
||||
package com.tencent.mobileqq.ocr.a;
|
||||
|
||||
public class a {
|
||||
public String a;
|
||||
|
||||
// 1
|
||||
public int b;
|
||||
|
||||
// file location
|
||||
public String c;
|
||||
|
||||
// null
|
||||
public String d;
|
||||
|
||||
// 0
|
||||
public long e;
|
||||
|
||||
// md5
|
||||
public String f;
|
||||
|
||||
// null
|
||||
public String g;
|
||||
|
||||
// false
|
||||
public boolean h;
|
||||
|
||||
// 0
|
||||
public int i;
|
||||
|
||||
// 0
|
||||
public int j;
|
||||
|
||||
// 0
|
||||
public long k;
|
||||
|
||||
// null
|
||||
public String l;
|
||||
}
|
@ -0,0 +1,10 @@
|
||||
package com.tencent.mobileqq.ocr.api;
|
||||
|
||||
import mqq.app.api.IRuntimeService;
|
||||
|
||||
public interface IPicOcrService extends IRuntimeService {
|
||||
void putOcrResult(String str, com.tencent.mobileqq.l0.b.c cVar);
|
||||
|
||||
void requestOcr(com.tencent.mobileqq.ocr.a.a aVar, com.tencent.mobileqq.l0.b.a callback);
|
||||
|
||||
}
|
@ -0,0 +1,4 @@
|
||||
package com.tencent.mobileqq.ocr.api.impl;
|
||||
|
||||
public class OcrServiceImpl {
|
||||
}
|
@ -0,0 +1,4 @@
|
||||
package com.tencent.mobileqq.ocr.api.impl;
|
||||
|
||||
public class PicOcrServiceImpl {
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
package com.tencent.mobileqq.qqguildsdk.api.impl;
|
||||
|
||||
import com.tencent.qqnt.kernelgpro.nativeinterface.IKernelGuildService;
|
||||
|
||||
public class GProSessionImpl {
|
||||
public IKernelGuildService getGuildService() {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
}
|
@ -1,20 +1,12 @@
|
||||
package com.tencent.mobileqq.qqguildsdk.data;
|
||||
|
||||
import android.text.TextUtils;
|
||||
|
||||
import com.tencent.mobileqq.qqguildsdk.data.genc.GGProMedalInfo;
|
||||
import com.tencent.mobileqq.qqguildsdk.data.genc.GGProNavigationInfo;
|
||||
import com.tencent.mobileqq.qqguildsdk.data.genc.IGProMedalInfo;
|
||||
import com.tencent.mobileqq.qqguildsdk.data.genc.IGProNavigationInfo;
|
||||
import com.tencent.qqnt.kernel.nativeinterface.GProGuild;
|
||||
import com.tencent.qqnt.kernel.nativeinterface.GProGuildSpeakableThreshold;
|
||||
import com.tencent.qqnt.kernel.nativeinterface.GProMedalInfo;
|
||||
import com.tencent.qqnt.kernel.nativeinterface.GProNavigationInfo;
|
||||
import com.tencent.qqnt.kernelgpro.nativeinterface.GProGuild;
|
||||
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Iterator;
|
||||
|
||||
|
||||
public class GProGuildInfo implements IGProGuildInfo {
|
||||
|
@ -2,7 +2,7 @@ package com.tencent.mobileqq.qqguildsdk.data;
|
||||
|
||||
import androidx.annotation.NonNull;
|
||||
|
||||
import com.tencent.qqnt.kernel.nativeinterface.GProGuildRole;
|
||||
import com.tencent.qqnt.kernelgpro.nativeinterface.GProGuildRole;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Iterator;
|
||||
|
@ -1,6 +1,6 @@
|
||||
package com.tencent.mobileqq.qqguildsdk.data;
|
||||
|
||||
import com.tencent.qqnt.kernel.nativeinterface.GProGuildRole;
|
||||
import com.tencent.qqnt.kernelgpro.nativeinterface.GProGuildRole;
|
||||
import com.tencent.qqnt.kernel.nativeinterface.GProUser;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
@ -1,14 +1,9 @@
|
||||
package com.tencent.mobileqq.qqguildsdk.data.genc;
|
||||
|
||||
import com.tencent.mobileqq.qqguildsdk.data.GProGuildRoleInfo;
|
||||
import com.tencent.mobileqq.qqguildsdk.data.GProUserInfo;
|
||||
import com.tencent.mobileqq.qqguildsdk.data.IGProGuildRoleInfo;
|
||||
import com.tencent.mobileqq.qqguildsdk.data.IGProUserInfo;
|
||||
import com.tencent.qqnt.kernel.nativeinterface.GProGuildRole;
|
||||
import com.tencent.qqnt.kernel.nativeinterface.GProUser;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Iterator;
|
||||
|
||||
public class GGProGuildMemberSearchResult implements IGProGuildMemberSearchResult {
|
||||
|
||||
|
@ -1,6 +1,8 @@
|
||||
package com.tencent.mobileqq.transfile;
|
||||
|
||||
public class BaseTransProcessor {
|
||||
import com.tencent.mobileqq.utils.httputils.IHttpCommunicatorListener;
|
||||
|
||||
public class BaseTransProcessor implements IHttpCommunicatorListener {
|
||||
public FileMsg file;
|
||||
|
||||
public long getFileStatus() {
|
||||
|
@ -0,0 +1,5 @@
|
||||
package com.tencent.mobileqq.transfile;
|
||||
|
||||
public class BaseUploadProcessor extends BaseTransProcessor {
|
||||
|
||||
}
|
@ -1,5 +1,9 @@
|
||||
package com.tencent.mobileqq.transfile;
|
||||
|
||||
import java.io.File;
|
||||
import java.io.InputStream;
|
||||
import java.io.OutputStream;
|
||||
|
||||
public class FileMsg {
|
||||
public static final int STATUS_FILE_EXPIRED = 5002;
|
||||
public static final int STATUS_FILE_TRANSFERING = 5000;
|
||||
@ -107,4 +111,58 @@ public class FileMsg {
|
||||
public static final int UIN_BUDDY = 0;
|
||||
public static final int UIN_DISCUSS = 2;
|
||||
public static final int UIN_TROOP = 1;
|
||||
|
||||
public String domain;
|
||||
public String downDomain;
|
||||
public long endTime;
|
||||
public int errorCode;
|
||||
public String errorMessage;
|
||||
public File file;
|
||||
public long fileID;
|
||||
public String fileKey;
|
||||
public String fileMd5;
|
||||
public String filePath;
|
||||
public long fileSize;
|
||||
public int fileType;
|
||||
public String fileUrl;
|
||||
public String forwardTaskKey;
|
||||
public String friendUin;
|
||||
public int isRead;
|
||||
public boolean isStreamMode;
|
||||
public int lastStatus;
|
||||
public byte[] localFileMd5;
|
||||
public String logTag;
|
||||
public long mSecMsgId;
|
||||
public long mSubMsgId;
|
||||
public String mUin;
|
||||
public String msgImageData;
|
||||
public String msgTime;
|
||||
public String orgiDownUrl;
|
||||
public String peerUin;
|
||||
public int picScale;
|
||||
public long picThumbSize;
|
||||
public BaseTransProcessor processor;
|
||||
public boolean processorDoReportSelf;
|
||||
public int pttSlicePos;
|
||||
public String pttSliceText;
|
||||
public OutputStream revStream;
|
||||
public String selfUin;
|
||||
public InputStream sendStream;
|
||||
public String serverPath;
|
||||
public long startTime;
|
||||
public int status;
|
||||
public long stepUrlCost;
|
||||
public String suffixType;
|
||||
public String thumbDownUrl;
|
||||
public String thumbPath;
|
||||
public String thumbUrl;
|
||||
public String tmpFilePath;
|
||||
public byte[] transferData;
|
||||
public long transferedSize;
|
||||
public String uKey;
|
||||
public int uinType;
|
||||
public long uniseq;
|
||||
public String[] urls;
|
||||
public byte[] userInfo;
|
||||
public String uuidPath;
|
||||
}
|
||||
|
@ -1,4 +1,6 @@
|
||||
package com.tencent.mobileqq.transfile;
|
||||
|
||||
public class GroupPicUploadProcessor {
|
||||
import com.tencent.mobileqq.utils.httputils.IHttpCommunicatorListener;
|
||||
|
||||
public class GroupPicUploadProcessor extends BaseUploadProcessor {
|
||||
}
|
||||
|
@ -1,7 +1,9 @@
|
||||
package com.tencent.qphone.base.util;
|
||||
|
||||
public abstract class CodecWarpper {
|
||||
public abstract void onResponse(int i2, Object obj, int i3);
|
||||
// public abstract void onResponse(int i2, Object obj, int i3);
|
||||
|
||||
public abstract void onInvalidData(int i2, int i3, String str);
|
||||
|
||||
public abstract void onResponse(int i2, Object obj, int i3, byte[] bArr);
|
||||
|
||||
|
@ -1,8 +1,8 @@
|
||||
package com.tencent.qqnt.aio.api;
|
||||
|
||||
import com.tencent.mobileqq.qroute.QRouteApi;
|
||||
import com.tencent.qqnt.kernel.nativeinterface.Contact;
|
||||
import com.tencent.qqnt.kernel.nativeinterface.IOperateCallback;
|
||||
import com.tencent.qqnt.kernelpublic.nativeinterface.Contact;
|
||||
|
||||
public interface IAIOFileTransfer extends QRouteApi {
|
||||
void sendLocalFile(Contact contact, String path, IOperateCallback cb);
|
||||
|
@ -0,0 +1,4 @@
|
||||
package com.tencent.qqnt.kernel.api.impl;
|
||||
|
||||
public class GroupService {
|
||||
}
|
@ -1,5 +1,7 @@
|
||||
package com.tencent.qqnt.kernel.nativeinterface;
|
||||
|
||||
import com.tencent.qqnt.kernelpublic.nativeinterface.Contact;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
|
||||
|
@ -1,5 +1,7 @@
|
||||
package com.tencent.qqnt.kernel.nativeinterface;
|
||||
|
||||
import com.tencent.qqnt.kernelgpro.nativeinterface.GProGuild;
|
||||
|
||||
public final class GProJoinGuildResult {
|
||||
GProGuild guildInfo;
|
||||
GProGuildInit guildInit;
|
||||
|
@ -1,5 +1,7 @@
|
||||
package com.tencent.qqnt.kernel.nativeinterface;
|
||||
|
||||
import com.tencent.qqnt.kernelgpro.nativeinterface.GProGuild;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public final class GProJoinGuildsResult implements Serializable {
|
||||
|
@ -1,5 +1,7 @@
|
||||
package com.tencent.qqnt.kernel.nativeinterface;
|
||||
|
||||
import com.tencent.qqnt.kernelgpro.nativeinterface.GProGuildRole;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
public final class GProRoleMemberList {
|
||||
|
@ -1,5 +1,7 @@
|
||||
package com.tencent.qqnt.kernel.nativeinterface;
|
||||
|
||||
import com.tencent.qqnt.kernelgpro.nativeinterface.GProGuildRole;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
public final class GProSearchMemberAndRoleResult {
|
||||
|
@ -1,5 +1,7 @@
|
||||
package com.tencent.qqnt.kernel.nativeinterface;
|
||||
|
||||
import com.tencent.qqnt.kernelpublic.nativeinterface.MemberRole;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public final class GrayTipGroupMember implements Serializable {
|
||||
|
@ -1,5 +1,7 @@
|
||||
package com.tencent.qqnt.kernel.nativeinterface;
|
||||
|
||||
import com.tencent.qqnt.kernelpublic.nativeinterface.MemberRole;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
|
||||
|
@ -1,5 +1,7 @@
|
||||
package com.tencent.qqnt.kernel.nativeinterface;
|
||||
|
||||
import com.tencent.qqnt.kernelpublic.nativeinterface.Contact;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
|
||||
|
@ -0,0 +1,36 @@
|
||||
package com.tencent.qqnt.kernel.nativeinterface;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
public class GroupMemberCommonListResult {
|
||||
public long groupCode;
|
||||
public int identifyFlag;
|
||||
public long startUin;
|
||||
public ArrayList<MemberCommonInfo> memberList = new ArrayList<>();
|
||||
public String strErrorInfo = "";
|
||||
|
||||
public long getGroupCode() {
|
||||
return this.groupCode;
|
||||
}
|
||||
|
||||
public int getIdentifyFlag() {
|
||||
return this.identifyFlag;
|
||||
}
|
||||
|
||||
public ArrayList<MemberCommonInfo> getMemberList() {
|
||||
return this.memberList;
|
||||
}
|
||||
|
||||
public long getStartUin() {
|
||||
return this.startUin;
|
||||
}
|
||||
|
||||
public String getStrErrorInfo() {
|
||||
return this.strErrorInfo;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "GroupMemberCommonListResult{groupCode=" + this.groupCode + ",startUin=" + this.startUin + ",identifyFlag=" + this.identifyFlag + ",memberList=" + this.memberList + ",strErrorInfo=" + this.strErrorInfo + ",}";
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,101 @@
|
||||
package com.tencent.qqnt.kernel.nativeinterface;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
public class GroupMemberCommonReq {
|
||||
public long groupCode;
|
||||
public int sourceType;
|
||||
public String startUin = "";
|
||||
public String identifyFlag = "";
|
||||
public ArrayList<Long> uinList = new ArrayList<>();
|
||||
public MemberCommonInfoFilter memberCommonFilter = new MemberCommonInfoFilter();
|
||||
public String memberNum = "";
|
||||
public String filterMethod = "";
|
||||
public String onlineFlag = "";
|
||||
public String realSpecialTitleFlag = "";
|
||||
|
||||
public String getFilterMethod() {
|
||||
return this.filterMethod;
|
||||
}
|
||||
|
||||
public long getGroupCode() {
|
||||
return this.groupCode;
|
||||
}
|
||||
|
||||
public String getIdentifyFlag() {
|
||||
return this.identifyFlag;
|
||||
}
|
||||
|
||||
public MemberCommonInfoFilter getMemberCommonFilter() {
|
||||
return this.memberCommonFilter;
|
||||
}
|
||||
|
||||
public String getMemberNum() {
|
||||
return this.memberNum;
|
||||
}
|
||||
|
||||
public String getOnlineFlag() {
|
||||
return this.onlineFlag;
|
||||
}
|
||||
|
||||
public String getRealSpecialTitleFlag() {
|
||||
return this.realSpecialTitleFlag;
|
||||
}
|
||||
|
||||
public int getSourceType() {
|
||||
return this.sourceType;
|
||||
}
|
||||
|
||||
public String getStartUin() {
|
||||
return this.startUin;
|
||||
}
|
||||
|
||||
public ArrayList<Long> getUinList() {
|
||||
return this.uinList;
|
||||
}
|
||||
|
||||
public void setFilterMethod(String str) {
|
||||
this.filterMethod = str;
|
||||
}
|
||||
|
||||
public void setGroupCode(long j2) {
|
||||
this.groupCode = j2;
|
||||
}
|
||||
|
||||
public void setIdentifyFlag(String str) {
|
||||
this.identifyFlag = str;
|
||||
}
|
||||
|
||||
public void setMemberCommonFilter(MemberCommonInfoFilter memberCommonInfoFilter) {
|
||||
this.memberCommonFilter = memberCommonInfoFilter;
|
||||
}
|
||||
|
||||
public void setMemberNum(String str) {
|
||||
this.memberNum = str;
|
||||
}
|
||||
|
||||
public void setOnlineFlag(String str) {
|
||||
this.onlineFlag = str;
|
||||
}
|
||||
|
||||
public void setRealSpecialTitleFlag(String str) {
|
||||
this.realSpecialTitleFlag = str;
|
||||
}
|
||||
|
||||
public void setSourceType(int i2) {
|
||||
this.sourceType = i2;
|
||||
}
|
||||
|
||||
public void setStartUin(String str) {
|
||||
this.startUin = str;
|
||||
}
|
||||
|
||||
public void setUinList(ArrayList<Long> arrayList) {
|
||||
this.uinList = arrayList;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "GroupMemberCommonReq{groupCode=" + this.groupCode + ",startUin=" + this.startUin + ",identifyFlag=" + this.identifyFlag + ",uinList=" + this.uinList + ",memberCommonFilter=" + this.memberCommonFilter + ",memberNum=" + this.memberNum + ",filterMethod=" + this.filterMethod + ",onlineFlag=" + this.onlineFlag + ",realSpecialTitleFlag=" + this.realSpecialTitleFlag + ",sourceType=" + this.sourceType + ",}";
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,81 @@
|
||||
package com.tencent.qqnt.kernel.nativeinterface;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
public class GroupMemberExtListResult {
|
||||
public long dataTime;
|
||||
public long endUin;
|
||||
public long groupCode;
|
||||
public int levelNameSeq;
|
||||
public int memberInfoSeq;
|
||||
public int sysShowFlag;
|
||||
public int timeToUpdate;
|
||||
public int userShowFlag;
|
||||
public int userShowFlagNew;
|
||||
public ArrayList<MemberExtInfo> memberLevelInfo = new ArrayList<>();
|
||||
public ArrayList<MemberLevelName> msgLevelName = new ArrayList<>();
|
||||
public String strOwnerName = "";
|
||||
public String strAdminName = "";
|
||||
public ArrayList<MemberLevelName> msgLevelNameNew = new ArrayList<>();
|
||||
|
||||
public long getDataTime() {
|
||||
return this.dataTime;
|
||||
}
|
||||
|
||||
public long getEndUin() {
|
||||
return this.endUin;
|
||||
}
|
||||
|
||||
public long getGroupCode() {
|
||||
return this.groupCode;
|
||||
}
|
||||
|
||||
public int getLevelNameSeq() {
|
||||
return this.levelNameSeq;
|
||||
}
|
||||
|
||||
public int getMemberInfoSeq() {
|
||||
return this.memberInfoSeq;
|
||||
}
|
||||
|
||||
public ArrayList<MemberExtInfo> getMemberLevelInfo() {
|
||||
return this.memberLevelInfo;
|
||||
}
|
||||
|
||||
public ArrayList<MemberLevelName> getMsgLevelName() {
|
||||
return this.msgLevelName;
|
||||
}
|
||||
|
||||
public ArrayList<MemberLevelName> getMsgLevelNameNew() {
|
||||
return this.msgLevelNameNew;
|
||||
}
|
||||
|
||||
public String getStrAdminName() {
|
||||
return this.strAdminName;
|
||||
}
|
||||
|
||||
public String getStrOwnerName() {
|
||||
return this.strOwnerName;
|
||||
}
|
||||
|
||||
public int getSysShowFlag() {
|
||||
return this.sysShowFlag;
|
||||
}
|
||||
|
||||
public int getTimeToUpdate() {
|
||||
return this.timeToUpdate;
|
||||
}
|
||||
|
||||
public int getUserShowFlag() {
|
||||
return this.userShowFlag;
|
||||
}
|
||||
|
||||
public int getUserShowFlagNew() {
|
||||
return this.userShowFlagNew;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "GroupMemberExtListResult{groupCode=" + this.groupCode + ",memberLevelInfo=" + this.memberLevelInfo + ",msgLevelName=" + this.msgLevelName + ",endUin=" + this.endUin + ",dataTime=" + this.dataTime + ",userShowFlag=" + this.userShowFlag + ",sysShowFlag=" + this.sysShowFlag + ",timeToUpdate=" + this.timeToUpdate + ",strOwnerName=" + this.strOwnerName + ",strAdminName=" + this.strAdminName + ",levelNameSeq=" + this.levelNameSeq + ",userShowFlagNew=" + this.userShowFlagNew + ",msgLevelNameNew=" + this.msgLevelNameNew + ",memberInfoSeq=" + this.memberInfoSeq + ",}";
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,101 @@
|
||||
package com.tencent.qqnt.kernel.nativeinterface;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
public class GroupMemberExtReq {
|
||||
public long groupCode;
|
||||
public int sourceType;
|
||||
public String beginUin = "";
|
||||
public String dataTime = "";
|
||||
public ArrayList<Long> uinList = new ArrayList<>();
|
||||
public MemberExtInfoFilter memberExtFilter = new MemberExtInfoFilter();
|
||||
public String seq = "";
|
||||
public String uinNum = "";
|
||||
public String groupType = "";
|
||||
public String richCardNameVer = "";
|
||||
|
||||
public String getBeginUin() {
|
||||
return this.beginUin;
|
||||
}
|
||||
|
||||
public String getDataTime() {
|
||||
return this.dataTime;
|
||||
}
|
||||
|
||||
public long getGroupCode() {
|
||||
return this.groupCode;
|
||||
}
|
||||
|
||||
public String getGroupType() {
|
||||
return this.groupType;
|
||||
}
|
||||
|
||||
public MemberExtInfoFilter getMemberExtFilter() {
|
||||
return this.memberExtFilter;
|
||||
}
|
||||
|
||||
public String getRichCardNameVer() {
|
||||
return this.richCardNameVer;
|
||||
}
|
||||
|
||||
public String getSeq() {
|
||||
return this.seq;
|
||||
}
|
||||
|
||||
public int getSourceType() {
|
||||
return this.sourceType;
|
||||
}
|
||||
|
||||
public ArrayList<Long> getUinList() {
|
||||
return this.uinList;
|
||||
}
|
||||
|
||||
public String getUinNum() {
|
||||
return this.uinNum;
|
||||
}
|
||||
|
||||
public void setBeginUin(String str) {
|
||||
this.beginUin = str;
|
||||
}
|
||||
|
||||
public void setDataTime(String str) {
|
||||
this.dataTime = str;
|
||||
}
|
||||
|
||||
public void setGroupCode(long j2) {
|
||||
this.groupCode = j2;
|
||||
}
|
||||
|
||||
public void setGroupType(String str) {
|
||||
this.groupType = str;
|
||||
}
|
||||
|
||||
public void setMemberExtFilter(MemberExtInfoFilter memberExtInfoFilter) {
|
||||
this.memberExtFilter = memberExtInfoFilter;
|
||||
}
|
||||
|
||||
public void setRichCardNameVer(String str) {
|
||||
this.richCardNameVer = str;
|
||||
}
|
||||
|
||||
public void setSeq(String str) {
|
||||
this.seq = str;
|
||||
}
|
||||
|
||||
public void setSourceType(int i2) {
|
||||
this.sourceType = i2;
|
||||
}
|
||||
|
||||
public void setUinList(ArrayList<Long> arrayList) {
|
||||
this.uinList = arrayList;
|
||||
}
|
||||
|
||||
public void setUinNum(String str) {
|
||||
this.uinNum = str;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "GroupMemberExtReq{groupCode=" + this.groupCode + ",beginUin=" + this.beginUin + ",dataTime=" + this.dataTime + ",uinList=" + this.uinList + ",memberExtFilter=" + this.memberExtFilter + ",seq=" + this.seq + ",uinNum=" + this.uinNum + ",groupType=" + this.groupType + ",richCardNameVer=" + this.richCardNameVer + ",sourceType=" + this.sourceType + ",}";
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,32 @@
|
||||
package com.tencent.qqnt.kernel.nativeinterface;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
|
||||
public class GroupMemberListResult {
|
||||
public boolean finish;
|
||||
public boolean hasRobot;
|
||||
public ArrayList<GroupMemberInfoListId> ids = new ArrayList<>();
|
||||
public HashMap<String, MemberInfo> infos = new HashMap<>();
|
||||
|
||||
public boolean getFinish() {
|
||||
return this.finish;
|
||||
}
|
||||
|
||||
public boolean getHasRobot() {
|
||||
return this.hasRobot;
|
||||
}
|
||||
|
||||
public ArrayList<GroupMemberInfoListId> getIds() {
|
||||
return this.ids;
|
||||
}
|
||||
|
||||
public HashMap<String, MemberInfo> getInfos() {
|
||||
return this.infos;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "GroupMemberListResult{ids=" + this.ids + ",infos=" + this.infos + ",finish=" + this.finish + ",hasRobot=" + this.hasRobot + ",}";
|
||||
}
|
||||
|
||||
}
|
@ -1,5 +1,7 @@
|
||||
package com.tencent.qqnt.kernel.nativeinterface;
|
||||
|
||||
import com.tencent.qqnt.kernelpublic.nativeinterface.MemberRole;
|
||||
|
||||
public final class GroupSimpleInfo implements IKernelModel {
|
||||
String avatarUrl;
|
||||
int discussToGroupMaxMsgSeq;
|
||||
|
@ -1,5 +1,7 @@
|
||||
package com.tencent.qqnt.kernel.nativeinterface;
|
||||
|
||||
import com.tencent.qqnt.kernelgpro.nativeinterface.GProGuildRole;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
public interface IGProFetchChannelInvisibleRoleListCallback {
|
||||
|
@ -1,5 +1,7 @@
|
||||
package com.tencent.qqnt.kernel.nativeinterface;
|
||||
|
||||
import com.tencent.qqnt.kernelgpro.nativeinterface.GProGuildRole;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
public interface IGProFetchChannelLiveableRoleListCallback {
|
||||
|
@ -1,5 +1,7 @@
|
||||
package com.tencent.qqnt.kernel.nativeinterface;
|
||||
|
||||
import com.tencent.qqnt.kernelgpro.nativeinterface.GProGuild;
|
||||
|
||||
public interface IGProFetchGuildInfoCallback {
|
||||
void onFetchGuildInfo(int code, String reason, GProGuild gProGuild);
|
||||
}
|
||||
|
@ -1,5 +1,7 @@
|
||||
package com.tencent.qqnt.kernel.nativeinterface;
|
||||
|
||||
import com.tencent.qqnt.kernelgpro.nativeinterface.GProGuild;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
public interface IGProFetchGuildListCallback {
|
||||
|
@ -1,5 +0,0 @@
|
||||
package com.tencent.qqnt.kernel.nativeinterface;
|
||||
|
||||
public interface IGProResultCallback {
|
||||
void onResult(int code, String msg, GProSecurityResult result);
|
||||
}
|
@ -0,0 +1,6 @@
|
||||
package com.tencent.qqnt.kernel.nativeinterface;
|
||||
|
||||
public interface IGroupMemberCommonCallback {
|
||||
void onResult(int i2, String str, GroupMemberCommonListResult groupMemberCommonListResult);
|
||||
|
||||
}
|
@ -0,0 +1,5 @@
|
||||
package com.tencent.qqnt.kernel.nativeinterface;
|
||||
|
||||
public interface IGroupMemberExtCallback {
|
||||
void onResult(int i2, String str, GroupMemberExtListResult groupMemberExtListResult);
|
||||
}
|
@ -0,0 +1,6 @@
|
||||
package com.tencent.qqnt.kernel.nativeinterface;
|
||||
|
||||
public interface IGroupMemberListCallback {
|
||||
void onResult(int result, String str, GroupMemberListResult groupMemberListResult);
|
||||
|
||||
}
|
@ -1,7 +1,25 @@
|
||||
package com.tencent.qqnt.kernel.nativeinterface;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
public interface IKernelGroupService {
|
||||
void getTransferableMemberInfo(long uin, IGetTransferableMemberCallback cb);
|
||||
|
||||
long addKernelGroupListener(IKernelGroupListener ln);
|
||||
|
||||
void getAllMemberList(long groupCode, boolean refresh, IGroupMemberListCallback iGroupMemberListCallback);
|
||||
|
||||
void getMemberCommonInfo(GroupMemberCommonReq groupMemberCommonReq, IGroupMemberCommonCallback iGroupMemberCommonCallback);
|
||||
|
||||
void getMemberExtInfo(GroupMemberExtReq groupMemberExtReq, IGroupMemberExtCallback iGroupMemberExtCallback);
|
||||
|
||||
void getMemberInfo(long j2, ArrayList<String> arrayList, boolean z, IOperateCallback iOperateCallback);
|
||||
|
||||
void getMemberInfoForMqq(long groupCode, ArrayList<String> uids, boolean z, IGroupMemberListCallback iGroupMemberListCallback);
|
||||
|
||||
void getNextMemberList(String sceneId, GroupMemberInfoListId groupMemberInfoListId, int i2, IGroupMemberListCallback iGroupMemberListCallback);
|
||||
|
||||
void getPrevMemberList(String sceneId, GroupMemberInfoListId groupMemberInfoListId, int i2, IGroupMemberListCallback iGroupMemberListCallback);
|
||||
|
||||
|
||||
}
|
||||
|
@ -1,5 +1,8 @@
|
||||
package com.tencent.qqnt.kernel.nativeinterface;
|
||||
|
||||
import com.tencent.qqnt.kernelgpro.nativeinterface.GProGuild;
|
||||
import com.tencent.qqnt.kernelgpro.nativeinterface.GProGuildRole;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
|
||||
|
@ -1,5 +1,14 @@
|
||||
package com.tencent.qqnt.kernel.nativeinterface;
|
||||
|
||||
import com.tencent.qqnt.kernelgpro.nativeinterface.GProGuild;
|
||||
import com.tencent.qqnt.kernelgpro.nativeinterface.GProRoleCreateInfo;
|
||||
import com.tencent.qqnt.kernelgpro.nativeinterface.IGProCreateRoleCallback;
|
||||
import com.tencent.qqnt.kernelgpro.nativeinterface.IGProFetchMemberListWithRoleCallback;
|
||||
import com.tencent.qqnt.kernelgpro.nativeinterface.IGProFetchMemberRolesCallback;
|
||||
import com.tencent.qqnt.kernelgpro.nativeinterface.IGProFetchRoleListPermissionCallback;
|
||||
import com.tencent.qqnt.kernelgpro.nativeinterface.IGProFetchRolePermissionCallback;
|
||||
import com.tencent.qqnt.kernelgpro.nativeinterface.IGProResultCallback;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
public interface IKernelGuildService {
|
||||
|
@ -2,6 +2,7 @@ package com.tencent.qqnt.kernel.nativeinterface;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
import com.tencent.qqnt.kernelpublic.nativeinterface.Contact;
|
||||
|
||||
public interface IKernelMsgListener {
|
||||
void onAddSendMsg(MsgRecord msgRecord);
|
||||
@ -116,7 +117,7 @@ public interface IKernelMsgListener {
|
||||
|
||||
void onSendMsgError(long j2, Contact contact, int i2, String str);
|
||||
|
||||
void onSysMsgNotification(int i2, long j2, long j3, ArrayList<Byte> arrayList);
|
||||
void onSysMsgNotification(int i2, long j2, long j3, boolean z, ArrayList<Byte> arrayList);
|
||||
|
||||
void onTempChatInfoUpdate(TempChatInfo tempChatInfo);
|
||||
|
||||
|
@ -1,12 +1,14 @@
|
||||
package com.tencent.qqnt.kernel.nativeinterface;
|
||||
|
||||
import com.tencent.qqnt.kernelpublic.nativeinterface.Contact;
|
||||
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
|
||||
public interface IKernelMsgService {
|
||||
void deleteMsg(Contact contact, ArrayList<Long> msgIdList, IOperateCallback callback);
|
||||
void deleteMsg(Contact contact, ArrayList<Long> msgIdList, IOperateCallback cb);
|
||||
|
||||
void fetchLongMsg(Contact contact, long msgId);
|
||||
|
||||
|
@ -1,5 +1,7 @@
|
||||
package com.tencent.qqnt.kernel.nativeinterface;
|
||||
|
||||
import com.tencent.qqnt.kernelpublic.nativeinterface.Contact;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
public interface IKernelRichMediaService {
|
||||
|
@ -19,11 +19,6 @@ public interface IQQNTWrapperSession {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public IKernelGuildService getGuildService() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public IKernelMsgService getMsgService() {
|
||||
return null;
|
||||
@ -93,7 +88,7 @@ public interface IQQNTWrapperSession {
|
||||
|
||||
//IKernelGroupService getGroupService();
|
||||
|
||||
IKernelGuildService getGuildService();
|
||||
//IKernelGuildService getGuildService();
|
||||
|
||||
IKernelMsgService getMsgService();
|
||||
|
||||
|
@ -2,17 +2,20 @@ package com.tencent.qqnt.kernel.nativeinterface;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
|
||||
public final class InlineKeyboardButton {
|
||||
public final class InlineKeyboardButton {
|
||||
int anchor;
|
||||
boolean atBotShowChannelList;
|
||||
int clickLimit;
|
||||
String data;
|
||||
boolean enter;
|
||||
String id;
|
||||
boolean isReply;
|
||||
String label;
|
||||
int permissionType;
|
||||
ArrayList<String> specifyRoleIds;
|
||||
ArrayList<String> specifyTinyids;
|
||||
int style;
|
||||
ArrayList<SubscribeMsgTemplateID> subscribeDataTemplateIds;
|
||||
int type;
|
||||
String unsupportTips;
|
||||
String visitedLabel;
|
||||
@ -25,6 +28,11 @@ public final class InlineKeyboardButton {
|
||||
this.data = "";
|
||||
this.specifyRoleIds = new ArrayList<>();
|
||||
this.specifyTinyids = new ArrayList<>();
|
||||
this.subscribeDataTemplateIds = new ArrayList<>();
|
||||
}
|
||||
|
||||
public int getAnchor() {
|
||||
return this.anchor;
|
||||
}
|
||||
|
||||
public boolean getAtBotShowChannelList() {
|
||||
@ -39,10 +47,18 @@ public final class InlineKeyboardButton {
|
||||
return this.data;
|
||||
}
|
||||
|
||||
public boolean getEnter() {
|
||||
return this.enter;
|
||||
}
|
||||
|
||||
public String getId() {
|
||||
return this.id;
|
||||
}
|
||||
|
||||
public boolean getIsReply() {
|
||||
return this.isReply;
|
||||
}
|
||||
|
||||
public String getLabel() {
|
||||
return this.label;
|
||||
}
|
||||
@ -63,6 +79,10 @@ public final class InlineKeyboardButton {
|
||||
return this.style;
|
||||
}
|
||||
|
||||
public ArrayList<SubscribeMsgTemplateID> getSubscribeDataTemplateIds() {
|
||||
return this.subscribeDataTemplateIds;
|
||||
}
|
||||
|
||||
public int getType() {
|
||||
return this.type;
|
||||
}
|
||||
@ -76,14 +96,14 @@ public final class InlineKeyboardButton {
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "InlineKeyboardButton{id=" + this.id + ",label=" + this.label + ",visitedLabel=" + this.visitedLabel + ",style=" + this.style + ",type=" + this.type + ",clickLimit=" + this.clickLimit + ",unsupportTips=" + this.unsupportTips + ",data=" + this.data + ",atBotShowChannelList=" + this.atBotShowChannelList + ",permissionType=" + this.permissionType + ",specifyRoleIds=" + this.specifyRoleIds + ",specifyTinyids=" + this.specifyTinyids + ",}";
|
||||
return "InlineKeyboardButton{id=" + this.id + ",label=" + this.label + ",visitedLabel=" + this.visitedLabel + ",style=" + this.style + ",type=" + this.type + ",clickLimit=" + this.clickLimit + ",unsupportTips=" + this.unsupportTips + ",data=" + this.data + ",atBotShowChannelList=" + this.atBotShowChannelList + ",permissionType=" + this.permissionType + ",specifyRoleIds=" + this.specifyRoleIds + ",specifyTinyids=" + this.specifyTinyids + ",isReply=" + this.isReply + ",anchor=" + this.anchor + ",enter=" + this.enter + ",subscribeDataTemplateIds=" + this.subscribeDataTemplateIds + ",}";
|
||||
}
|
||||
|
||||
public InlineKeyboardButton(String str, String str2, String str3, int i, int i2, int i3, String str4, String str5, boolean z, int i4, ArrayList<String> arrayList, ArrayList<String> arrayList2, boolean z2, int i5, boolean z3, ArrayList<SubscribeMsgTemplateID> arrayList3) {
|
||||
public InlineKeyboardButton(String str, String str2, String str3, int i, int i2, int i3, String str4, String str5, boolean z, int i4, ArrayList<String> arrayList, ArrayList<String> arrayList2) {
|
||||
|
||||
}
|
||||
|
||||
public InlineKeyboardButton(String str, String str2, String str3, int i2, int i3, int i4, String str4, String str5, boolean z, int i5, ArrayList<String> arrayList, ArrayList<String> arrayList2) {
|
||||
public InlineKeyboardButton(String str, String str2, String str3, int i2, int i3, int i4, String str4, String str5, boolean z, int i5, ArrayList<String> arrayList, ArrayList<String> arrayList2, boolean z2, int i6, boolean z3, ArrayList<SubscribeMsgTemplateID> arrayList3) {
|
||||
this.id = "";
|
||||
this.label = "";
|
||||
this.visitedLabel = "";
|
||||
@ -91,6 +111,7 @@ public final class InlineKeyboardButton {
|
||||
this.data = "";
|
||||
this.specifyRoleIds = new ArrayList<>();
|
||||
this.specifyTinyids = new ArrayList<>();
|
||||
this.subscribeDataTemplateIds = new ArrayList<>();
|
||||
this.id = str;
|
||||
this.label = str2;
|
||||
this.visitedLabel = str3;
|
||||
@ -103,5 +124,9 @@ public final class InlineKeyboardButton {
|
||||
this.permissionType = i5;
|
||||
this.specifyRoleIds = arrayList;
|
||||
this.specifyTinyids = arrayList2;
|
||||
this.isReply = z2;
|
||||
this.anchor = i6;
|
||||
this.enter = z3;
|
||||
this.subscribeDataTemplateIds = arrayList3;
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,63 @@
|
||||
package com.tencent.qqnt.kernel.nativeinterface;
|
||||
|
||||
public class MemberCommonInfo {
|
||||
public long memberUin;
|
||||
public int privilege;
|
||||
public int shutUpTime;
|
||||
public int uinFlag;
|
||||
public int uinFlagExt;
|
||||
public int uinMobileFlag;
|
||||
|
||||
public long getMemberUin() {
|
||||
return this.memberUin;
|
||||
}
|
||||
|
||||
public int getPrivilege() {
|
||||
return this.privilege;
|
||||
}
|
||||
|
||||
public int getShutUpTime() {
|
||||
return this.shutUpTime;
|
||||
}
|
||||
|
||||
public int getUinFlag() {
|
||||
return this.uinFlag;
|
||||
}
|
||||
|
||||
public int getUinFlagExt() {
|
||||
return this.uinFlagExt;
|
||||
}
|
||||
|
||||
public int getUinMobileFlag() {
|
||||
return this.uinMobileFlag;
|
||||
}
|
||||
|
||||
public void setMemberUin(long j2) {
|
||||
this.memberUin = j2;
|
||||
}
|
||||
|
||||
public void setPrivilege(int i2) {
|
||||
this.privilege = i2;
|
||||
}
|
||||
|
||||
public void setShutUpTime(int i2) {
|
||||
this.shutUpTime = i2;
|
||||
}
|
||||
|
||||
public void setUinFlag(int i2) {
|
||||
this.uinFlag = i2;
|
||||
}
|
||||
|
||||
public void setUinFlagExt(int i2) {
|
||||
this.uinFlagExt = i2;
|
||||
}
|
||||
|
||||
public void setUinMobileFlag(int i2) {
|
||||
this.uinMobileFlag = i2;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "MemberCommonInfo{memberUin=" + this.memberUin + ",uinFlag=" + this.uinFlag + ",uinFlagExt=" + this.uinFlagExt + ",uinMobileFlag=" + this.uinMobileFlag + ",shutUpTime=" + this.shutUpTime + ",privilege=" + this.privilege + ",}";
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,63 @@
|
||||
package com.tencent.qqnt.kernel.nativeinterface;
|
||||
|
||||
public class MemberCommonInfoFilter {
|
||||
public int memberUin;
|
||||
public int privilege;
|
||||
public int shutUpTime;
|
||||
public int uinFlag;
|
||||
public int uinFlagExt;
|
||||
public int uinMobileFlag;
|
||||
|
||||
public int getMemberUin() {
|
||||
return this.memberUin;
|
||||
}
|
||||
|
||||
public int getPrivilege() {
|
||||
return this.privilege;
|
||||
}
|
||||
|
||||
public int getShutUpTime() {
|
||||
return this.shutUpTime;
|
||||
}
|
||||
|
||||
public int getUinFlag() {
|
||||
return this.uinFlag;
|
||||
}
|
||||
|
||||
public int getUinFlagExt() {
|
||||
return this.uinFlagExt;
|
||||
}
|
||||
|
||||
public int getUinMobileFlag() {
|
||||
return this.uinMobileFlag;
|
||||
}
|
||||
|
||||
public void setMemberUin(int i2) {
|
||||
this.memberUin = i2;
|
||||
}
|
||||
|
||||
public void setPrivilege(int i2) {
|
||||
this.privilege = i2;
|
||||
}
|
||||
|
||||
public void setShutUpTime(int i2) {
|
||||
this.shutUpTime = i2;
|
||||
}
|
||||
|
||||
public void setUinFlag(int i2) {
|
||||
this.uinFlag = i2;
|
||||
}
|
||||
|
||||
public void setUinFlagExt(int i2) {
|
||||
this.uinFlagExt = i2;
|
||||
}
|
||||
|
||||
public void setUinMobileFlag(int i2) {
|
||||
this.uinMobileFlag = i2;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "MemberCommonInfoFilter{memberUin=" + this.memberUin + ",uinFlag=" + this.uinFlag + ",uinFlagExt=" + this.uinFlagExt + ",uinMobileFlag=" + this.uinMobileFlag + ",shutUpTime=" + this.shutUpTime + ",privilege=" + this.privilege + ",}";
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,110 @@
|
||||
package com.tencent.qqnt.kernel.nativeinterface;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
public class MemberExtInfo {
|
||||
public int activeDay;
|
||||
public int cmdUinFlagExt3Grocery;
|
||||
public int level;
|
||||
public int point;
|
||||
public long specialTitleExpireTime;
|
||||
public long uin;
|
||||
public String strName = "";
|
||||
public String nickName = "";
|
||||
public String specialTitle = "";
|
||||
public byte[] msgNeedField = new byte[0];
|
||||
public ArrayList<MemberIcon> memberIconList = new ArrayList<>();
|
||||
|
||||
public int getActiveDay() {
|
||||
return this.activeDay;
|
||||
}
|
||||
|
||||
public int getCmdUinFlagExt3Grocery() {
|
||||
return this.cmdUinFlagExt3Grocery;
|
||||
}
|
||||
|
||||
public int getLevel() {
|
||||
return this.level;
|
||||
}
|
||||
|
||||
public ArrayList<MemberIcon> getMemberIconList() {
|
||||
return this.memberIconList;
|
||||
}
|
||||
|
||||
public byte[] getMsgNeedField() {
|
||||
return this.msgNeedField;
|
||||
}
|
||||
|
||||
public String getNickName() {
|
||||
return this.nickName;
|
||||
}
|
||||
|
||||
public int getPoint() {
|
||||
return this.point;
|
||||
}
|
||||
|
||||
public String getSpecialTitle() {
|
||||
return this.specialTitle;
|
||||
}
|
||||
|
||||
public long getSpecialTitleExpireTime() {
|
||||
return this.specialTitleExpireTime;
|
||||
}
|
||||
|
||||
public String getStrName() {
|
||||
return this.strName;
|
||||
}
|
||||
|
||||
public long getUin() {
|
||||
return this.uin;
|
||||
}
|
||||
|
||||
public void setActiveDay(int i2) {
|
||||
this.activeDay = i2;
|
||||
}
|
||||
|
||||
public void setCmdUinFlagExt3Grocery(int i2) {
|
||||
this.cmdUinFlagExt3Grocery = i2;
|
||||
}
|
||||
|
||||
public void setLevel(int i2) {
|
||||
this.level = i2;
|
||||
}
|
||||
|
||||
public void setMemberIconList(ArrayList<MemberIcon> arrayList) {
|
||||
this.memberIconList = arrayList;
|
||||
}
|
||||
|
||||
public void setMsgNeedField(byte[] bArr) {
|
||||
this.msgNeedField = bArr;
|
||||
}
|
||||
|
||||
public void setNickName(String str) {
|
||||
this.nickName = str;
|
||||
}
|
||||
|
||||
public void setPoint(int i2) {
|
||||
this.point = i2;
|
||||
}
|
||||
|
||||
public void setSpecialTitle(String str) {
|
||||
this.specialTitle = str;
|
||||
}
|
||||
|
||||
public void setSpecialTitleExpireTime(long j2) {
|
||||
this.specialTitleExpireTime = j2;
|
||||
}
|
||||
|
||||
public void setStrName(String str) {
|
||||
this.strName = str;
|
||||
}
|
||||
|
||||
public void setUin(long j2) {
|
||||
this.uin = j2;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "MemberExtInfo{uin=" + this.uin + ",point=" + this.point + ",activeDay=" + this.activeDay + ",level=" + this.level + ",strName=" + this.strName + ",nickName=" + this.nickName + ",specialTitle=" + this.specialTitle + ",specialTitleExpireTime=" + this.specialTitleExpireTime + ",msgNeedField=" + this.msgNeedField + ",cmdUinFlagExt3Grocery=" + this.cmdUinFlagExt3Grocery + ",memberIconList=" + this.memberIconList + ",}";
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,171 @@
|
||||
package com.tencent.qqnt.kernel.nativeinterface;
|
||||
|
||||
public class MemberExtInfoFilter {
|
||||
public int cmdUinFlagExt3Grocery;
|
||||
public int dataTime;
|
||||
public int levelName;
|
||||
public int levelNameNew;
|
||||
public int memberIcon;
|
||||
public int memberInfoSeq;
|
||||
public int memberLevelInfoActiveDay;
|
||||
public int memberLevelInfoLevel;
|
||||
public int memberLevelInfoName;
|
||||
public int memberLevelInfoPoint;
|
||||
public int memberLevelInfoUin;
|
||||
public int msgNeedField;
|
||||
public int nickName;
|
||||
public int specialTitle;
|
||||
public int sysShowFlag;
|
||||
public int timeToUpdate;
|
||||
public int userShowFlag;
|
||||
public int userShowFlagNew;
|
||||
|
||||
public int getCmdUinFlagExt3Grocery() {
|
||||
return this.cmdUinFlagExt3Grocery;
|
||||
}
|
||||
|
||||
public int getDataTime() {
|
||||
return this.dataTime;
|
||||
}
|
||||
|
||||
public int getLevelName() {
|
||||
return this.levelName;
|
||||
}
|
||||
|
||||
public int getLevelNameNew() {
|
||||
return this.levelNameNew;
|
||||
}
|
||||
|
||||
public int getMemberIcon() {
|
||||
return this.memberIcon;
|
||||
}
|
||||
|
||||
public int getMemberInfoSeq() {
|
||||
return this.memberInfoSeq;
|
||||
}
|
||||
|
||||
public int getMemberLevelInfoActiveDay() {
|
||||
return this.memberLevelInfoActiveDay;
|
||||
}
|
||||
|
||||
public int getMemberLevelInfoLevel() {
|
||||
return this.memberLevelInfoLevel;
|
||||
}
|
||||
|
||||
public int getMemberLevelInfoName() {
|
||||
return this.memberLevelInfoName;
|
||||
}
|
||||
|
||||
public int getMemberLevelInfoPoint() {
|
||||
return this.memberLevelInfoPoint;
|
||||
}
|
||||
|
||||
public int getMemberLevelInfoUin() {
|
||||
return this.memberLevelInfoUin;
|
||||
}
|
||||
|
||||
public int getMsgNeedField() {
|
||||
return this.msgNeedField;
|
||||
}
|
||||
|
||||
public int getNickName() {
|
||||
return this.nickName;
|
||||
}
|
||||
|
||||
public int getSpecialTitle() {
|
||||
return this.specialTitle;
|
||||
}
|
||||
|
||||
public int getSysShowFlag() {
|
||||
return this.sysShowFlag;
|
||||
}
|
||||
|
||||
public int getTimeToUpdate() {
|
||||
return this.timeToUpdate;
|
||||
}
|
||||
|
||||
public int getUserShowFlag() {
|
||||
return this.userShowFlag;
|
||||
}
|
||||
|
||||
public int getUserShowFlagNew() {
|
||||
return this.userShowFlagNew;
|
||||
}
|
||||
|
||||
public void setCmdUinFlagExt3Grocery(int i2) {
|
||||
this.cmdUinFlagExt3Grocery = i2;
|
||||
}
|
||||
|
||||
public void setDataTime(int i2) {
|
||||
this.dataTime = i2;
|
||||
}
|
||||
|
||||
public void setLevelName(int i2) {
|
||||
this.levelName = i2;
|
||||
}
|
||||
|
||||
public void setLevelNameNew(int i2) {
|
||||
this.levelNameNew = i2;
|
||||
}
|
||||
|
||||
public void setMemberIcon(int i2) {
|
||||
this.memberIcon = i2;
|
||||
}
|
||||
|
||||
public void setMemberInfoSeq(int i2) {
|
||||
this.memberInfoSeq = i2;
|
||||
}
|
||||
|
||||
public void setMemberLevelInfoActiveDay(int i2) {
|
||||
this.memberLevelInfoActiveDay = i2;
|
||||
}
|
||||
|
||||
public void setMemberLevelInfoLevel(int i2) {
|
||||
this.memberLevelInfoLevel = i2;
|
||||
}
|
||||
|
||||
public void setMemberLevelInfoName(int i2) {
|
||||
this.memberLevelInfoName = i2;
|
||||
}
|
||||
|
||||
public void setMemberLevelInfoPoint(int i2) {
|
||||
this.memberLevelInfoPoint = i2;
|
||||
}
|
||||
|
||||
public void setMemberLevelInfoUin(int i2) {
|
||||
this.memberLevelInfoUin = i2;
|
||||
}
|
||||
|
||||
public void setMsgNeedField(int i2) {
|
||||
this.msgNeedField = i2;
|
||||
}
|
||||
|
||||
public void setNickName(int i2) {
|
||||
this.nickName = i2;
|
||||
}
|
||||
|
||||
public void setSpecialTitle(int i2) {
|
||||
this.specialTitle = i2;
|
||||
}
|
||||
|
||||
public void setSysShowFlag(int i2) {
|
||||
this.sysShowFlag = i2;
|
||||
}
|
||||
|
||||
public void setTimeToUpdate(int i2) {
|
||||
this.timeToUpdate = i2;
|
||||
}
|
||||
|
||||
public void setUserShowFlag(int i2) {
|
||||
this.userShowFlag = i2;
|
||||
}
|
||||
|
||||
public void setUserShowFlagNew(int i2) {
|
||||
this.userShowFlagNew = i2;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "MemberExtInfoFilter{memberLevelInfoUin=" + this.memberLevelInfoUin + ",memberLevelInfoPoint=" + this.memberLevelInfoPoint + ",memberLevelInfoActiveDay=" + this.memberLevelInfoActiveDay + ",memberLevelInfoLevel=" + this.memberLevelInfoLevel + ",memberLevelInfoName=" + this.memberLevelInfoName + ",levelName=" + this.levelName + ",dataTime=" + this.dataTime + ",userShowFlag=" + this.userShowFlag + ",sysShowFlag=" + this.sysShowFlag + ",timeToUpdate=" + this.timeToUpdate + ",nickName=" + this.nickName + ",specialTitle=" + this.specialTitle + ",levelNameNew=" + this.levelNameNew + ",userShowFlagNew=" + this.userShowFlagNew + ",msgNeedField=" + this.msgNeedField + ",cmdUinFlagExt3Grocery=" + this.cmdUinFlagExt3Grocery + ",memberIcon=" + this.memberIcon + ",memberInfoSeq=" + this.memberInfoSeq + ",}";
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,29 @@
|
||||
package com.tencent.qqnt.kernel.nativeinterface;
|
||||
|
||||
public class MemberIcon {
|
||||
public int bizId;
|
||||
public byte[] exInfo = new byte[0];
|
||||
public long expireTime;
|
||||
public int resId;
|
||||
|
||||
public int getBizId() {
|
||||
return this.bizId;
|
||||
}
|
||||
|
||||
public byte[] getExInfo() {
|
||||
return this.exInfo;
|
||||
}
|
||||
|
||||
public long getExpireTime() {
|
||||
return this.expireTime;
|
||||
}
|
||||
|
||||
public int getResId() {
|
||||
return this.resId;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "MemberIcon{resId=" + this.resId + ",expireTime=" + this.expireTime + ",bizId=" + this.bizId + ",exInfo=" + this.exInfo + ",}";
|
||||
}
|
||||
|
||||
}
|
@ -1,51 +1,146 @@
|
||||
package com.tencent.qqnt.kernel.nativeinterface;
|
||||
|
||||
public final class MemberInfo implements IKernelModel {
|
||||
String avatarPath;
|
||||
String cardName;
|
||||
int cardType;
|
||||
boolean isDelete;
|
||||
boolean isSpecialConcerned;
|
||||
String nick;
|
||||
String qid;
|
||||
String remark;
|
||||
MemberRole role;
|
||||
long serialVersionUID;
|
||||
int shutUpTime;
|
||||
String uid;
|
||||
long uin;
|
||||
import com.tencent.qqnt.kernelpublic.nativeinterface.MemberRole;
|
||||
|
||||
public MemberInfo() {
|
||||
this.serialVersionUID = 1L;
|
||||
this.uid = "";
|
||||
this.qid = "";
|
||||
this.nick = "";
|
||||
this.remark = "";
|
||||
this.cardName = "";
|
||||
this.role = MemberRole.values()[0];
|
||||
this.avatarPath = "";
|
||||
public final class MemberInfo implements IKernelModel {
|
||||
public int bigClubFlag;
|
||||
public int bigClubLevel;
|
||||
public int cardNameId;
|
||||
public int cardType;
|
||||
public int creditLevel;
|
||||
public int globalGroupLevel;
|
||||
public int globalGroupPoint;
|
||||
public boolean isDelete;
|
||||
public boolean isRobot;
|
||||
public boolean isSpecialConcerned;
|
||||
public boolean isSpecialShielded;
|
||||
public int joinTime;
|
||||
public int lastSpeakTime;
|
||||
public int memberFlag;
|
||||
public int memberFlagExt;
|
||||
public int memberFlagExt2;
|
||||
public int memberLevel;
|
||||
public int memberMobileFlag;
|
||||
public int memberTitleId;
|
||||
public int mssVipType;
|
||||
public int richFlag;
|
||||
public int shutUpTime;
|
||||
public long specialTitleExpireTime;
|
||||
public long uin;
|
||||
public int userShowFlag;
|
||||
public int userShowFlagNew;
|
||||
long serialVersionUID = 1;
|
||||
public String uid = "";
|
||||
public String qid = "";
|
||||
public String nick = "";
|
||||
public String remark = "";
|
||||
public String cardName = "";
|
||||
public MemberRole role = MemberRole.values()[0];
|
||||
public String avatarPath = "";
|
||||
public byte[] groupHonor = new byte[0];
|
||||
public String memberSpecialTitle = "";
|
||||
public String autoRemark = "";
|
||||
|
||||
public String getAutoRemark() {
|
||||
return this.autoRemark;
|
||||
}
|
||||
|
||||
public String getAvatarPath() {
|
||||
return this.avatarPath;
|
||||
}
|
||||
|
||||
public int getBigClubFlag() {
|
||||
return this.bigClubFlag;
|
||||
}
|
||||
|
||||
public int getBigClubLevel() {
|
||||
return this.bigClubLevel;
|
||||
}
|
||||
|
||||
public String getCardName() {
|
||||
return this.cardName;
|
||||
}
|
||||
|
||||
public int getCardNameId() {
|
||||
return this.cardNameId;
|
||||
}
|
||||
|
||||
public int getCardType() {
|
||||
return this.cardType;
|
||||
}
|
||||
|
||||
public int getCreditLevel() {
|
||||
return this.creditLevel;
|
||||
}
|
||||
|
||||
public int getGlobalGroupLevel() {
|
||||
return this.globalGroupLevel;
|
||||
}
|
||||
|
||||
public int getGlobalGroupPoint() {
|
||||
return this.globalGroupPoint;
|
||||
}
|
||||
|
||||
public byte[] getGroupHonor() {
|
||||
return this.groupHonor;
|
||||
}
|
||||
|
||||
public boolean getIsDelete() {
|
||||
return this.isDelete;
|
||||
}
|
||||
|
||||
public boolean getIsRobot() {
|
||||
return this.isRobot;
|
||||
}
|
||||
|
||||
public boolean getIsSpecialConcerned() {
|
||||
return this.isSpecialConcerned;
|
||||
}
|
||||
|
||||
public boolean getIsSpecialShielded() {
|
||||
return this.isSpecialShielded;
|
||||
}
|
||||
|
||||
public int getJoinTime() {
|
||||
return this.joinTime;
|
||||
}
|
||||
|
||||
public int getLastSpeakTime() {
|
||||
return this.lastSpeakTime;
|
||||
}
|
||||
|
||||
public int getMemberFlag() {
|
||||
return this.memberFlag;
|
||||
}
|
||||
|
||||
public int getMemberFlagExt() {
|
||||
return this.memberFlagExt;
|
||||
}
|
||||
|
||||
public int getMemberFlagExt2() {
|
||||
return this.memberFlagExt2;
|
||||
}
|
||||
|
||||
public int getMemberLevel() {
|
||||
return this.memberLevel;
|
||||
}
|
||||
|
||||
public int getMemberMobileFlag() {
|
||||
return this.memberMobileFlag;
|
||||
}
|
||||
|
||||
public String getMemberSpecialTitle() {
|
||||
return this.memberSpecialTitle;
|
||||
}
|
||||
|
||||
public int getMemberTitleId() {
|
||||
return this.memberTitleId;
|
||||
}
|
||||
|
||||
public int getMssVipType() {
|
||||
return this.mssVipType;
|
||||
}
|
||||
|
||||
public String getNick() {
|
||||
return this.nick;
|
||||
}
|
||||
@ -58,6 +153,10 @@ public final class MemberInfo implements IKernelModel {
|
||||
return this.remark;
|
||||
}
|
||||
|
||||
public int getRichFlag() {
|
||||
return this.richFlag;
|
||||
}
|
||||
|
||||
public MemberRole getRole() {
|
||||
return this.role;
|
||||
}
|
||||
@ -66,6 +165,10 @@ public final class MemberInfo implements IKernelModel {
|
||||
return this.shutUpTime;
|
||||
}
|
||||
|
||||
public long getSpecialTitleExpireTime() {
|
||||
return this.specialTitleExpireTime;
|
||||
}
|
||||
|
||||
public String getUid() {
|
||||
return this.uid;
|
||||
}
|
||||
@ -74,26 +177,114 @@ public final class MemberInfo implements IKernelModel {
|
||||
return this.uin;
|
||||
}
|
||||
|
||||
public int getUserShowFlag() {
|
||||
return this.userShowFlag;
|
||||
}
|
||||
|
||||
public int getUserShowFlagNew() {
|
||||
return this.userShowFlagNew;
|
||||
}
|
||||
|
||||
public void setAutoRemark(String str) {
|
||||
this.autoRemark = str;
|
||||
}
|
||||
|
||||
public void setAvatarPath(String str) {
|
||||
this.avatarPath = str;
|
||||
}
|
||||
|
||||
public void setBigClubFlag(int i2) {
|
||||
this.bigClubFlag = i2;
|
||||
}
|
||||
|
||||
public void setBigClubLevel(int i2) {
|
||||
this.bigClubLevel = i2;
|
||||
}
|
||||
|
||||
public void setCardName(String str) {
|
||||
this.cardName = str;
|
||||
}
|
||||
|
||||
public void setCardNameId(int i2) {
|
||||
this.cardNameId = i2;
|
||||
}
|
||||
|
||||
public void setCardType(int i2) {
|
||||
this.cardType = i2;
|
||||
}
|
||||
|
||||
public void setCreditLevel(int i2) {
|
||||
this.creditLevel = i2;
|
||||
}
|
||||
|
||||
public void setGlobalGroupLevel(int i2) {
|
||||
this.globalGroupLevel = i2;
|
||||
}
|
||||
|
||||
public void setGlobalGroupPoint(int i2) {
|
||||
this.globalGroupPoint = i2;
|
||||
}
|
||||
|
||||
public void setGroupHonor(byte[] bArr) {
|
||||
this.groupHonor = bArr;
|
||||
}
|
||||
|
||||
public void setIsDelete(boolean z) {
|
||||
this.isDelete = z;
|
||||
}
|
||||
|
||||
public void setIsRobot(boolean z) {
|
||||
this.isRobot = z;
|
||||
}
|
||||
|
||||
public void setIsSpecialConcerned(boolean z) {
|
||||
this.isSpecialConcerned = z;
|
||||
}
|
||||
|
||||
public void setIsSpecialShielded(boolean z) {
|
||||
this.isSpecialShielded = z;
|
||||
}
|
||||
|
||||
public void setJoinTime(int i2) {
|
||||
this.joinTime = i2;
|
||||
}
|
||||
|
||||
public void setLastSpeakTime(int i2) {
|
||||
this.lastSpeakTime = i2;
|
||||
}
|
||||
|
||||
public void setMemberFlag(int i2) {
|
||||
this.memberFlag = i2;
|
||||
}
|
||||
|
||||
public void setMemberFlagExt(int i2) {
|
||||
this.memberFlagExt = i2;
|
||||
}
|
||||
|
||||
public void setMemberFlagExt2(int i2) {
|
||||
this.memberFlagExt2 = i2;
|
||||
}
|
||||
|
||||
public void setMemberLevel(int i2) {
|
||||
this.memberLevel = i2;
|
||||
}
|
||||
|
||||
public void setMemberMobileFlag(int i2) {
|
||||
this.memberMobileFlag = i2;
|
||||
}
|
||||
|
||||
public void setMemberSpecialTitle(String str) {
|
||||
this.memberSpecialTitle = str;
|
||||
}
|
||||
|
||||
public void setMemberTitleId(int i2) {
|
||||
this.memberTitleId = i2;
|
||||
}
|
||||
|
||||
public void setMssVipType(int i2) {
|
||||
this.mssVipType = i2;
|
||||
}
|
||||
|
||||
public void setNick(String str) {
|
||||
this.nick = str;
|
||||
}
|
||||
@ -106,6 +297,10 @@ public final class MemberInfo implements IKernelModel {
|
||||
this.remark = str;
|
||||
}
|
||||
|
||||
public void setRichFlag(int i2) {
|
||||
this.richFlag = i2;
|
||||
}
|
||||
|
||||
public void setRole(MemberRole memberRole) {
|
||||
this.role = memberRole;
|
||||
}
|
||||
@ -114,6 +309,10 @@ public final class MemberInfo implements IKernelModel {
|
||||
this.shutUpTime = i2;
|
||||
}
|
||||
|
||||
public void setSpecialTitleExpireTime(long j2) {
|
||||
this.specialTitleExpireTime = j2;
|
||||
}
|
||||
|
||||
public void setUid(String str) {
|
||||
this.uid = str;
|
||||
}
|
||||
@ -122,30 +321,16 @@ public final class MemberInfo implements IKernelModel {
|
||||
this.uin = j2;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "MemberInfo{uid=" + this.uid + ",qid=" + this.qid + ",uin=" + this.uin + ",nick=" + this.nick + ",remark=" + this.remark + ",cardType=" + this.cardType + ",cardName=" + this.cardName + ",role=" + this.role + ",avatarPath=" + this.avatarPath + ",shutUpTime=" + this.shutUpTime + ",isDelete=" + this.isDelete + ",isSpecialConcerned=" + this.isSpecialConcerned + ",}";
|
||||
public void setUserShowFlag(int i2) {
|
||||
this.userShowFlag = i2;
|
||||
}
|
||||
|
||||
public MemberInfo(String str, String str2, long j2, String str3, String str4, int i2, String str5, MemberRole memberRole, String str6, int i3, boolean z, boolean z2) {
|
||||
this.serialVersionUID = 1L;
|
||||
this.uid = "";
|
||||
this.qid = "";
|
||||
this.nick = "";
|
||||
this.remark = "";
|
||||
this.cardName = "";
|
||||
this.role = MemberRole.values()[0];
|
||||
this.avatarPath = "";
|
||||
this.uid = str;
|
||||
this.qid = str2;
|
||||
this.uin = j2;
|
||||
this.nick = str3;
|
||||
this.remark = str4;
|
||||
this.cardType = i2;
|
||||
this.cardName = str5;
|
||||
this.role = memberRole;
|
||||
this.avatarPath = str6;
|
||||
this.shutUpTime = i3;
|
||||
this.isDelete = z;
|
||||
this.isSpecialConcerned = z2;
|
||||
public void setUserShowFlagNew(int i2) {
|
||||
this.userShowFlagNew = i2;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "MemberInfo{uid=" + this.uid + ",qid=" + this.qid + ",uin=" + this.uin + ",nick=" + this.nick + ",remark=" + this.remark + ",cardType=" + this.cardType + ",cardName=" + this.cardName + ",role=" + this.role + ",avatarPath=" + this.avatarPath + ",shutUpTime=" + this.shutUpTime + ",isDelete=" + this.isDelete + ",isSpecialConcerned=" + this.isSpecialConcerned + ",isRobot=" + this.isRobot + ",groupHonor=" + this.groupHonor + ",memberLevel=" + this.memberLevel + ",globalGroupLevel=" + this.globalGroupLevel + ",globalGroupPoint=" + this.globalGroupPoint + ",memberTitleId=" + this.memberTitleId + ",memberSpecialTitle=" + this.memberSpecialTitle + ",specialTitleExpireTime=" + this.specialTitleExpireTime + ",userShowFlag=" + this.userShowFlag + ",userShowFlagNew=" + this.userShowFlagNew + ",richFlag=" + this.richFlag + ",mssVipType=" + this.mssVipType + ",bigClubLevel=" + this.bigClubLevel + ",bigClubFlag=" + this.bigClubFlag + ",autoRemark=" + this.autoRemark + ",creditLevel=" + this.creditLevel + ",joinTime=" + this.joinTime + ",lastSpeakTime=" + this.lastSpeakTime + ",memberFlag=" + this.memberFlag + ",memberFlagExt=" + this.memberFlagExt + ",memberMobileFlag=" + this.memberMobileFlag + ",memberFlagExt2=" + this.memberFlagExt2 + ",isSpecialShielded=" + this.isSpecialShielded + ",cardNameId=" + this.cardNameId + ",}";
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,19 @@
|
||||
package com.tencent.qqnt.kernel.nativeinterface;
|
||||
|
||||
public class MemberLevelName {
|
||||
public int level;
|
||||
public String strName = "";
|
||||
|
||||
public int getLevel() {
|
||||
return this.level;
|
||||
}
|
||||
|
||||
public String getStrName() {
|
||||
return this.strName;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "MemberLevelName{level=" + this.level + ",strName=" + this.strName + ",}";
|
||||
}
|
||||
|
||||
}
|
@ -1,5 +1,7 @@
|
||||
package com.tencent.qqnt.kernel.nativeinterface;
|
||||
|
||||
import com.tencent.qqnt.kernelpublic.nativeinterface.Contact;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.ArrayList;
|
||||
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user