mirror of
https://github.com/whitechi73/OpenShamrock.git
synced 2024-08-14 05:12:17 +00:00
Compare commits
26 Commits
b3d853dec3
...
1.0.8
Author | SHA1 | Date | |
---|---|---|---|
fb00e5c1ff | |||
7bfb9b7b61 | |||
c43689822b | |||
7952453137 | |||
2f61f6da00 | |||
db252b6b6c | |||
137c354acc | |||
1c7f6bd034 | |||
649d8771ca | |||
af7b0f732e | |||
12738fd52c | |||
b165e1c0c2 | |||
29c1ad8bc9 | |||
262af4108b | |||
a22dc50f14 | |||
e629981218 | |||
103381c17a | |||
7540ef04bb | |||
30b48c6677 | |||
48e4648110 | |||
b10b10d4a2 | |||
036f8a49ac | |||
67f52b8df0 | |||
dd1b909bb0 | |||
72c3c7bdf7 | |||
e0e7a9fc2e |
@ -31,7 +31,7 @@
|
||||
|
||||
<provider
|
||||
android:name=".ui.service.internal.MultifunctionalProvider"
|
||||
android:authorities="moe.fuqiuluo.xqbot.provider"
|
||||
android:authorities="moe.fuqiuluo.108.provider"
|
||||
android:exported="true"
|
||||
android:grantUriPermissions="true"
|
||||
tools:ignore="ExportedContentProvider" />
|
||||
|
@ -249,6 +249,11 @@ object ShamrockConfig {
|
||||
return preferences.getBoolean("enable_auto_start", false)
|
||||
}
|
||||
|
||||
fun disableAutoSyncSetting(ctx: Context): Boolean {
|
||||
val preferences = ctx.getSharedPreferences("config", 0)
|
||||
return preferences.getBoolean("disable_auto_sync_setting", false)
|
||||
}
|
||||
|
||||
fun enableAliveReply(ctx: Context): Boolean {
|
||||
val preferences = ctx.getSharedPreferences("config", 0)
|
||||
return preferences.getBoolean("alive_reply", false)
|
||||
@ -264,6 +269,11 @@ object ShamrockConfig {
|
||||
preferences.edit().putBoolean("enable_auto_start", v).apply()
|
||||
}
|
||||
|
||||
fun setDisableAutoSyncSetting(ctx: Context, v: Boolean) {
|
||||
val preferences = ctx.getSharedPreferences("config", 0)
|
||||
preferences.edit().putBoolean("disable_auto_sync_setting", v).apply()
|
||||
}
|
||||
|
||||
fun setAliveReply(ctx: Context, v: Boolean) {
|
||||
val preferences = ctx.getSharedPreferences("config", 0)
|
||||
preferences.edit().putBoolean("alive_reply", v).apply()
|
||||
@ -322,6 +332,7 @@ object ShamrockConfig {
|
||||
"shell" to preferences.getBoolean("shell", false),
|
||||
"alive_reply" to preferences.getBoolean("alive_reply", false),
|
||||
"enable_sync_msg_as_sent_msg" to preferences.getBoolean("enable_sync_msg_as_sent_msg", false),
|
||||
"disable_auto_sync_setting" to preferences.getBoolean("disable_auto_sync_setting", false),
|
||||
)
|
||||
}
|
||||
|
||||
|
@ -91,7 +91,7 @@ fun LabFragment() {
|
||||
ActionBox(
|
||||
modifier = Modifier.padding(top = 12.dp),
|
||||
painter = painterResource(id = R.drawable.round_logo_dev_24),
|
||||
title = "实验功能"
|
||||
title = "基础设置"
|
||||
) { color ->
|
||||
Column {
|
||||
Divider(
|
||||
@ -142,6 +142,16 @@ fun LabFragment() {
|
||||
return@Function true
|
||||
}
|
||||
|
||||
Function(
|
||||
title = "禁止Shamrock同步设置",
|
||||
desc = "禁止Shamrock同步设置,防止恢复手动修改后的配置文件。",
|
||||
descColor = color,
|
||||
isSwitch = ShamrockConfig.disableAutoSyncSetting(ctx)
|
||||
) {
|
||||
ShamrockConfig.setDisableAutoSyncSetting(ctx, it)
|
||||
return@Function true
|
||||
}
|
||||
|
||||
kotlin.runCatching {
|
||||
ctx.getSharedPreferences("shared_config", Context.MODE_WORLD_READABLE)
|
||||
}.onSuccess {
|
||||
|
@ -1,7 +1,7 @@
|
||||
@file:OptIn(ExperimentalSerializationApi::class)
|
||||
@file:Suppress("ArrayInDataClass")
|
||||
|
||||
package moe.whitechi73.protobuf.fav
|
||||
package protobuf.fav
|
||||
|
||||
import kotlinx.serialization.ExperimentalSerializationApi
|
||||
import kotlinx.serialization.Serializable
|
@ -1,5 +1,5 @@
|
||||
@file:OptIn(ExperimentalSerializationApi::class)
|
||||
package moe.whitechi73.protobuf.fav
|
||||
package protobuf.fav
|
||||
|
||||
import kotlinx.serialization.ExperimentalSerializationApi
|
||||
import kotlinx.serialization.Serializable
|
@ -1,4 +1,4 @@
|
||||
package moe.whitechi73.protobuf.fav
|
||||
package protobuf.fav
|
||||
|
||||
import kotlinx.serialization.Serializable
|
||||
import kotlinx.serialization.protobuf.ProtoNumber
|
@ -1,5 +1,5 @@
|
||||
@file:OptIn(ExperimentalSerializationApi::class)
|
||||
package moe.whitechi73.protobuf.fav
|
||||
package protobuf.fav
|
||||
|
||||
import kotlinx.serialization.ExperimentalSerializationApi
|
||||
import kotlinx.serialization.Serializable
|
@ -1,5 +1,5 @@
|
||||
@file:OptIn(ExperimentalSerializationApi::class)
|
||||
package moe.whitechi73.protobuf.fav
|
||||
package protobuf.fav
|
||||
|
||||
import kotlinx.serialization.ExperimentalSerializationApi
|
||||
import kotlinx.serialization.Serializable
|
@ -1,5 +1,5 @@
|
||||
@file:OptIn(ExperimentalSerializationApi::class)
|
||||
package moe.whitechi73.protobuf.fav
|
||||
package protobuf.fav
|
||||
|
||||
import kotlinx.serialization.ExperimentalSerializationApi
|
||||
import kotlinx.serialization.Serializable
|
@ -1,6 +1,6 @@
|
||||
@file:OptIn(ExperimentalSerializationApi::class)
|
||||
|
||||
package moe.whitechi73.protobuf.fav
|
||||
package protobuf.fav
|
||||
|
||||
import kotlinx.serialization.ExperimentalSerializationApi
|
||||
import kotlinx.serialization.Serializable
|
@ -1,5 +1,5 @@
|
||||
@file:OptIn(ExperimentalSerializationApi::class)
|
||||
package moe.whitechi73.protobuf.fav
|
||||
package protobuf.fav
|
||||
|
||||
import kotlinx.serialization.ExperimentalSerializationApi
|
||||
import kotlinx.serialization.Serializable
|
@ -1,5 +1,5 @@
|
||||
@file:OptIn(ExperimentalSerializationApi::class)
|
||||
package moe.whitechi73.protobuf.fav
|
||||
package protobuf.fav
|
||||
|
||||
import kotlinx.serialization.ExperimentalSerializationApi
|
||||
import kotlinx.serialization.Serializable
|
@ -1,5 +1,5 @@
|
||||
@file:OptIn(ExperimentalSerializationApi::class)
|
||||
package moe.whitechi73.protobuf.fav
|
||||
package protobuf.fav
|
||||
|
||||
import kotlinx.serialization.ExperimentalSerializationApi
|
||||
import kotlinx.serialization.Serializable
|
@ -1,6 +1,6 @@
|
||||
@file:OptIn(ExperimentalSerializationApi::class)
|
||||
|
||||
package moe.whitechi73.protobuf.fav
|
||||
package protobuf.fav
|
||||
|
||||
import kotlinx.serialization.ExperimentalSerializationApi
|
||||
import kotlinx.serialization.Serializable
|
@ -1,7 +1,7 @@
|
||||
@file:OptIn(ExperimentalSerializationApi::class)
|
||||
@file:Suppress("ArrayInDataClass")
|
||||
|
||||
package moe.whitechi73.protobuf.fav
|
||||
package protobuf.fav
|
||||
|
||||
import kotlinx.serialization.ExperimentalSerializationApi
|
||||
import kotlinx.serialization.Serializable
|
@ -1,4 +1,4 @@
|
||||
package moe.whitechi73.protobuf.group_file_common
|
||||
package protobuf.group_file_common
|
||||
|
||||
import kotlinx.serialization.SerialName
|
||||
import kotlinx.serialization.Serializable
|
405
protobuf/src/main/java/protobuf/guild/GetGuildFeeds.kt
Normal file
405
protobuf/src/main/java/protobuf/guild/GetGuildFeeds.kt
Normal file
@ -0,0 +1,405 @@
|
||||
@file:OptIn(ExperimentalSerializationApi::class)
|
||||
|
||||
package protobuf.guild
|
||||
|
||||
import kotlinx.serialization.ExperimentalSerializationApi
|
||||
import kotlinx.serialization.SerialName
|
||||
import kotlinx.serialization.Serializable
|
||||
import kotlinx.serialization.protobuf.ProtoNumber
|
||||
import protobuf.qweb.QWebExtInfo
|
||||
|
||||
@Serializable
|
||||
data class GetGuildFeedsReq(
|
||||
@ProtoNumber(1) var count: Int,
|
||||
@ProtoNumber(2) var from: Int? = null,
|
||||
@ProtoNumber(3) var feedAttchInfo: ByteArray? = null,
|
||||
@ProtoNumber(4) var guildId: ULong? = null,
|
||||
@ProtoNumber(5) var getType: Int? = null,
|
||||
@ProtoNumber(6) var sortOption: Int? = null,
|
||||
@ProtoNumber(7) var u7: Int? = null,
|
||||
@ProtoNumber(8) var u8: Int? = null,
|
||||
@ProtoNumber(9) var u9: ByteArray? = null,
|
||||
)
|
||||
|
||||
@Serializable
|
||||
data class GetGuildFeedsRsp(
|
||||
@ProtoNumber(1) var vecFeed: List<StFeed>? = null,
|
||||
@ProtoNumber(2) var isFinish: Int = 0,
|
||||
//@ProtoNumber(3) var feedAttchInfo: ByteArray? = null,
|
||||
//@ProtoNumber(4) var traceId: String? = null,
|
||||
)
|
||||
|
||||
@Serializable
|
||||
data class StFeed(
|
||||
@SerialName("id") @ProtoNumber(1) var id: String,
|
||||
@SerialName("title") @ProtoNumber(2) var title: StRichText,
|
||||
@SerialName("poster") @ProtoNumber(4) var poster: StUser? = null,
|
||||
@SerialName("videos") @ProtoNumber(5) var videos: List<StVideo>? = null,
|
||||
@SerialName("contents") @ProtoNumber(6) var contents: StRichText? = null,
|
||||
@SerialName("create_time") @ProtoNumber(7) var createTime: ULong? = null,
|
||||
@SerialName("comment_count") @ProtoNumber(9) var commentCount: UInt? = null,
|
||||
|
||||
@SerialName("comments") @ProtoNumber(10) var vecComment: List<StComment>? = null,
|
||||
@SerialName("share") @ProtoNumber(11) var share: StShare? = null,
|
||||
@SerialName("visitor_info") @ProtoNumber(12) var visitorInfo: StVisitor? = null,
|
||||
@SerialName("images") @ProtoNumber(13) var images: List<StImage>? = null,
|
||||
@SerialName("poi") @ProtoNumber(14) var poiInfo: StPoiInfoV2? = null,
|
||||
@SerialName("op_mask") @ProtoNumber(17) var opMask: List<Int>? = null,
|
||||
@SerialName("channel_info") @ProtoNumber(21) var channelInfo: StChannelInfo? = null,
|
||||
@SerialName("create_time_ns") @ProtoNumber(22) var createTimeNs: ULong? = null,
|
||||
@SerialName("update_time") @ProtoNumber(28) var updateTime: ULong? = null,
|
||||
@SerialName("total_like") @ProtoNumber(29) var totalLike: StTotalLike? = null,
|
||||
@SerialName("discussion_mum") @ProtoNumber(31) var discussionMum: UInt? = null,
|
||||
@SerialName("feed_type") @ProtoNumber(32) var feedType: UInt? = null,
|
||||
@SerialName("default_background_img") @ProtoNumber(34) var defaultBackgroundImg: String? = null,
|
||||
@SerialName("group_code") @ProtoNumber(35) var groupCode: ULong? = null,
|
||||
)
|
||||
|
||||
@Serializable
|
||||
data class StTotalLike (
|
||||
@SerialName("count") @ProtoNumber(1) var likeCount: UInt? = null,
|
||||
@SerialName("is_clicked") @ProtoNumber(2) var isClicked: UInt? = null,
|
||||
)
|
||||
|
||||
@Serializable
|
||||
data class StPoiInfoV2(
|
||||
@SerialName("poi_id") @ProtoNumber(1) var poiId: String? = null,
|
||||
@SerialName("name") @ProtoNumber(2) var name: String? = null,
|
||||
@SerialName("poi_type") @ProtoNumber(3) var poiType: Int? = null,
|
||||
@SerialName("type_name") @ProtoNumber(4) var typeName: String? = null,
|
||||
@SerialName("address") @ProtoNumber(5) var address: String? = null,
|
||||
@SerialName("district_code") @ProtoNumber(6) var districtCode: Int? = null,
|
||||
@SerialName("gps") @ProtoNumber(7) var gps: StGPSV2? = null,
|
||||
@SerialName("distance") @ProtoNumber(8) var distance: Int? = null,
|
||||
@SerialName("hot_value") @ProtoNumber(9) var hotValue: Int? = null,
|
||||
@SerialName("phone") @ProtoNumber(10) var phone: String? = null,
|
||||
@SerialName("country") @ProtoNumber(11) var country: String? = null,
|
||||
@SerialName("province") @ProtoNumber(12) var province: String? = null,
|
||||
@SerialName("city") @ProtoNumber(13) var city: String? = null,
|
||||
@SerialName("poi_num") @ProtoNumber(14) var poiNum: Int? = null,
|
||||
@SerialName("poi_order_type") @ProtoNumber(15) var poiOrderType: Int? = null,
|
||||
@SerialName("default_name") @ProtoNumber(16) var defaultName: String? = null,
|
||||
@SerialName("district") @ProtoNumber(17) var district: String? = null,
|
||||
@SerialName("dian_ping_id") @ProtoNumber(18) var dianPingId: String? = null,
|
||||
@SerialName("distance_text") @ProtoNumber(19) var distanceText: String? = null,
|
||||
@SerialName("display_name") @ProtoNumber(20) var displayName: String? = null,
|
||||
)
|
||||
|
||||
@Serializable
|
||||
data class StGPSV2(
|
||||
@SerialName("lat") @ProtoNumber(1) var latitude: Long? = null,
|
||||
@SerialName("lon") @ProtoNumber(2) var longitude: Long? = null,
|
||||
)
|
||||
|
||||
@Serializable
|
||||
data class StShare(
|
||||
@SerialName("title") @ProtoNumber(1) var title: String? = null,
|
||||
@SerialName("desc") @ProtoNumber(2) var desc: String? = null,
|
||||
@SerialName("type") @ProtoNumber(3) var type: UInt? = null,
|
||||
@SerialName("url") @ProtoNumber(4) var url: String? = null,
|
||||
@SerialName("author") @ProtoNumber(5) var author: StUser? = null,
|
||||
@SerialName("poster") @ProtoNumber(6) var poster: StUser? = null,
|
||||
@SerialName("videos") @ProtoNumber(7) var videos: List<StVideo>? = null,
|
||||
@SerialName("short_url") @ProtoNumber(8) var shorturl: String? = null,
|
||||
@SerialName("share_card_info") @ProtoNumber(9) var shareCardInfo: String? = null,
|
||||
//@ProtoNumber(10) var shareQzoneInfo: Any? = null,
|
||||
@SerialName("images") @ProtoNumber(11) var images: List<StImage>? = null,
|
||||
@SerialName("publish_total_user") @ProtoNumber(12) var publishTotalUser: UInt? = null,
|
||||
@SerialName("shared_count") @ProtoNumber(13) var sharedCount: UInt? = null,
|
||||
//@ProtoNumber(14) var channelShareInfo: Any? = null,
|
||||
)
|
||||
|
||||
@Serializable
|
||||
data class StVisitor(
|
||||
@SerialName("view_count")
|
||||
@ProtoNumber(1) val viewCount: UInt? = null,
|
||||
@SerialName("recome_count")
|
||||
@ProtoNumber(3) val recomeCount: UInt? = null,
|
||||
@SerialName("view_desc")
|
||||
@ProtoNumber(4) val viewDesc: String? = null,
|
||||
)
|
||||
|
||||
@Serializable
|
||||
data class StComment(
|
||||
@SerialName("id") @ProtoNumber(1) var id: String? = null,
|
||||
@SerialName("poster") @ProtoNumber(2) var postUser: StUser? = null,
|
||||
@SerialName("create_time") @ProtoNumber(3) var createTime: ULong? = null,
|
||||
@SerialName("content") @ProtoNumber(4) var content: String? = null,
|
||||
@SerialName("reply_count") @ProtoNumber(5) var replyCount: UInt? = null,
|
||||
@SerialName("replies") @ProtoNumber(6) var vecReply: List<StReply>? = null,
|
||||
//@ProtoNumber(7) var busiData: Any? = null,
|
||||
@SerialName("like_info") @ProtoNumber(8) var likeInfo: StLike? = null,
|
||||
@SerialName("type_flag") @ProtoNumber(9) var typeFlag: UInt? = null,
|
||||
@SerialName("at_uin_list") @ProtoNumber(10) var atUinList: List<String>? = null,
|
||||
@SerialName("type_flag2") @ProtoNumber(11) var typeFlag2: UInt? = null,
|
||||
@SerialName("create_time_ns") @ProtoNumber(12) var createTimeNs: ULong? = null,
|
||||
@SerialName("store_ext_info") @ProtoNumber(13) var storeExtInfo: List<QWebExtInfo>? = null,
|
||||
@SerialName("third_id") @ProtoNumber(14) var thirdId: String? = null,
|
||||
@SerialName("source_type") @ProtoNumber(15) var sourceType: UInt? = null,
|
||||
@SerialName("rich_contents") @ProtoNumber(16) var richContents: StRichText? = null,
|
||||
@SerialName("images") @ProtoNumber(17) var images: List<StImage>? = null,
|
||||
@SerialName("sequence") @ProtoNumber(18) var sequence: ULong? = null,
|
||||
@SerialName("next_page_reply") @ProtoNumber(19) var nextPageReply: Boolean? = null,
|
||||
@SerialName("attach_info") @ProtoNumber(20) var attachInfo: String? = null,
|
||||
)
|
||||
|
||||
@Serializable
|
||||
data class StReply(
|
||||
@SerialName("id") @ProtoNumber(1) var id: String? = null,
|
||||
@SerialName("poster") @ProtoNumber(2) var postUser: StUser? = null,
|
||||
@SerialName("create_time") @ProtoNumber(3) var createTime: ULong? = null,
|
||||
@SerialName("content") @ProtoNumber(4) var content: String? = null,
|
||||
@SerialName("target") @ProtoNumber(5) var targetUser: StUser? = null,
|
||||
//@ProtoNumber(6) var busiData: ByteArray? = null,
|
||||
@SerialName("like_info") @ProtoNumber(7) var likeInfo: StLike? = null,
|
||||
@SerialName("type_flag") @ProtoNumber(8) var typeFlag: UInt? = null,
|
||||
@SerialName("modify_flag") @ProtoNumber(9) var modifyflag: UInt? = null,
|
||||
@SerialName("at_uin_list") @ProtoNumber(10) var atUinList: List<String>? = null,
|
||||
@SerialName("type_flag2") @ProtoNumber(11) var typeFlag2: UInt? = null,
|
||||
@SerialName("create_time_ns") @ProtoNumber(12) var createTimeNs: ULong? = null,
|
||||
@SerialName("store_ext_info") @ProtoNumber(13) var storeExtInfo: List<QWebExtInfo>? = null,
|
||||
@SerialName("third_id") @ProtoNumber(14) var thirdId: String? = null,
|
||||
@SerialName("target_reply_id") @ProtoNumber(15) var targetReplyID: String? = null,
|
||||
@SerialName("source_type") @ProtoNumber(16) var sourceType: UInt? = null,
|
||||
@SerialName("rich_contents") @ProtoNumber(17) var richContents: StRichText? = null,
|
||||
@SerialName("images") @ProtoNumber(18) var images: List<StImage>? = null,
|
||||
)
|
||||
|
||||
@Serializable
|
||||
data class StLike(
|
||||
@SerialName("id")
|
||||
@ProtoNumber(1) var id: String? = null,
|
||||
@SerialName("count")
|
||||
@ProtoNumber(2) var count: UInt? = null,
|
||||
@SerialName("status")
|
||||
@ProtoNumber(3) var status: UInt? = null,
|
||||
@SerialName("like_uin_list")
|
||||
@ProtoNumber(4) var vecUser: List<StUser>? = null,
|
||||
@SerialName("poster")
|
||||
@ProtoNumber(6) var postUser: StUser? = null,
|
||||
@SerialName("has_liked_count")
|
||||
@ProtoNumber(7) var hasLikedCount: UInt? = null,
|
||||
@SerialName("owner_status")
|
||||
@ProtoNumber(8) var ownerStatus: UInt? = null,
|
||||
@SerialName("jump_url")
|
||||
@ProtoNumber(9) var jumpUrl: String? = null,
|
||||
)
|
||||
|
||||
@Serializable
|
||||
data class StVideo(
|
||||
@SerialName("file_id") @ProtoNumber(1) var fileId: String? = null,
|
||||
@SerialName("file_size") @ProtoNumber(2) var fileSize: UInt? = null,
|
||||
@SerialName("duration") @ProtoNumber(3) var duration: UInt? = null,
|
||||
@SerialName("width") @ProtoNumber(4) var width: UInt? = null,
|
||||
@SerialName("height") @ProtoNumber(5) var height: UInt? = null,
|
||||
@SerialName("play_url") @ProtoNumber(6) var playUrl: String? = null,
|
||||
@SerialName("trans_status") @ProtoNumber(7) var transStatus: UInt? = null,
|
||||
@SerialName("video_prior") @ProtoNumber(8) var videoPrior: UInt? = null,
|
||||
@SerialName("video_rate") @ProtoNumber(9) var videoRate: UInt? = null,
|
||||
//@ProtoNumber(10) var vecVideoUrl: String? = null,
|
||||
//@ProtoNumber(11) var busiData: Any? = null,
|
||||
@SerialName("approval_status") @ProtoNumber(12) var approvalStatus: UInt? = null,
|
||||
@SerialName("video_source") @ProtoNumber(13) var videoSource: UInt? = null,
|
||||
@SerialName("media_quality_rank") @ProtoNumber(14) var mediaQualityRank: UInt? = null,
|
||||
@SerialName("media_quality_score") @ProtoNumber(15) var mediaQualityScore: Float? = null,
|
||||
@SerialName("md5") @ProtoNumber(16) var videoMD5: String? = null,
|
||||
@SerialName("is_quic") @ProtoNumber(17) var isQuic: UInt? = null,
|
||||
@SerialName("orientation") @ProtoNumber(18) var orientation: Int? = null,
|
||||
@SerialName("cover") @ProtoNumber(19) var cover: StImage? = null,
|
||||
@SerialName("pattern_id") @ProtoNumber(20) var patternId: String? = null,
|
||||
@SerialName("display_index") @ProtoNumber(21) var displayIndex: UInt? = null,
|
||||
)
|
||||
|
||||
@Serializable
|
||||
data class StRichText(
|
||||
@SerialName("contents") @ProtoNumber(1) var contents: List<StRichTextContent>? = null,
|
||||
@SerialName("images") @ProtoNumber(2) var images: List<StImage>? = null,
|
||||
)
|
||||
|
||||
@Serializable
|
||||
data class StRichTextContent(
|
||||
@SerialName("type") @ProtoNumber(1) var type: Int? = null,
|
||||
@SerialName("pattern_id") @ProtoNumber(2) var patternId: String? = null,
|
||||
@SerialName("text") @ProtoNumber(3) var textContent: StRichTextTextContent? = null,
|
||||
@SerialName("at") @ProtoNumber(4) var atContent: StRichTextAtContent? = null,
|
||||
@SerialName("url") @ProtoNumber(5) var urlContent: StRichTextURLContent? = null,
|
||||
@SerialName("emoji") @ProtoNumber(6) var emojiContent: StRichTextEmojiContent? = null,
|
||||
@SerialName("channel") @ProtoNumber(7) var channelContent: StRichTextChannelContent? = null,
|
||||
@SerialName("guild") @ProtoNumber(8) var guildContent: StRichTextGuildContent? = null,
|
||||
@SerialName("icon") @ProtoNumber(9) var iconContent: StRichTextIconContent? = null,
|
||||
)
|
||||
|
||||
@Serializable
|
||||
data class StRichTextIconContent(
|
||||
@SerialName("url") @ProtoNumber(1) val url: String? = null
|
||||
)
|
||||
@Serializable
|
||||
data class StRichTextGuildContent(
|
||||
@SerialName("channel_info") @ProtoNumber(1) val channelInfo: StChannelInfo? = null
|
||||
)
|
||||
|
||||
@Serializable
|
||||
data class StRichTextChannelContent(
|
||||
@SerialName("channel_info") @ProtoNumber(1) val channelInfo: StChannelInfo? = null
|
||||
)
|
||||
|
||||
@Serializable
|
||||
data class StChannelInfo(
|
||||
//@SerialName("sign") @ProtoNumber(1) var sign: String? = null,
|
||||
@SerialName("name")
|
||||
@ProtoNumber(2) var name: String? = null,
|
||||
@SerialName("icon_url")
|
||||
@ProtoNumber(3) var iconUrl: String? = null,
|
||||
@SerialName("type")
|
||||
@ProtoNumber(4) var privateType: Int? = null,
|
||||
@SerialName("guild_name")
|
||||
@ProtoNumber(5) var guildName: String? = null,
|
||||
@SerialName("hot_icon")
|
||||
@ProtoNumber(6) var hotIcon: String? = null,
|
||||
@SerialName("hot_index")
|
||||
@ProtoNumber(7) var hotIndex: UInt? = null,
|
||||
)
|
||||
|
||||
@Serializable
|
||||
data class StRichTextEmojiContent(
|
||||
@ProtoNumber(1) var id: String? = null,
|
||||
@ProtoNumber(2) var type: String? = null,
|
||||
@ProtoNumber(3) var name: String? = null,
|
||||
@ProtoNumber(4) var url: String? = null,
|
||||
)
|
||||
|
||||
@Serializable
|
||||
data class StRichTextURLContent(
|
||||
@ProtoNumber(1) var url: String? = null,
|
||||
@SerialName("display") @ProtoNumber(2) var displayText: String? = null,
|
||||
@ProtoNumber(3) var type: Int? = null,
|
||||
@SerialName("play_url") @ProtoNumber(4) var playUrl: String? = null,
|
||||
@SerialName("platform") @ProtoNumber(5) var thirdPlatform: ThirdPlatform? = null,
|
||||
@SerialName("third_video_info") @ProtoNumber(6) var thirdVideoInfo: CommThirdVideoInfo? = null,
|
||||
)
|
||||
|
||||
@Serializable
|
||||
data class CommThirdVideoInfo(
|
||||
@SerialName("cover") @ProtoNumber(1) val cover: String? = null,
|
||||
@SerialName("duration") @ProtoNumber(2) val duration: ULong? = null,
|
||||
)
|
||||
|
||||
@Serializable
|
||||
data class ThirdPlatform(
|
||||
@ProtoNumber(1) var icon: String? = null,
|
||||
@ProtoNumber(2) var name: String? = null,
|
||||
)
|
||||
|
||||
@Serializable
|
||||
data class StRichTextTextContent(
|
||||
@ProtoNumber(1) var text: String? = null
|
||||
)
|
||||
|
||||
@Serializable
|
||||
data class StRichTextAtContent(
|
||||
@ProtoNumber(1) var type: Int? = null,
|
||||
@SerialName("guild_info") @ProtoNumber(2) var guildInfo: GuildInfo? = null,
|
||||
@SerialName("role_info") @ProtoNumber(3) var roleGroupId: RoleGroupInfo? = null,
|
||||
@ProtoNumber(4) var user: StUser? = null,
|
||||
)
|
||||
|
||||
@Serializable
|
||||
data class StUser(
|
||||
@ProtoNumber(1) var id: String? = null,
|
||||
@ProtoNumber(2) var nick: String? = null,
|
||||
@ProtoNumber(3) var icon: StIconInfo? = null,
|
||||
@ProtoNumber(4) var desc: String? = null,
|
||||
@SerialName("follow_state") @ProtoNumber(5) var followState: UInt? = null,
|
||||
@ProtoNumber(6) var type: UInt? = null,
|
||||
@ProtoNumber(7) var sex: UInt? = null,
|
||||
@ProtoNumber(8) var birthday: ULong? = null,
|
||||
@ProtoNumber(9) var school: String? = null,
|
||||
@ProtoNumber(11) var location: String? = null,
|
||||
//@ProtoNumber(12) var busiData: ByteArray? = null,
|
||||
@SerialName("frd") @ProtoNumber(13) var frdState: UInt? = null,
|
||||
@SerialName("relation_state") @ProtoNumber(14) var relationState: UInt? = null,
|
||||
@SerialName("black_state") @ProtoNumber(15) var blackState: UInt? = null,
|
||||
@ProtoNumber(16) var medal: StTagMedalInfo? = null,
|
||||
@ProtoNumber(17) var constellation: Int? = null,
|
||||
@SerialName("jump_url") @ProtoNumber(18) var jumpUrl: String? = null,
|
||||
@SerialName("location_code") @ProtoNumber(19) var locationCode: String? = null,
|
||||
@SerialName("third_id") @ProtoNumber(20) var thirdId: String? = null,
|
||||
@ProtoNumber(21) var company: String? = null,
|
||||
@SerialName("certification_desc") @ProtoNumber(22) var certificationDesc: String? = null,
|
||||
@SerialName("desc_type") @ProtoNumber(23) var descType: UInt? = null,
|
||||
//@ProtoNumber(24) var channelUserInfo: Any? = null,
|
||||
//@SerialName("login_id") @ProtoNumber(25) var loginId: String? = null,
|
||||
@ProtoNumber(26) var uin: ULong? = null,
|
||||
@SerialName("nick_flag") @ProtoNumber(27) var nickFlag: UInt? = null,
|
||||
@SerialName("manage_tag") @ProtoNumber(28) var manageTag: CustomManageTag? = null,
|
||||
//@SerialName("personal_medal") @ProtoNumber(29) var personalMedal: PersonalMedal? = null,
|
||||
)
|
||||
|
||||
@Serializable
|
||||
data class PersonalMedal(
|
||||
@SerialName("start") @ProtoNumber(1) val startTime: ULong? = null,
|
||||
@SerialName("end") @ProtoNumber(2) val endTime: ULong? = null,
|
||||
@ProtoNumber(3) var url: String? = null,
|
||||
)
|
||||
|
||||
@Serializable
|
||||
data class StTagMedalInfo(
|
||||
@SerialName("id") @ProtoNumber(1) val tagId: ULong? = null,
|
||||
@SerialName("name") @ProtoNumber(2) val tagName: String? = null,
|
||||
@ProtoNumber(3) val rank: ULong? = null,
|
||||
)
|
||||
|
||||
@Serializable
|
||||
data class CustomManageTag(
|
||||
@ProtoNumber(3) val color: UInt? = null,
|
||||
@SerialName("name") @ProtoNumber(2) val tagName: String? = null,
|
||||
)
|
||||
|
||||
@Serializable
|
||||
data class StIconInfo(
|
||||
//@SerialName("url_40") @ProtoNumber(1) var iconUrl40: String? = null,
|
||||
//@SerialName("url_100") @ProtoNumber(2) var iconUrl100: String? = null,
|
||||
//@SerialName("url_140") @ProtoNumber(3) var iconUrl140: String? = null,
|
||||
//@SerialName("url_640") @ProtoNumber(4) var iconUrl640: String? = null,
|
||||
@SerialName("url") @ProtoNumber(5) var iconUrl: String? = null,
|
||||
)
|
||||
|
||||
@Serializable
|
||||
data class RoleGroupInfo(
|
||||
@SerialName("role") @ProtoNumber(1) var roleId: ULong? = null,
|
||||
@ProtoNumber(2) var name: String? = null,
|
||||
@ProtoNumber(3) var color: ULong? = null,
|
||||
)
|
||||
|
||||
@Serializable
|
||||
data class GuildInfo(
|
||||
@SerialName("guild_id") @ProtoNumber(1) var guildId: ULong? = null,
|
||||
@ProtoNumber(2) var name: String? = null,
|
||||
@SerialName("join_time") @ProtoNumber(3) var joinTime: ULong? = null,
|
||||
)
|
||||
|
||||
@Serializable
|
||||
data class StImage(
|
||||
@ProtoNumber(1) var width: UInt? = null,
|
||||
@ProtoNumber(2) var height: UInt? = null,
|
||||
@ProtoNumber(3) var picUrl: String? = null,
|
||||
@SerialName("image_urls") @ProtoNumber(4) var vecImageUrl: List<StImageUrl>? = null,
|
||||
@SerialName("id") @ProtoNumber(5) var picId: String? = null,
|
||||
//@ProtoNumber(6) var busiData: Any? = null,
|
||||
@SerialName("md5") @ProtoNumber(7) var imageMD5: String? = null,
|
||||
@SerialName("layer_pic_url") @ProtoNumber(8) var layerPicUrl: String? = null,
|
||||
@SerialName("pattern_id") @ProtoNumber(9) var patternId: String? = null,
|
||||
@SerialName("display_index") @ProtoNumber(10) var displayIndex: Int? = null,
|
||||
@SerialName("size") @ProtoNumber(11) var origSize: UInt? = null,
|
||||
@SerialName("is_original") @ProtoNumber(12) var isOrig: Boolean? = null,
|
||||
@SerialName("is_gif") @ProtoNumber(13) var isGif: Boolean? = null,
|
||||
)
|
||||
|
||||
@Serializable
|
||||
data class StImageUrl(
|
||||
@SerialName("level_type") @ProtoNumber(1) var levelType: UInt? = null,
|
||||
@ProtoNumber(2) var url: String? = null,
|
||||
@ProtoNumber(3) var width: UInt? = null,
|
||||
@ProtoNumber(4) var height: UInt? = null,
|
||||
//@ProtoNumber(5) var busiData: Any? = null,
|
||||
)
|
@ -1,5 +1,5 @@
|
||||
@file:OptIn(ExperimentalSerializationApi::class)
|
||||
package moe.whitechi73.protobuf.message
|
||||
package protobuf.message
|
||||
|
||||
import kotlinx.serialization.ExperimentalSerializationApi
|
||||
import kotlinx.serialization.Serializable
|
@ -1,7 +1,5 @@
|
||||
@file:OptIn(ExperimentalSerializationApi::class)
|
||||
package moe.whitechi73.protobuf.oidb
|
||||
package protobuf.oidb
|
||||
|
||||
import kotlinx.serialization.ExperimentalSerializationApi
|
||||
import kotlinx.serialization.Serializable
|
||||
import kotlinx.serialization.protobuf.ProtoNumber
|
||||
|
@ -1,11 +1,11 @@
|
||||
@file:OptIn(ExperimentalSerializationApi::class)
|
||||
|
||||
package moe.whitechi73.protobuf.oidb.cmd0x6d7
|
||||
package protobuf.oidb.cmd0x6d7
|
||||
|
||||
import kotlinx.serialization.ExperimentalSerializationApi
|
||||
import kotlinx.serialization.Serializable
|
||||
import kotlinx.serialization.protobuf.ProtoNumber
|
||||
import moe.whitechi73.protobuf.group_file_common.FolderInfo
|
||||
import protobuf.group_file_common.FolderInfo
|
||||
|
||||
@Serializable
|
||||
data class Oidb0x6d7ReqBody(
|
@ -1,4 +1,4 @@
|
||||
package moe.whitechi73.protobuf.oidb.cmd0x9082
|
||||
package protobuf.oidb.cmd0x9082
|
||||
|
||||
import kotlinx.serialization.Serializable
|
||||
import kotlinx.serialization.protobuf.ProtoNumber
|
16
protobuf/src/main/java/protobuf/oidb/cmd0xf16/Oidb0xf16.kt
Normal file
16
protobuf/src/main/java/protobuf/oidb/cmd0xf16/Oidb0xf16.kt
Normal file
@ -0,0 +1,16 @@
|
||||
package protobuf.oidb.cmd0xf16
|
||||
|
||||
import kotlinx.serialization.Serializable
|
||||
import kotlinx.serialization.protobuf.ProtoNumber
|
||||
|
||||
@Serializable
|
||||
data class Oidb0xf16(
|
||||
@ProtoNumber(1) var setGroupRemarkReq: SetGroupRemarkReq? = null,
|
||||
)
|
||||
|
||||
@Serializable
|
||||
data class SetGroupRemarkReq(
|
||||
@ProtoNumber(1) var groupCode: ULong,
|
||||
@ProtoNumber(2) var groupUin: ULong,
|
||||
@ProtoNumber(3) var groupRemark: String
|
||||
)
|
117
protobuf/src/main/java/protobuf/oidb/cmd0xf88/Oidb0xf88.kt
Normal file
117
protobuf/src/main/java/protobuf/oidb/cmd0xf88/Oidb0xf88.kt
Normal file
@ -0,0 +1,117 @@
|
||||
@file:OptIn(ExperimentalSerializationApi::class)
|
||||
|
||||
package protobuf.oidb.cmd0xf88
|
||||
|
||||
import kotlinx.serialization.ExperimentalSerializationApi
|
||||
import kotlinx.serialization.Serializable
|
||||
import kotlinx.serialization.protobuf.ProtoNumber
|
||||
|
||||
@Serializable
|
||||
data class Oidb0xf88Req(
|
||||
@ProtoNumber(1) val filter: GProFilter,
|
||||
@ProtoNumber(2) val memberId: ULong,
|
||||
@ProtoNumber(3) val tinyId: ULong,
|
||||
@ProtoNumber(4) val guildId: ULong,
|
||||
)
|
||||
|
||||
@Serializable
|
||||
data class Oidb0xf88Rsp(
|
||||
@ProtoNumber(1) val userInfo: GProUserInfo?
|
||||
)
|
||||
|
||||
@Serializable
|
||||
data class GProUserInfo(
|
||||
@ProtoNumber(1) var memberId: ULong = ULong.MIN_VALUE,
|
||||
@ProtoNumber(2) var memberTinyid: ULong = ULong.MIN_VALUE,
|
||||
@ProtoNumber(3) var nickName: String? = null,
|
||||
@ProtoNumber(4) var gender: UInt = UInt.MIN_VALUE,
|
||||
@ProtoNumber(5) var allow: UInt = UInt.MIN_VALUE,
|
||||
@ProtoNumber(6) var url: String? = null,
|
||||
@ProtoNumber(7) var birthday: String? = null,
|
||||
@ProtoNumber(8) var fullBirthday: String? = null,
|
||||
@ProtoNumber(9) var fullAge: String? = null,
|
||||
@ProtoNumber(10) var country: String? = null,
|
||||
@ProtoNumber(11) var province: String? = null,
|
||||
@ProtoNumber(12) var city: String? = null,
|
||||
@ProtoNumber(13) var cityId: String? = null,
|
||||
@ProtoNumber(14) var cityZoneId: UInt = UInt.MIN_VALUE,
|
||||
@ProtoNumber(15) var msgHeadInfo: GProHeadInfo? = null,
|
||||
@ProtoNumber(16) var joinTime: ULong = ULong.MIN_VALUE,
|
||||
@ProtoNumber(17) var memberRole: UInt = UInt.MIN_VALUE,
|
||||
@ProtoNumber(18) var memberType: UInt = UInt.MIN_VALUE,
|
||||
@ProtoNumber(19) var beAdminTime: ULong = ULong.MIN_VALUE,
|
||||
@ProtoNumber(20) var memberName: String? = null,
|
||||
//@ProtoNumber(21) var clientPresence: Any? = null,
|
||||
//@ProtoNumber(22) var client_archive: ArrayList<>? = null,
|
||||
//@ProtoNumber(23) var bind_client_account: ArrayList<>? = null,
|
||||
@ProtoNumber(24) var hasMoreArchive: Boolean = false,
|
||||
//@ProtoNumber(25) var firstArchiveArkData: Any? = null,
|
||||
@ProtoNumber(26) var directMsgBlackFlag: UInt = UInt.MIN_VALUE,
|
||||
@ProtoNumber(27) var setGroupProProfile: Boolean = false,
|
||||
@ProtoNumber(28) var joinGroupProTimestamp: ULong = ULong.MIN_VALUE,
|
||||
@ProtoNumber(29) var shutUpExpireTime: ULong = ULong.MIN_VALUE,
|
||||
@ProtoNumber(30) var avatarMeta: ByteArray? = null,
|
||||
@ProtoNumber(31) var memberNameFlag: UInt = UInt.MIN_VALUE,
|
||||
@ProtoNumber(32) var faceAuthStatus: UInt = UInt.MIN_VALUE,
|
||||
@ProtoNumber(33) var verifyUrl: String? = null,
|
||||
@ProtoNumber(34) var constellation: UInt = UInt.MIN_VALUE,
|
||||
@ProtoNumber(35) var personalSign: ByteArray? = null,
|
||||
//@ProtoNumber(36) var voice_live_info: Any? = null,
|
||||
@ProtoNumber(37) var avatarFlag: UInt = UInt.MIN_VALUE,
|
||||
//@ProtoNumber(38) var isQQFriend: Any? = null,
|
||||
//@ProtoNumber(39) var openid: Any? = null,
|
||||
//@ProtoNumber(40) var personalSignTemplate: Any? = null,
|
||||
//@ProtoNumber(41) var showVoiceLiveStatusSwitch: Any? = null,
|
||||
@ProtoNumber(99) var isMember: UInt = UInt.MIN_VALUE,
|
||||
)
|
||||
|
||||
@Serializable
|
||||
data class GProHeadInfo(
|
||||
@ProtoNumber(1) var timestamp: UInt = UInt.MIN_VALUE,
|
||||
@ProtoNumber(2) var faceFlag: UInt = UInt.MIN_VALUE,
|
||||
@ProtoNumber(3) var baseUrl: String? = null,
|
||||
@ProtoNumber(4) var type: UInt = UInt.MIN_VALUE
|
||||
)
|
||||
|
||||
@Serializable
|
||||
data class GProFilter(
|
||||
@ProtoNumber(3) val nickName: UInt = UInt.MIN_VALUE,
|
||||
@ProtoNumber(4) val gender: UInt = UInt.MIN_VALUE,
|
||||
@ProtoNumber(5) val allow: UInt = UInt.MIN_VALUE,
|
||||
@ProtoNumber(6) val url: UInt = UInt.MIN_VALUE,
|
||||
@ProtoNumber(7) val birthday: UInt = UInt.MIN_VALUE,
|
||||
@ProtoNumber(8) val fullBirthday: UInt = UInt.MIN_VALUE,
|
||||
@ProtoNumber(9) val fullAge: UInt = UInt.MIN_VALUE,
|
||||
@ProtoNumber(10) val country: UInt = UInt.MIN_VALUE,
|
||||
@ProtoNumber(11) val province: UInt = UInt.MIN_VALUE,
|
||||
@ProtoNumber(12) val city: UInt = UInt.MIN_VALUE,
|
||||
@ProtoNumber(13) val cityId: UInt = UInt.MIN_VALUE,
|
||||
@ProtoNumber(14) val cityZoneId: UInt = UInt.MIN_VALUE,
|
||||
@ProtoNumber(15) val headInfo: UInt = UInt.MIN_VALUE,
|
||||
@ProtoNumber(16) val joinTime: UInt = UInt.MIN_VALUE,
|
||||
@ProtoNumber(17) val memberRole: UInt = UInt.MIN_VALUE,
|
||||
@ProtoNumber(18) val memberType: UInt = UInt.MIN_VALUE,
|
||||
@ProtoNumber(19) val beAdminTime: UInt = UInt.MIN_VALUE,
|
||||
@ProtoNumber(20) val memberName: UInt = UInt.MIN_VALUE,
|
||||
@ProtoNumber(21) val clientPresence: UInt = UInt.MIN_VALUE,
|
||||
@ProtoNumber(22) val clientArchive: UInt = UInt.MIN_VALUE,
|
||||
@ProtoNumber(23) val bindClientAccount: UInt = UInt.MIN_VALUE,
|
||||
@ProtoNumber(24) val hasMoreArchive: UInt = UInt.MIN_VALUE,
|
||||
@ProtoNumber(25) val firstArchiveBaseInfo: UInt = UInt.MIN_VALUE,
|
||||
@ProtoNumber(26) val directMsgBlackFlag: UInt = UInt.MIN_VALUE,
|
||||
@ProtoNumber(27) val joinGroupProTimestamp: UInt = UInt.MIN_VALUE,
|
||||
@ProtoNumber(28) val shutupExpireTime: UInt = UInt.MIN_VALUE,
|
||||
@ProtoNumber(29) val faceAuthStatus: UInt = UInt.MIN_VALUE,
|
||||
@ProtoNumber(30) val constellation: UInt = UInt.MIN_VALUE,
|
||||
@ProtoNumber(31) val personalSign: UInt = UInt.MIN_VALUE,
|
||||
@ProtoNumber(32) val voiceLiveInfo: UInt = UInt.MIN_VALUE,
|
||||
@ProtoNumber(33) val isQQFriend: UInt = UInt.MIN_VALUE,
|
||||
@ProtoNumber(34) val personalSignTemplate: UInt = UInt.MIN_VALUE,
|
||||
@ProtoNumber(35) val showVoiceLiveStatusSwitch: UInt = UInt.MIN_VALUE,
|
||||
@ProtoNumber(36) val openid: UInt = UInt.MIN_VALUE,
|
||||
@ProtoNumber(37) val isMember: UInt = UInt.MIN_VALUE,
|
||||
@ProtoNumber(99) val needGroupProProfile: UInt = UInt.MIN_VALUE,
|
||||
@ProtoNumber(100) val avatarMeta: UInt = UInt.MIN_VALUE,
|
||||
) {
|
||||
|
||||
}
|
61
protobuf/src/main/java/protobuf/oidb/cmd0xfc2/Oidb0xfc2.kt
Normal file
61
protobuf/src/main/java/protobuf/oidb/cmd0xfc2/Oidb0xfc2.kt
Normal file
@ -0,0 +1,61 @@
|
||||
@file:OptIn(ExperimentalSerializationApi::class)
|
||||
package protobuf.oidb.cmd0xfc2
|
||||
|
||||
import kotlinx.serialization.ExperimentalSerializationApi
|
||||
import kotlinx.serialization.Serializable
|
||||
import kotlinx.serialization.protobuf.ProtoNumber
|
||||
|
||||
@Serializable
|
||||
data class Oidb0xfc2ReqBody(
|
||||
@ProtoNumber(1) var msgCmd: Int? = null,
|
||||
@ProtoNumber(3) var msgBusType: Int? = null,
|
||||
@ProtoNumber(4) var msgChannelInfo: Oidb0xfc2ChannelInfo? = null,
|
||||
@ProtoNumber(5) var msgTerminalType: Int? = null,
|
||||
//@ProtoNumber(100) var msg_apply_upload_req: Any? = null,
|
||||
//@ProtoNumber(200) var msg_upload_completed_req: Any? = null,
|
||||
@ProtoNumber(300) var msgApplyDownloadReq: Oidb0xfc2MsgApplyDownloadReq? = null,
|
||||
//@ProtoNumber(400) var msg_apply_preview_req: Any? = null,
|
||||
//@ProtoNumber(500) var msg_apply_security_strike_req: Any? = null,
|
||||
)
|
||||
|
||||
@Serializable
|
||||
data class Oidb0xfc2RspBody(
|
||||
@ProtoNumber(1) var msgCmd: Int? = null,
|
||||
@ProtoNumber(5) var msgBusType: Int? = null,
|
||||
//@ProtoNumber(110) var msg_apply_upload_rsp: Any? = null,
|
||||
//@ProtoNumber(210) var msg_upload_completed_rsp: Any? = null,
|
||||
@ProtoNumber(310) var msgApplyDownloadRsp: Oidb0xfc2MsgApplyDownloadRsp? = null,
|
||||
//@ProtoNumber(410) var msg_apply_preview_rsp: Any? = null,
|
||||
//@ProtoNumber(510) var msg_apply_security_strike_rsp: Any? = null,
|
||||
)
|
||||
|
||||
@Serializable
|
||||
data class Oidb0xfc2MsgApplyDownloadRsp(
|
||||
@ProtoNumber(1) var msgDownloadInfo: Oidb0xfc2MsgDownloadInfo? = null,
|
||||
//@ProtoNumber(2) var msgFileInfo: Any? = null,
|
||||
//@ProtoNumber(3) var msgChacha20Param: Any? = null,
|
||||
//@ProtoNumber(4) var useEncrypt: UInt = UInt.MIN_VALUE,
|
||||
)
|
||||
|
||||
@Serializable
|
||||
data class Oidb0xfc2MsgDownloadInfo(
|
||||
@ProtoNumber(1) var downloadKey: ByteArray? = null,
|
||||
//@ProtoNumber(2) var msg_out_addr: Any? = null,
|
||||
//@ProtoNumber(3) var msg_inner_addr: Any? = null,
|
||||
//@ProtoNumber(4) var msg_out_addr_ipv6: Any? = null,
|
||||
@ProtoNumber(5) var downloadDomain: String? = null,
|
||||
@ProtoNumber(6) var downloadUrl: String? = null,
|
||||
//@ProtoNumber(7) var str_cookie: Any? = null,
|
||||
)
|
||||
|
||||
@Serializable
|
||||
data class Oidb0xfc2MsgApplyDownloadReq(
|
||||
@ProtoNumber(1) val fieldId: String,
|
||||
@ProtoNumber(2) val supportEncrypt: Int,
|
||||
)
|
||||
|
||||
@Serializable
|
||||
data class Oidb0xfc2ChannelInfo(
|
||||
@ProtoNumber(3) val guildId: ULong,
|
||||
@ProtoNumber(4) val channelId: ULong,
|
||||
)
|
99
protobuf/src/main/java/protobuf/oidb/cmx0xf57/Oidb0xf57.kt
Normal file
99
protobuf/src/main/java/protobuf/oidb/cmx0xf57/Oidb0xf57.kt
Normal file
@ -0,0 +1,99 @@
|
||||
@file:OptIn(ExperimentalSerializationApi::class)
|
||||
|
||||
package protobuf.oidb.cmx0xf57
|
||||
|
||||
import kotlinx.serialization.ExperimentalSerializationApi
|
||||
import kotlinx.serialization.Serializable
|
||||
import kotlinx.serialization.protobuf.ProtoNumber
|
||||
|
||||
@Serializable
|
||||
data class Oidb0xf57Req(
|
||||
@ProtoNumber(1) val filter: Oidb0xf57Filter,
|
||||
@ProtoNumber(2) val guildInfo: Oidb0xf57GuildInfo,
|
||||
)
|
||||
|
||||
@Serializable
|
||||
data class Oidb0xf57Rsp(
|
||||
@ProtoNumber(1) val metaInfo: Oidb0xf57MetaInfo,
|
||||
)
|
||||
|
||||
@Serializable
|
||||
data class Oidb0xf57MetaInfo(
|
||||
@ProtoNumber(3) val guildId: ULong = ULong.MIN_VALUE,
|
||||
@ProtoNumber(4) val meta: Oidb0xf57Meta? = null,
|
||||
)
|
||||
|
||||
@Serializable
|
||||
data class Oidb0xf57Meta(
|
||||
@ProtoNumber(2) val guildCode: ULong = ULong.MIN_VALUE,
|
||||
@ProtoNumber(4) val createTime: Long = Long.MIN_VALUE,
|
||||
@ProtoNumber(5) val maxMemberCount: Long = Long.MIN_VALUE,
|
||||
@ProtoNumber(6) val memberCount: Long = Long.MIN_VALUE,
|
||||
@ProtoNumber(8) val name: String? = null,
|
||||
@ProtoNumber(11) val robotMaxNum: Int = Int.MIN_VALUE,
|
||||
@ProtoNumber(12) val adminMaxNum: Int = Int.MIN_VALUE,
|
||||
@ProtoNumber(13) val profile: String? = null,
|
||||
@ProtoNumber(14) val avatarSeq: Long = Long.MIN_VALUE,
|
||||
@ProtoNumber(18) val ownerId: ULong = ULong.MIN_VALUE,
|
||||
@ProtoNumber(19) val coverSeq: Long = Long.MIN_VALUE,
|
||||
@ProtoNumber(20) val clientId: Int = Int.MIN_VALUE,
|
||||
@ProtoNumber(27) val displayId: String? = null,
|
||||
)
|
||||
|
||||
@Serializable
|
||||
data class Oidb0xf57GuildInfo(
|
||||
@ProtoNumber(1) val guildId: ULong = ULong.MIN_VALUE
|
||||
)
|
||||
|
||||
@Serializable
|
||||
data class Oidb0xf57Filter(
|
||||
@ProtoNumber(1) val u1: Oidb0xf57U1,
|
||||
@ProtoNumber(2) val u2: Oidb0xf57U2,
|
||||
)
|
||||
|
||||
@Serializable
|
||||
data class Oidb0xf57U1(
|
||||
@ProtoNumber(2) val u1: UInt = UInt.MIN_VALUE,
|
||||
@ProtoNumber(4) val u2: UInt = UInt.MIN_VALUE,
|
||||
@ProtoNumber(5) val u3: UInt = UInt.MIN_VALUE,
|
||||
@ProtoNumber(6) val u4: UInt = UInt.MIN_VALUE,
|
||||
@ProtoNumber(7) val u5: UInt = UInt.MIN_VALUE,
|
||||
@ProtoNumber(8) val u6: UInt = UInt.MIN_VALUE,
|
||||
@ProtoNumber(11) val u7: UInt = UInt.MIN_VALUE,
|
||||
@ProtoNumber(12) val u8: UInt = UInt.MIN_VALUE,
|
||||
@ProtoNumber(13) val u9: UInt = UInt.MIN_VALUE,
|
||||
@ProtoNumber(14) val u10: UInt = UInt.MIN_VALUE,
|
||||
@ProtoNumber(45) val u11: UInt = UInt.MIN_VALUE,
|
||||
@ProtoNumber(18) val u12: UInt = UInt.MIN_VALUE,
|
||||
@ProtoNumber(19) val u13: UInt = UInt.MIN_VALUE,
|
||||
@ProtoNumber(20) val u14: UInt = UInt.MIN_VALUE,
|
||||
@ProtoNumber(22) val u15: UInt = UInt.MIN_VALUE,
|
||||
@ProtoNumber(23) val u16: UInt = UInt.MIN_VALUE,
|
||||
@ProtoNumber(5002) val u17: UInt = UInt.MIN_VALUE,
|
||||
@ProtoNumber(5003) val u18: UInt = UInt.MIN_VALUE,
|
||||
@ProtoNumber(5004) val u19: UInt = UInt.MIN_VALUE,
|
||||
@ProtoNumber(5005) val u20: UInt = UInt.MIN_VALUE,
|
||||
@ProtoNumber(5006) val u23: UInt = UInt.MIN_VALUE,
|
||||
@ProtoNumber(10007) val u21: UInt = UInt.MIN_VALUE,
|
||||
@ProtoNumber(15) val u22: UInt = UInt.MIN_VALUE,
|
||||
@ProtoNumber(30001) val u24: UInt = UInt.MIN_VALUE,
|
||||
)
|
||||
|
||||
@Serializable
|
||||
data class Oidb0xf57U2(
|
||||
@ProtoNumber(3) val u1: UInt = UInt.MIN_VALUE,
|
||||
@ProtoNumber(4) val u2: UInt = UInt.MIN_VALUE,
|
||||
@ProtoNumber(6) val u3: UInt = UInt.MIN_VALUE,
|
||||
@ProtoNumber(11) val u4: UInt = UInt.MIN_VALUE,
|
||||
@ProtoNumber(14) val u5: UInt = UInt.MIN_VALUE,
|
||||
@ProtoNumber(15) val u6: UInt = UInt.MIN_VALUE,
|
||||
@ProtoNumber(16) val u7: UInt = UInt.MIN_VALUE,
|
||||
@ProtoNumber(17) val u8: UInt = UInt.MIN_VALUE,
|
||||
@ProtoNumber(32) val u9: UInt = UInt.MIN_VALUE,
|
||||
@ProtoNumber(31) val u10: UInt = UInt.MIN_VALUE,
|
||||
@ProtoNumber(29) val u11: UInt = UInt.MIN_VALUE,
|
||||
@ProtoNumber(26) val u12: UInt = UInt.MIN_VALUE,
|
||||
@ProtoNumber(23) val u13: UInt = UInt.MIN_VALUE,
|
||||
@ProtoNumber(22) val u14: UInt = UInt.MIN_VALUE,
|
||||
@ProtoNumber(18) val u15: UInt = UInt.MIN_VALUE,
|
||||
)
|
@ -1,4 +1,4 @@
|
||||
package moe.whitechi73.protobuf.push
|
||||
package protobuf.push
|
||||
|
||||
import kotlinx.serialization.Serializable
|
||||
import kotlinx.serialization.protobuf.ProtoNumber
|
@ -1,4 +1,4 @@
|
||||
package moe.whitechi73.protobuf.push
|
||||
package protobuf.push
|
||||
|
||||
import kotlinx.serialization.Serializable
|
||||
import kotlinx.serialization.protobuf.ProtoNumber
|
@ -1,4 +1,4 @@
|
||||
package moe.whitechi73.protobuf.push
|
||||
package protobuf.push
|
||||
|
||||
import kotlinx.serialization.Serializable
|
||||
import kotlinx.serialization.protobuf.ProtoNumber
|
@ -1,4 +1,4 @@
|
||||
package moe.whitechi73.protobuf.push
|
||||
package protobuf.push
|
||||
|
||||
import kotlinx.serialization.Serializable
|
||||
import kotlinx.serialization.protobuf.ProtoNumber
|
@ -1,4 +1,4 @@
|
||||
package moe.whitechi73.protobuf.push
|
||||
package protobuf.push
|
||||
|
||||
import kotlinx.serialization.Serializable
|
||||
import kotlinx.serialization.protobuf.ProtoNumber
|
@ -1,4 +1,4 @@
|
||||
package moe.whitechi73.protobuf.push
|
||||
package protobuf.push
|
||||
|
||||
import kotlinx.serialization.Serializable
|
||||
import kotlinx.serialization.protobuf.ProtoNumber
|
@ -1,4 +1,4 @@
|
||||
package moe.whitechi73.protobuf.push
|
||||
package protobuf.push
|
||||
|
||||
import kotlinx.serialization.Serializable
|
||||
import kotlinx.serialization.protobuf.ProtoNumber
|
@ -1,4 +1,4 @@
|
||||
package moe.whitechi73.protobuf.push
|
||||
package protobuf.push
|
||||
|
||||
import kotlinx.serialization.Serializable
|
||||
import kotlinx.serialization.protobuf.ProtoNumber
|
@ -1,4 +1,4 @@
|
||||
package moe.whitechi73.protobuf.push
|
||||
package protobuf.push
|
||||
|
||||
import kotlinx.serialization.Serializable
|
||||
import kotlinx.serialization.protobuf.ProtoNumber
|
@ -1,4 +1,4 @@
|
||||
package moe.whitechi73.protobuf.push
|
||||
package protobuf.push
|
||||
|
||||
import kotlinx.serialization.Serializable
|
||||
import kotlinx.serialization.protobuf.ProtoNumber
|
@ -1,4 +1,4 @@
|
||||
package moe.whitechi73.protobuf.push
|
||||
package protobuf.push
|
||||
|
||||
import kotlinx.serialization.Serializable
|
||||
import kotlinx.serialization.protobuf.ProtoNumber
|
@ -1,4 +1,4 @@
|
||||
package moe.whitechi73.protobuf.push
|
||||
package protobuf.push
|
||||
|
||||
import kotlinx.serialization.Serializable
|
||||
import kotlinx.serialization.protobuf.ProtoNumber
|
@ -1,4 +1,4 @@
|
||||
package moe.whitechi73.protobuf.push
|
||||
package protobuf.push
|
||||
|
||||
import kotlinx.serialization.Serializable
|
||||
import kotlinx.serialization.protobuf.ProtoNumber
|
@ -1,4 +1,4 @@
|
||||
package moe.whitechi73.protobuf.push
|
||||
package protobuf.push
|
||||
|
||||
import kotlinx.serialization.Serializable
|
||||
import kotlinx.serialization.protobuf.ProtoNumber
|
@ -1,8 +1,8 @@
|
||||
package moe.whitechi73.protobuf.push
|
||||
package protobuf.push
|
||||
|
||||
import kotlinx.serialization.Serializable
|
||||
import kotlinx.serialization.protobuf.ProtoNumber
|
||||
import moe.whitechi73.protobuf.message.MessageBody
|
||||
import protobuf.message.MessageBody
|
||||
|
||||
@Serializable
|
||||
data class MessagePush(
|
37
protobuf/src/main/java/protobuf/qweb/QWeb.kt
Normal file
37
protobuf/src/main/java/protobuf/qweb/QWeb.kt
Normal file
@ -0,0 +1,37 @@
|
||||
@file:OptIn(ExperimentalSerializationApi::class)
|
||||
|
||||
package protobuf.qweb
|
||||
|
||||
import kotlinx.serialization.ExperimentalSerializationApi
|
||||
import kotlinx.serialization.Serializable
|
||||
import kotlinx.serialization.protobuf.ProtoNumber
|
||||
|
||||
@Serializable
|
||||
data class QWebReq(
|
||||
@ProtoNumber(1) val seq: Int = 0,
|
||||
@ProtoNumber(2) val qua: String = "",
|
||||
@ProtoNumber(3) val deviceInfo: String = "",
|
||||
@ProtoNumber(4) val buffer: ByteArray? = null,
|
||||
@ProtoNumber(5) val traceId: String = "",
|
||||
@ProtoNumber(6) val module: String = "",
|
||||
@ProtoNumber(7) var cmdname: String? = null,
|
||||
//@ProtoNumber(8) var loginSig: Any? = null,
|
||||
//@ProtoNumber(9) var Crypto: Any? = null,
|
||||
@ProtoNumber(10) var extinfo: List<QWebExtInfo>? = null,
|
||||
//@ProtoNumber(11) var contentType: Any? = null,
|
||||
)
|
||||
|
||||
@Serializable
|
||||
data class QWebExtInfo(
|
||||
@ProtoNumber(1) val key: String,
|
||||
@ProtoNumber(2) val value: String,
|
||||
)
|
||||
|
||||
@Serializable
|
||||
data class QWebRsp(
|
||||
@ProtoNumber(1) var seq: Int? = null,
|
||||
//@ProtoNumber(2) var retCode: Int? = null,
|
||||
//@ProtoNumber(3) var errMsg: String? = null,
|
||||
@ProtoNumber(4) var buffer: ByteArray? = null,
|
||||
//@ProtoNumber(5) var Extinfo: List<QWebExtInfo>? = null,
|
||||
)
|
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,15 @@
|
||||
package com.tencent.mobileqq.qqguildsdk.api;
|
||||
|
||||
import com.tencent.mobileqq.qroute.QRouteApi;
|
||||
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
import kotlin.Metadata;
|
||||
|
||||
public interface IQQGuildUtilApi extends QRouteApi {
|
||||
@NotNull
|
||||
String getAvatarUrl(@Nullable String str, long j2, int i2);
|
||||
|
||||
boolean isUserOnLine();
|
||||
}
|
@ -0,0 +1,4 @@
|
||||
package com.tencent.mobileqq.qqguildsdk.data;
|
||||
|
||||
public class AddGuildOption {
|
||||
}
|
@ -0,0 +1,28 @@
|
||||
package com.tencent.mobileqq.qqguildsdk.data;
|
||||
|
||||
import com.tencent.mobileqq.qqguildsdk.data.genc.GGProAVDevOptInfo;
|
||||
import com.tencent.mobileqq.qqguildsdk.data.genc.IGProAVDevOptInfo;
|
||||
import com.tencent.qqnt.kernel.nativeinterface.GProAVRoomAddUpInfo;
|
||||
|
||||
public class GGProAVRoomAddUpInfo implements IGProAVRoomAddUpInfo {
|
||||
public final GProAVRoomAddUpInfo mInfo;
|
||||
|
||||
public GGProAVRoomAddUpInfo(GProAVRoomAddUpInfo gProAVRoomAddUpInfo) {
|
||||
this.mInfo = gProAVRoomAddUpInfo;
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProAVRoomAddUpInfo
|
||||
public IGProAVDevOptInfo getAVDevOpt() {
|
||||
return new GGProAVDevOptInfo(this.mInfo.getAvDevOpt());
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProAVRoomAddUpInfo
|
||||
public int getMicVolume() {
|
||||
return this.mInfo.getMicVolume();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProAVRoomAddUpInfo
|
||||
public String getRoomId() {
|
||||
return this.mInfo.getRoomId();
|
||||
}
|
||||
}
|
@ -0,0 +1,47 @@
|
||||
package com.tencent.mobileqq.qqguildsdk.data;
|
||||
|
||||
import com.tencent.qqnt.kernel.nativeinterface.GProAVRoomOptPushInfo;
|
||||
|
||||
|
||||
public class GGProAVRoomOptPushInfo implements IGProAVRoomOptPushInfo {
|
||||
public final GProAVRoomOptPushInfo mInfo;
|
||||
|
||||
public GGProAVRoomOptPushInfo(GProAVRoomOptPushInfo gProAVRoomOptPushInfo) {
|
||||
this.mInfo = gProAVRoomOptPushInfo;
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProAVRoomOptPushInfo
|
||||
public String getChannelId() {
|
||||
return String.valueOf(this.mInfo.getChannelId());
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProAVRoomOptPushInfo
|
||||
public String getDelRoomId() {
|
||||
return this.mInfo.getDelRoomId();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProAVRoomOptPushInfo
|
||||
public String getGuildId() {
|
||||
return String.valueOf(this.mInfo.getGuildId());
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProAVRoomOptPushInfo
|
||||
public int getOptType() {
|
||||
return this.mInfo.getOptType();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProAVRoomOptPushInfo
|
||||
public IGProAVRoomAddUpInfo getRoomAddUpInfo() {
|
||||
return new GGProAVRoomAddUpInfo(this.mInfo.getRoomAddUpInfo());
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProAVRoomOptPushInfo
|
||||
public IGProAVShowMsgInfo getShowInfo() {
|
||||
return new GGProAVShowMsgInfo(this.mInfo.getShowInfo());
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProAVRoomOptPushInfo
|
||||
public String getSwitchRoomId() {
|
||||
return this.mInfo.getSwitchRoomId();
|
||||
}
|
||||
}
|
@ -0,0 +1,33 @@
|
||||
package com.tencent.mobileqq.qqguildsdk.data;
|
||||
|
||||
import com.tencent.qqnt.kernel.nativeinterface.GProAVShowMsgInfo;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
public class GGProAVShowMsgInfo implements IGProAVShowMsgInfo {
|
||||
public final GProAVShowMsgInfo mInfo;
|
||||
|
||||
public GGProAVShowMsgInfo(GProAVShowMsgInfo gProAVShowMsgInfo) {
|
||||
this.mInfo = gProAVShowMsgInfo;
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProAVShowMsgInfo
|
||||
public ArrayList<String> getButtonMsgs() {
|
||||
return this.mInfo.getButtonMsgs();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProAVShowMsgInfo
|
||||
public String getShowMsg() {
|
||||
return this.mInfo.getShowMsg();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProAVShowMsgInfo
|
||||
public int getShowSeconds() {
|
||||
return this.mInfo.getShowSeconds();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProAVShowMsgInfo
|
||||
public int getShowType() {
|
||||
return this.mInfo.getShowType();
|
||||
}
|
||||
}
|
@ -0,0 +1,42 @@
|
||||
package com.tencent.mobileqq.qqguildsdk.data;
|
||||
|
||||
import com.tencent.qqnt.kernel.nativeinterface.GProAVUserStateChangeInfo;
|
||||
|
||||
|
||||
public class GGProAVUserStateChangeInfo implements IGProAVUserStateChangeInfo {
|
||||
public final GProAVUserStateChangeInfo mInfo;
|
||||
|
||||
public GGProAVUserStateChangeInfo(GProAVUserStateChangeInfo gProAVUserStateChangeInfo) {
|
||||
this.mInfo = gProAVUserStateChangeInfo;
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProAVUserStateChangeInfo
|
||||
public String getChannelId() {
|
||||
return String.valueOf(this.mInfo.getChannelId());
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProAVUserStateChangeInfo
|
||||
public String getGuildId() {
|
||||
return String.valueOf(this.mInfo.getGuildId());
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProAVUserStateChangeInfo
|
||||
public IGProAVShowMsgInfo getIGProAVShowMsgInfo() {
|
||||
return new GGProAVShowMsgInfo(this.mInfo.getShowInfo());
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProAVUserStateChangeInfo
|
||||
public String getMsg() {
|
||||
return this.mInfo.getMsg();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProAVUserStateChangeInfo
|
||||
public long getTinyId() {
|
||||
return this.mInfo.getTinyId();
|
||||
}
|
||||
|
||||
//@Override // com.tencent.mobileqq.qqguildsdk.data.IGProAVUserStateChangeInfo
|
||||
//public ej getUserCtlInfo() {
|
||||
// return new q(this.mInfo.getUserCtlInfo());
|
||||
//}
|
||||
}
|
@ -0,0 +1,32 @@
|
||||
package com.tencent.mobileqq.qqguildsdk.data;
|
||||
|
||||
import com.tencent.qqnt.kernel.nativeinterface.GProDailyRecommendPush;
|
||||
|
||||
|
||||
public class GGProDailyRecommendPush implements IGProDailyRecommendPush {
|
||||
public final GProDailyRecommendPush mInfo;
|
||||
|
||||
public GGProDailyRecommendPush(GProDailyRecommendPush gProDailyRecommendPush) {
|
||||
this.mInfo = gProDailyRecommendPush;
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProDailyRecommendPush
|
||||
public String getAvatar() {
|
||||
return this.mInfo.getAvatar();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProDailyRecommendPush
|
||||
public String getJumpLink() {
|
||||
return this.mInfo.getJumpLink();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProDailyRecommendPush
|
||||
public String getSubTitle() {
|
||||
return this.mInfo.getSubTitle();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProDailyRecommendPush
|
||||
public String getTitle() {
|
||||
return this.mInfo.getTitle();
|
||||
}
|
||||
}
|
@ -0,0 +1,34 @@
|
||||
package com.tencent.mobileqq.qqguildsdk.data;
|
||||
|
||||
import com.tencent.mobileqq.qqguildsdk.data.genc.GGProGetPrefetchRecommendGuildsRsp;
|
||||
import com.tencent.mobileqq.qqguildsdk.data.genc.IGProGetPrefetchRecommendGuildsRsp;
|
||||
import com.tencent.qqnt.kernel.nativeinterface.GProDiscoveryStateChangedMsg;
|
||||
|
||||
|
||||
public class GGProDiscoveryStateChangedMsg implements IGProDiscoveryStateChangedMsg {
|
||||
public final GProDiscoveryStateChangedMsg mInfo;
|
||||
|
||||
public GGProDiscoveryStateChangedMsg(GProDiscoveryStateChangedMsg gProDiscoveryStateChangedMsg) {
|
||||
this.mInfo = gProDiscoveryStateChangedMsg;
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProDiscoveryStateChangedMsg
|
||||
public IGProMyRecommendMsg getMyRecommendMsg() {
|
||||
return new GGProMyRecommendMsg(this.mInfo.getMyRecommendMsg());
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProDiscoveryStateChangedMsg
|
||||
public IGProGetPrefetchRecommendGuildsRsp getPrefetchRecommendMsg() {
|
||||
return new GGProGetPrefetchRecommendGuildsRsp(this.mInfo.getPrefetchRecommendMsg());
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProDiscoveryStateChangedMsg
|
||||
public int getSceneType() {
|
||||
return this.mInfo.getSceneType();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProDiscoveryStateChangedMsg
|
||||
public IGProTopGuildRecommendMsg getTopGuildRecommendMsg() {
|
||||
return new GGProTopGuildRecommendMsg(this.mInfo.getTopGuildRecommendMsg());
|
||||
}
|
||||
}
|
@ -0,0 +1,36 @@
|
||||
package com.tencent.mobileqq.qqguildsdk.data;
|
||||
|
||||
import com.tencent.qqnt.kernel.nativeinterface.GProFeedSummary;
|
||||
import com.tencent.qqnt.kernel.nativeinterface.GProFeedThumbnail;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Iterator;
|
||||
|
||||
public class GGProFeedSummary implements IGProFeedSummary {
|
||||
public final GProFeedSummary mInfo;
|
||||
|
||||
public GGProFeedSummary(GProFeedSummary gProFeedSummary) {
|
||||
this.mInfo = gProFeedSummary;
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProFeedSummary
|
||||
public String getFeedId() {
|
||||
return this.mInfo.getFeedId();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProFeedSummary
|
||||
public ArrayList<IGProFeedThumbnail> getFeedThumbnails() {
|
||||
ArrayList<GProFeedThumbnail> feedThumbnails = this.mInfo.getFeedThumbnails();
|
||||
ArrayList<IGProFeedThumbnail> arrayList = new ArrayList<>();
|
||||
Iterator<GProFeedThumbnail> it = feedThumbnails.iterator();
|
||||
while (it.hasNext()) {
|
||||
arrayList.add(new GGProFeedThumbnail(it.next()));
|
||||
}
|
||||
return arrayList;
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProFeedSummary
|
||||
public String getTitle() {
|
||||
return this.mInfo.getTitle();
|
||||
}
|
||||
}
|
@ -0,0 +1,21 @@
|
||||
package com.tencent.mobileqq.qqguildsdk.data;
|
||||
|
||||
import com.tencent.qqnt.kernel.nativeinterface.GProFeedThumbnail;
|
||||
|
||||
public class GGProFeedThumbnail implements IGProFeedThumbnail {
|
||||
public final GProFeedThumbnail mInfo;
|
||||
|
||||
public GGProFeedThumbnail(GProFeedThumbnail gProFeedThumbnail) {
|
||||
this.mInfo = gProFeedThumbnail;
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProFeedThumbnail
|
||||
public boolean getIsVideoCover() {
|
||||
return this.mInfo.getIsVideoCover();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProFeedThumbnail
|
||||
public String getUrl() {
|
||||
return this.mInfo.getUrl();
|
||||
}
|
||||
}
|
@ -0,0 +1,66 @@
|
||||
package com.tencent.mobileqq.qqguildsdk.data;
|
||||
|
||||
import com.tencent.qqnt.kernel.nativeinterface.GProGiftInfo;
|
||||
|
||||
public class GGProGiftInfo implements IGProGiftInfo {
|
||||
public final GProGiftInfo mInfo;
|
||||
|
||||
public GGProGiftInfo(GProGiftInfo gProGiftInfo) {
|
||||
this.mInfo = gProGiftInfo;
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProGiftInfo
|
||||
public int getAllComboCnt() {
|
||||
return this.mInfo.getAllComboCnt();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProGiftInfo
|
||||
public boolean getComboOver() {
|
||||
return this.mInfo.getComboOver();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProGiftInfo
|
||||
public long getComboSeq() {
|
||||
return this.mInfo.getComboSeq();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProGiftInfo
|
||||
public int getEffectLevel() {
|
||||
return this.mInfo.getEffectLevel();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProGiftInfo
|
||||
public int getGiftId() {
|
||||
return this.mInfo.getGiftId();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProGiftInfo
|
||||
public String getGiftName() {
|
||||
return this.mInfo.getGiftName();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProGiftInfo
|
||||
public int getGiftNum() {
|
||||
return this.mInfo.getGiftNum();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProGiftInfo
|
||||
public long getGiftPrice() {
|
||||
return this.mInfo.getGiftPrice();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProGiftInfo
|
||||
public int getGiftType() {
|
||||
return this.mInfo.getGiftType();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProGiftInfo
|
||||
public int getMaterialId() {
|
||||
return this.mInfo.getMaterialId();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProGiftInfo
|
||||
public int getSendType() {
|
||||
return this.mInfo.getSendType();
|
||||
}
|
||||
}
|
@ -0,0 +1,58 @@
|
||||
package com.tencent.mobileqq.qqguildsdk.data;
|
||||
|
||||
import com.tencent.mobileqq.qqguildsdk.data.genc.GGProRecommendGuildInfo;
|
||||
import com.tencent.mobileqq.qqguildsdk.data.genc.IGProRecommendGuildInfo;
|
||||
import com.tencent.qqnt.kernel.nativeinterface.GProGuildData;
|
||||
import com.tencent.qqnt.kernel.nativeinterface.GProPollingData;
|
||||
import com.tencent.qqnt.kernel.nativeinterface.GProRecommendCategoryInfo;
|
||||
import com.tencent.qqnt.kernel.nativeinterface.GProRecommendChannelExtendInfo;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Iterator;
|
||||
|
||||
|
||||
public class GGProGuildData implements IGProGuildData {
|
||||
public final GProGuildData mInfo;
|
||||
|
||||
public GGProGuildData(GProGuildData gProGuildData) {
|
||||
this.mInfo = gProGuildData;
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProGuildData
|
||||
public ArrayList<IGProRecommendCategoryInfo> getCategoryList() {
|
||||
ArrayList<GProRecommendCategoryInfo> categoryList = this.mInfo.getCategoryList();
|
||||
ArrayList<IGProRecommendCategoryInfo> arrayList = new ArrayList<>();
|
||||
Iterator<GProRecommendCategoryInfo> it = categoryList.iterator();
|
||||
while (it.hasNext()) {
|
||||
arrayList.add(new GGProRecommendCategoryInfo(it.next()));
|
||||
}
|
||||
return arrayList;
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProGuildData
|
||||
public ArrayList<IGProRecommendChannelExtendInfo> getChannelExtendInfo() {
|
||||
ArrayList<GProRecommendChannelExtendInfo> channelExtendInfo = this.mInfo.getChannelExtendInfo();
|
||||
ArrayList<IGProRecommendChannelExtendInfo> arrayList = new ArrayList<>();
|
||||
Iterator<GProRecommendChannelExtendInfo> it = channelExtendInfo.iterator();
|
||||
while (it.hasNext()) {
|
||||
arrayList.add(new GGProRecommendChannelExtendInfo(it.next()));
|
||||
}
|
||||
return arrayList;
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProGuildData
|
||||
public ArrayList<IGProPollingData> getDatas() {
|
||||
ArrayList<GProPollingData> dataList = this.mInfo.getDataList();
|
||||
ArrayList<IGProPollingData> arrayList = new ArrayList<>();
|
||||
Iterator<GProPollingData> it = dataList.iterator();
|
||||
while (it.hasNext()) {
|
||||
arrayList.add(new GGProPollingData(it.next()));
|
||||
}
|
||||
return arrayList;
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProGuildData
|
||||
public IGProRecommendGuildInfo getGuildInfo() {
|
||||
return new GGProRecommendGuildInfo(this.mInfo.getGuildInfo());
|
||||
}
|
||||
}
|
@ -0,0 +1,49 @@
|
||||
package com.tencent.mobileqq.qqguildsdk.data;
|
||||
|
||||
import com.tencent.mobileqq.qqguildsdk.data.genc.GGProAVChannelConfig;
|
||||
import com.tencent.mobileqq.qqguildsdk.data.genc.IGProAVChannelConfig;
|
||||
import com.tencent.qqnt.kernel.nativeinterface.GProHeartbeatRsq;
|
||||
|
||||
|
||||
public class GGProHeartbeatRsq implements IGProHeartbeatRsq {
|
||||
public final GProHeartbeatRsq mInfo;
|
||||
|
||||
public GGProHeartbeatRsq(GProHeartbeatRsq gProHeartbeatRsq) {
|
||||
this.mInfo = gProHeartbeatRsq;
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProHeartbeatRsq
|
||||
public IGProAVChannelConfig getAVChannelConfig() {
|
||||
return new GGProAVChannelConfig(this.mInfo.getAvChannelConfig());
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProHeartbeatRsq
|
||||
public long getChannelId() {
|
||||
return this.mInfo.getChannelId();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProHeartbeatRsq
|
||||
public int getForceExit() {
|
||||
return this.mInfo.getForceExit();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProHeartbeatRsq
|
||||
public long getGuildId() {
|
||||
return this.mInfo.getGuildId();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProHeartbeatRsq
|
||||
public long getNextHeartBeatInterval() {
|
||||
return this.mInfo.getNextHeartBeatInterval();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProHeartbeatRsq
|
||||
public long getNoStreamDisconnectTrtcSecond() {
|
||||
return this.mInfo.getNoStreamDisconnectTrtcSecond();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProHeartbeatRsq
|
||||
public String getShowTips() {
|
||||
return this.mInfo.getShowTips();
|
||||
}
|
||||
}
|
@ -0,0 +1,33 @@
|
||||
package com.tencent.mobileqq.qqguildsdk.data;
|
||||
|
||||
import com.tencent.mobileqq.qqguildsdk.data.genc.GGProLiveRoomInfo;
|
||||
import com.tencent.mobileqq.qqguildsdk.data.genc.IGProLiveRoomInfo;
|
||||
import com.tencent.qqnt.kernel.nativeinterface.GProLiveResultItem;
|
||||
import com.tencent.qqnt.kernel.nativeinterface.MsgAbstract;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Iterator;
|
||||
|
||||
public class GGProLiveResultItem implements IGProLiveResultItem {
|
||||
public final GProLiveResultItem mInfo;
|
||||
|
||||
public GGProLiveResultItem(GProLiveResultItem gProLiveResultItem) {
|
||||
this.mInfo = gProLiveResultItem;
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProLiveResultItem
|
||||
public IGProLiveRoomInfo getLiveChannel() {
|
||||
return new GGProLiveRoomInfo(this.mInfo.getLiveChannel());
|
||||
}
|
||||
|
||||
//@Override // com.tencent.mobileqq.qqguildsdk.data.IGProLiveResultItem
|
||||
//public ArrayList<ew> getMsgAbstracts() {
|
||||
// ArrayList<MsgAbstract> msgAbstracts = this.mInfo.getMsgAbstracts();
|
||||
// ArrayList<ew> arrayList = new ArrayList<>();
|
||||
// Iterator<MsgAbstract> it = msgAbstracts.iterator();
|
||||
// while (it.hasNext()) {
|
||||
// arrayList.add(new t(it.next()));
|
||||
// }
|
||||
// return arrayList;
|
||||
//}
|
||||
}
|
@ -0,0 +1,31 @@
|
||||
package com.tencent.mobileqq.qqguildsdk.data;
|
||||
|
||||
import com.tencent.qqnt.kernel.nativeinterface.GProMsgSummary;
|
||||
|
||||
public class GGProMsgSummary implements IGProMsgSummary {
|
||||
public final GProMsgSummary mInfo;
|
||||
|
||||
public GGProMsgSummary(GProMsgSummary gProMsgSummary) {
|
||||
this.mInfo = gProMsgSummary;
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProMsgSummary
|
||||
public String getAvatar() {
|
||||
return this.mInfo.getAvatar();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProMsgSummary
|
||||
public long getMsgSeq() {
|
||||
return this.mInfo.getMsgSeq();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProMsgSummary
|
||||
public byte[] getRichText() {
|
||||
return this.mInfo.getRichText();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProMsgSummary
|
||||
public long getTinyId() {
|
||||
return this.mInfo.getTinyId();
|
||||
}
|
||||
}
|
@ -0,0 +1,33 @@
|
||||
package com.tencent.mobileqq.qqguildsdk.data;
|
||||
|
||||
import com.tencent.mobileqq.qqguildsdk.data.genc.GGProDiscoverStatus;
|
||||
import com.tencent.mobileqq.qqguildsdk.data.genc.IGProDiscoverStatus;
|
||||
import com.tencent.qqnt.kernel.nativeinterface.GProMyRecommendMsg;
|
||||
|
||||
public class GGProMyRecommendMsg implements IGProMyRecommendMsg {
|
||||
public final GProMyRecommendMsg mInfo;
|
||||
|
||||
public GGProMyRecommendMsg(GProMyRecommendMsg gProMyRecommendMsg) {
|
||||
this.mInfo = gProMyRecommendMsg;
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProMyRecommendMsg
|
||||
public int getBusinessType() {
|
||||
return this.mInfo.getBusinessType();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProMyRecommendMsg
|
||||
public IGProDiscoverStatus getDiscoverStatus() {
|
||||
return new GGProDiscoverStatus(this.mInfo.getDiscoverStatus());
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProMyRecommendMsg
|
||||
public int getFlag() {
|
||||
return this.mInfo.getFlag();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProMyRecommendMsg
|
||||
public int getPointType() {
|
||||
return this.mInfo.getPointType();
|
||||
}
|
||||
}
|
@ -0,0 +1,74 @@
|
||||
package com.tencent.mobileqq.qqguildsdk.data;
|
||||
|
||||
import com.tencent.qqnt.kernel.nativeinterface.GProPollingData;
|
||||
import com.tencent.qqnt.kernel.nativeinterface.GProStickyChannel;
|
||||
import com.tencent.qqnt.kernel.nativeinterface.MsgAbstract;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Iterator;
|
||||
|
||||
|
||||
public class GGProPollingData implements IGProPollingData {
|
||||
public final GProPollingData mInfo;
|
||||
|
||||
public GGProPollingData(GProPollingData gProPollingData) {
|
||||
this.mInfo = gProPollingData;
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProPollingData
|
||||
public long getChannelId() {
|
||||
return this.mInfo.getChannelId();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProPollingData
|
||||
public byte[] getCookie() {
|
||||
return this.mInfo.getCookie();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProPollingData
|
||||
public boolean getForcePolling() {
|
||||
return this.mInfo.getForcePolling();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProPollingData
|
||||
public long getGuildId() {
|
||||
return this.mInfo.getGuildId();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProPollingData
|
||||
public ArrayList<IGProStickyChannel> getGuildStickyChannelList() {
|
||||
ArrayList<GProStickyChannel> guildStickyChannelList = this.mInfo.getGuildStickyChannelList();
|
||||
ArrayList<IGProStickyChannel> arrayList = new ArrayList<>();
|
||||
Iterator<GProStickyChannel> it = guildStickyChannelList.iterator();
|
||||
while (it.hasNext()) {
|
||||
arrayList.add(new GGProStickyChannel(it.next()));
|
||||
}
|
||||
return arrayList;
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProPollingData
|
||||
public IGProLiveResultItem getLiveResultItem() {
|
||||
return new GGProLiveResultItem(this.mInfo.getLiveResultItem());
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProPollingData
|
||||
public int getType() {
|
||||
return this.mInfo.getType();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProPollingData
|
||||
public long getUpdateTime() {
|
||||
return this.mInfo.getUpdateTime();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProPollingData
|
||||
public long getVersion() {
|
||||
return this.mInfo.getVersion();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProPollingData
|
||||
public IAudioChannelMemberInfos getVoiceChannel() {
|
||||
//return new ChannelMemberInfos(this.mInfo.getVoiceChannel());
|
||||
return null;
|
||||
}
|
||||
}
|
@ -0,0 +1,36 @@
|
||||
package com.tencent.mobileqq.qqguildsdk.data;
|
||||
|
||||
import com.tencent.qqnt.kernel.nativeinterface.GProQueryRecommendGuildInfoRsp;
|
||||
|
||||
public class GGProQueryRecommendGuildInfoRsp implements IGProQueryRecommendGuildInfoRsp {
|
||||
public final GProQueryRecommendGuildInfoRsp mInfo;
|
||||
|
||||
public GGProQueryRecommendGuildInfoRsp(GProQueryRecommendGuildInfoRsp gProQueryRecommendGuildInfoRsp) {
|
||||
this.mInfo = gProQueryRecommendGuildInfoRsp;
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProQueryRecommendGuildInfoRsp
|
||||
public byte[] getCookie() {
|
||||
return this.mInfo.getCookie();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProQueryRecommendGuildInfoRsp
|
||||
public IGProGuildData getGuildData() {
|
||||
return new GGProGuildData(this.mInfo.getGuildData());
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProQueryRecommendGuildInfoRsp
|
||||
public long getNewDefaultChannelId() {
|
||||
return this.mInfo.getNewDefaultChannelId();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProQueryRecommendGuildInfoRsp
|
||||
public long getReqInterval() {
|
||||
return this.mInfo.getReqInterval();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProQueryRecommendGuildInfoRsp
|
||||
public IGProRecommendGuildPersonalSetting getSetting() {
|
||||
return new GGProRecommendGuildPersonalSetting(this.mInfo.getSetting());
|
||||
}
|
||||
}
|
@ -0,0 +1,43 @@
|
||||
package com.tencent.mobileqq.qqguildsdk.data;
|
||||
|
||||
import com.tencent.mobileqq.qqguildsdk.data.genc.GGProChannel;
|
||||
import com.tencent.mobileqq.qqguildsdk.data.genc.IGProChannel;
|
||||
import com.tencent.qqnt.kernel.nativeinterface.GProChannel;
|
||||
import com.tencent.qqnt.kernel.nativeinterface.GProRecommendCategoryInfo;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Iterator;
|
||||
|
||||
public class GGProRecommendCategoryInfo implements IGProRecommendCategoryInfo {
|
||||
public final GProRecommendCategoryInfo mInfo;
|
||||
|
||||
public GGProRecommendCategoryInfo(GProRecommendCategoryInfo gProRecommendCategoryInfo) {
|
||||
this.mInfo = gProRecommendCategoryInfo;
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProRecommendCategoryInfo
|
||||
public long getCategoryId() {
|
||||
return this.mInfo.getCategoryId();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProRecommendCategoryInfo
|
||||
public int getCategoryIndex() {
|
||||
return this.mInfo.getCategoryIndex();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProRecommendCategoryInfo
|
||||
public String getCategoryName() {
|
||||
return this.mInfo.getCategoryName();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProRecommendCategoryInfo
|
||||
public ArrayList<IGProChannel> getChannelInfoList() {
|
||||
ArrayList<GProChannel> channelInfoList = this.mInfo.getChannelInfoList();
|
||||
ArrayList<IGProChannel> arrayList = new ArrayList<>();
|
||||
Iterator<GProChannel> it = channelInfoList.iterator();
|
||||
while (it.hasNext()) {
|
||||
arrayList.add(new GGProChannel(it.next()));
|
||||
}
|
||||
return arrayList;
|
||||
}
|
||||
}
|
@ -0,0 +1,41 @@
|
||||
package com.tencent.mobileqq.qqguildsdk.data;
|
||||
|
||||
import com.tencent.qqnt.kernel.nativeinterface.GProRecommendChannelExtendInfo;
|
||||
|
||||
public class GGProRecommendChannelExtendInfo implements IGProRecommendChannelExtendInfo {
|
||||
public final GProRecommendChannelExtendInfo mInfo;
|
||||
|
||||
public GGProRecommendChannelExtendInfo(GProRecommendChannelExtendInfo gProRecommendChannelExtendInfo) {
|
||||
this.mInfo = gProRecommendChannelExtendInfo;
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProRecommendChannelExtendInfo
|
||||
public int getAreaType() {
|
||||
return this.mInfo.getAreaType();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProRecommendChannelExtendInfo
|
||||
public long getChannelId() {
|
||||
return this.mInfo.getChannelId();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProRecommendChannelExtendInfo
|
||||
public String getChannelLink() {
|
||||
return this.mInfo.getChannelLink();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProRecommendChannelExtendInfo
|
||||
public int getChannelLinkType() {
|
||||
return this.mInfo.getChannelLinkType();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProRecommendChannelExtendInfo
|
||||
public String getGuildFace() {
|
||||
return this.mInfo.getGuildFace();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProRecommendChannelExtendInfo
|
||||
public int getHideVisitorStyle() {
|
||||
return this.mInfo.getHideVisitorStyle();
|
||||
}
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
package com.tencent.mobileqq.qqguildsdk.data;
|
||||
|
||||
import com.tencent.qqnt.kernel.nativeinterface.GProRecommendGuildPersonalSetting;
|
||||
|
||||
|
||||
public class GGProRecommendGuildPersonalSetting implements IGProRecommendGuildPersonalSetting {
|
||||
public final GProRecommendGuildPersonalSetting mInfo;
|
||||
|
||||
public GGProRecommendGuildPersonalSetting(GProRecommendGuildPersonalSetting gProRecommendGuildPersonalSetting) {
|
||||
this.mInfo = gProRecommendGuildPersonalSetting;
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProRecommendGuildPersonalSetting
|
||||
public int getExitOption() {
|
||||
return this.mInfo.getExitOption();
|
||||
}
|
||||
}
|
@ -0,0 +1,44 @@
|
||||
package com.tencent.mobileqq.qqguildsdk.data;
|
||||
|
||||
import com.tencent.mobileqq.qqguildsdk.data.genc.GGProUser;
|
||||
import com.tencent.mobileqq.qqguildsdk.data.genc.IGProUser;
|
||||
import com.tencent.qqnt.kernel.nativeinterface.GProSendGiftEventData;
|
||||
|
||||
|
||||
public class GGProSendGiftEventData implements IGProSendGiftEventData {
|
||||
public final GProSendGiftEventData mInfo;
|
||||
|
||||
public GGProSendGiftEventData(GProSendGiftEventData gProSendGiftEventData) {
|
||||
this.mInfo = gProSendGiftEventData;
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProSendGiftEventData
|
||||
public long getChannelId() {
|
||||
return this.mInfo.getChannelId();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProSendGiftEventData
|
||||
public String getEventId() {
|
||||
return this.mInfo.getEventId();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProSendGiftEventData
|
||||
public IGProGiftInfo getGiftInfo() {
|
||||
return new GGProGiftInfo(this.mInfo.getGiftInfo());
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProSendGiftEventData
|
||||
public long getGuildId() {
|
||||
return this.mInfo.getGuildId();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProSendGiftEventData
|
||||
public IGProUser getReceiverMember() {
|
||||
return new GGProUser(this.mInfo.getReceiverMember());
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProSendGiftEventData
|
||||
public IGProUser getSenderMember() {
|
||||
return new GGProUser(this.mInfo.getSenderMember());
|
||||
}
|
||||
}
|
@ -0,0 +1,60 @@
|
||||
package com.tencent.mobileqq.qqguildsdk.data;
|
||||
|
||||
import com.tencent.mobileqq.qqguildsdk.data.genc.GGProLiveRoomInfo;
|
||||
import com.tencent.mobileqq.qqguildsdk.data.genc.IGProLiveRoomInfo;
|
||||
import com.tencent.qqnt.kernel.nativeinterface.GProStickyChannel;
|
||||
|
||||
|
||||
public class GGProStickyChannel implements IGProStickyChannel {
|
||||
public final GProStickyChannel mInfo;
|
||||
|
||||
public GGProStickyChannel(GProStickyChannel gProStickyChannel) {
|
||||
this.mInfo = gProStickyChannel;
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProStickyChannel
|
||||
public String getChannelId() {
|
||||
return this.mInfo.getChannelId();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProStickyChannel
|
||||
public int getChannelType() {
|
||||
return this.mInfo.getChannelType();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProStickyChannel
|
||||
public long getCreateTime() {
|
||||
return this.mInfo.getCreateTime();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProStickyChannel
|
||||
public IGProStickyFeedChannel getFeedChannel() {
|
||||
return new GGProStickyFeedChannel(this.mInfo.getFeedChannel());
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProStickyChannel
|
||||
public String getGuildId() {
|
||||
return this.mInfo.getGuildId();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProStickyChannel
|
||||
public IGProLiveRoomInfo getLiveChannel() {
|
||||
return new GGProLiveRoomInfo(this.mInfo.getLiveChannel());
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProStickyChannel
|
||||
public IGProStickyTextChannel getTextChannel() {
|
||||
return new GGProStickyTextChannel(this.mInfo.getTextChannel());
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProStickyChannel
|
||||
public long getUpdateTime() {
|
||||
return this.mInfo.getUpdateTime();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProStickyChannel
|
||||
public IAudioChannelMemberInfos getVoiceChannel() {
|
||||
return null;
|
||||
//return new ChannelMemberInfos(this.mInfo.getVoiceChannel());
|
||||
}
|
||||
}
|
@ -0,0 +1,48 @@
|
||||
package com.tencent.mobileqq.qqguildsdk.data;
|
||||
|
||||
import com.tencent.qqnt.kernel.nativeinterface.GProFeedSummary;
|
||||
import com.tencent.qqnt.kernel.nativeinterface.GProStickyFeedChannel;
|
||||
import com.tencent.qqnt.kernel.nativeinterface.GProUser;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Iterator;
|
||||
|
||||
public class GGProStickyFeedChannel implements IGProStickyFeedChannel {
|
||||
public final GProStickyFeedChannel mInfo;
|
||||
|
||||
public GGProStickyFeedChannel(GProStickyFeedChannel gProStickyFeedChannel) {
|
||||
this.mInfo = gProStickyFeedChannel;
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProStickyFeedChannel
|
||||
public String getActiveMemberCount() {
|
||||
return this.mInfo.getActiveMemberCount();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProStickyFeedChannel
|
||||
public ArrayList<IGProUserInfo> getActiveMemberList() {
|
||||
ArrayList<GProUser> activeMemberList = this.mInfo.getActiveMemberList();
|
||||
ArrayList<IGProUserInfo> arrayList = new ArrayList<>();
|
||||
Iterator<GProUser> it = activeMemberList.iterator();
|
||||
while (it.hasNext()) {
|
||||
arrayList.add(new GProUserInfo(it.next()));
|
||||
}
|
||||
return arrayList;
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProStickyFeedChannel
|
||||
public String getFeedCount() {
|
||||
return this.mInfo.getFeedCount();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProStickyFeedChannel
|
||||
public ArrayList<IGProFeedSummary> getFeedSummaryList() {
|
||||
ArrayList<GProFeedSummary> feedSummaryList = this.mInfo.getFeedSummaryList();
|
||||
ArrayList<IGProFeedSummary> arrayList = new ArrayList<>();
|
||||
Iterator<GProFeedSummary> it = feedSummaryList.iterator();
|
||||
while (it.hasNext()) {
|
||||
arrayList.add(new GGProFeedSummary(it.next()));
|
||||
}
|
||||
return arrayList;
|
||||
}
|
||||
}
|
@ -0,0 +1,44 @@
|
||||
package com.tencent.mobileqq.qqguildsdk.data;
|
||||
|
||||
import com.tencent.qqnt.kernel.nativeinterface.GProMsgSummary;
|
||||
import com.tencent.qqnt.kernel.nativeinterface.GProStickyTextChannel;
|
||||
import com.tencent.qqnt.kernel.nativeinterface.GProUser;
|
||||
import com.tencent.qqnt.kernel.nativeinterface.MsgAbstract;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Iterator;
|
||||
|
||||
public class GGProStickyTextChannel implements IGProStickyTextChannel {
|
||||
public final GProStickyTextChannel mInfo;
|
||||
|
||||
public GGProStickyTextChannel(GProStickyTextChannel gProStickyTextChannel) {
|
||||
this.mInfo = gProStickyTextChannel;
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProStickyTextChannel
|
||||
public String getActiveMemberCount() {
|
||||
return this.mInfo.getActiveMemberCount();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProStickyTextChannel
|
||||
public ArrayList<IGProUserInfo> getActiveMemberList() {
|
||||
ArrayList<GProUser> activeMemberList = this.mInfo.getActiveMemberList();
|
||||
ArrayList<IGProUserInfo> arrayList = new ArrayList<>();
|
||||
Iterator<GProUser> it = activeMemberList.iterator();
|
||||
while (it.hasNext()) {
|
||||
arrayList.add(new GProUserInfo(it.next()));
|
||||
}
|
||||
return arrayList;
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProStickyTextChannel
|
||||
public ArrayList<IGProMsgSummary> getMsgList() {
|
||||
ArrayList<GProMsgSummary> msgList = this.mInfo.getMsgList();
|
||||
ArrayList<IGProMsgSummary> arrayList = new ArrayList<>();
|
||||
Iterator<GProMsgSummary> it = msgList.iterator();
|
||||
while (it.hasNext()) {
|
||||
arrayList.add(new GGProMsgSummary(it.next()));
|
||||
}
|
||||
return arrayList;
|
||||
}
|
||||
}
|
@ -0,0 +1,18 @@
|
||||
package com.tencent.mobileqq.qqguildsdk.data;
|
||||
|
||||
import com.tencent.mobileqq.qqguildsdk.data.genc.GGProRecommendItem;
|
||||
import com.tencent.mobileqq.qqguildsdk.data.genc.IGProRecommendItem;
|
||||
import com.tencent.qqnt.kernel.nativeinterface.GProTopGuildRecommendMsg;
|
||||
|
||||
public class GGProTopGuildRecommendMsg implements IGProTopGuildRecommendMsg {
|
||||
public final GProTopGuildRecommendMsg mInfo;
|
||||
|
||||
public GGProTopGuildRecommendMsg(GProTopGuildRecommendMsg gProTopGuildRecommendMsg) {
|
||||
this.mInfo = gProTopGuildRecommendMsg;
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProTopGuildRecommendMsg
|
||||
public IGProRecommendItem getRecommendItem() {
|
||||
return new GGProRecommendItem(this.mInfo.getRecommendItem());
|
||||
}
|
||||
}
|
@ -0,0 +1,44 @@
|
||||
package com.tencent.mobileqq.qqguildsdk.data;
|
||||
|
||||
import com.tencent.mobileqq.qqguildsdk.data.genc.GGProUser;
|
||||
import com.tencent.mobileqq.qqguildsdk.data.genc.IGProUser;
|
||||
import com.tencent.qqnt.kernel.nativeinterface.GProUserGiftRankInfo;
|
||||
|
||||
|
||||
public class GGProUserGiftRankInfo implements IGProUserGiftRankInfo {
|
||||
public final GProUserGiftRankInfo mInfo;
|
||||
|
||||
public GGProUserGiftRankInfo(GProUserGiftRankInfo gProUserGiftRankInfo) {
|
||||
this.mInfo = gProUserGiftRankInfo;
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProUserGiftRankInfo
|
||||
public long getChannelId() {
|
||||
return this.mInfo.getChannelId();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProUserGiftRankInfo
|
||||
public long getGuildId() {
|
||||
return this.mInfo.getGuildId();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProUserGiftRankInfo
|
||||
public String getJumpUrl() {
|
||||
return this.mInfo.getJumpUrl();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProUserGiftRankInfo
|
||||
public String getRankInfo() {
|
||||
return this.mInfo.getRankInfo();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProUserGiftRankInfo
|
||||
public int getTopNum() {
|
||||
return this.mInfo.getTopNum();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProUserGiftRankInfo
|
||||
public IGProUser getUserInfo() {
|
||||
return new GGProUser(this.mInfo.getUserInfo());
|
||||
}
|
||||
}
|
@ -0,0 +1,29 @@
|
||||
package com.tencent.mobileqq.qqguildsdk.data;
|
||||
|
||||
|
||||
public class GGProUserGuideBubble implements IGProUserGuideBubble {
|
||||
@Override
|
||||
public String getIconUrl() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getTitle() {
|
||||
return null;
|
||||
}
|
||||
//public final GProUserGuideBubble mInfo;
|
||||
|
||||
//public GGProUserGuideBubble(GProUserGuideBubble gProUserGuideBubble) {
|
||||
// this.mInfo = gProUserGuideBubble;
|
||||
//}
|
||||
|
||||
//@Override // com.tencent.mobileqq.qqguildsdk.data.IGProUserGuideBubble
|
||||
//public String getIconUrl() {
|
||||
// return this.mInfo.getIconUrl();
|
||||
//}
|
||||
|
||||
//@Override // com.tencent.mobileqq.qqguildsdk.data.IGProUserGuideBubble
|
||||
//public String getTitle() {
|
||||
// return this.mInfo.getTitle();
|
||||
//}
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
package com.tencent.mobileqq.qqguildsdk.data;
|
||||
|
||||
|
||||
public class GGProUserGuideMsg implements IGProUserGuideMsg {
|
||||
|
||||
@Override
|
||||
public IGProUserGuideBubble getBubble() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getScene() {
|
||||
return 0;
|
||||
}
|
||||
}
|
@ -0,0 +1,38 @@
|
||||
package com.tencent.mobileqq.qqguildsdk.data;
|
||||
|
||||
import com.tencent.mobileqq.qqguildsdk.data.genc.GGProVoiceSmobaGameBaseRoomInfo;
|
||||
import com.tencent.mobileqq.qqguildsdk.data.genc.GGProVoiceSmobaGameRoomStateInfo;
|
||||
import com.tencent.mobileqq.qqguildsdk.data.genc.GGProVoiceSmobaGameSmobaRoomInfo;
|
||||
import com.tencent.mobileqq.qqguildsdk.data.genc.IGProVoiceSmobaGameBaseRoomInfo;
|
||||
import com.tencent.mobileqq.qqguildsdk.data.genc.IGProVoiceSmobaGameRoomStateInfo;
|
||||
import com.tencent.mobileqq.qqguildsdk.data.genc.IGProVoiceSmobaGameSmobaRoomInfo;
|
||||
import com.tencent.qqnt.kernel.nativeinterface.GProVoiceSmobaGameRoomManageSysMsg;
|
||||
|
||||
|
||||
public class GGProVoiceSmobaGameRoomManageSysMsg implements IGProVoiceSmobaGameRoomManageSysMsg {
|
||||
public final GProVoiceSmobaGameRoomManageSysMsg mInfo;
|
||||
|
||||
public GGProVoiceSmobaGameRoomManageSysMsg(GProVoiceSmobaGameRoomManageSysMsg gProVoiceSmobaGameRoomManageSysMsg) {
|
||||
this.mInfo = gProVoiceSmobaGameRoomManageSysMsg;
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProVoiceSmobaGameRoomManageSysMsg
|
||||
public int getOperType() {
|
||||
return this.mInfo.getOperType();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProVoiceSmobaGameRoomManageSysMsg
|
||||
public IGProVoiceSmobaGameBaseRoomInfo getRoomInfo() {
|
||||
return new GGProVoiceSmobaGameBaseRoomInfo(this.mInfo.getRoomInfo());
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProVoiceSmobaGameRoomManageSysMsg
|
||||
public IGProVoiceSmobaGameSmobaRoomInfo getSmobaInfo() {
|
||||
return new GGProVoiceSmobaGameSmobaRoomInfo(this.mInfo.getSmobaInfo());
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProVoiceSmobaGameRoomManageSysMsg
|
||||
public IGProVoiceSmobaGameRoomStateInfo getStateInfo() {
|
||||
return new GGProVoiceSmobaGameRoomStateInfo(this.mInfo.getStateInfo());
|
||||
}
|
||||
}
|
@ -0,0 +1,67 @@
|
||||
package com.tencent.mobileqq.qqguildsdk.data;
|
||||
|
||||
import com.tencent.mobileqq.qqguildsdk.data.genc.GGProLobbyMemberInfo;
|
||||
import com.tencent.mobileqq.qqguildsdk.data.genc.GGProMemberInfoInGame;
|
||||
import com.tencent.mobileqq.qqguildsdk.data.genc.GGProRobotStateInfo;
|
||||
import com.tencent.mobileqq.qqguildsdk.data.genc.GGProUserChannelShowState;
|
||||
import com.tencent.mobileqq.qqguildsdk.data.genc.GGProUserListGroupInfo;
|
||||
import com.tencent.mobileqq.qqguildsdk.data.genc.IGProLobbyMemberInfo;
|
||||
import com.tencent.mobileqq.qqguildsdk.data.genc.IGProMemberInfoInGame;
|
||||
import com.tencent.mobileqq.qqguildsdk.data.genc.IGProRobotStateInfo;
|
||||
import com.tencent.mobileqq.qqguildsdk.data.genc.IGProUserChannelShowState;
|
||||
import com.tencent.mobileqq.qqguildsdk.data.genc.IGProUserListGroupInfo;
|
||||
import com.tencent.qqnt.kernel.nativeinterface.GProBusinessInfo;
|
||||
|
||||
/* loaded from: classes33.dex */
|
||||
public class GProBusinessData implements IGProBusinessData {
|
||||
private GProBusinessInfo mBusinessInfo;
|
||||
|
||||
public GProBusinessData(GProBusinessInfo gProBusinessInfo) {
|
||||
this.mBusinessInfo = gProBusinessInfo;
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProBusinessData
|
||||
public IGProLobbyMemberInfo getLobbyMemberInfo() {
|
||||
return new GGProLobbyMemberInfo(this.mBusinessInfo.getLobbyMemberInfo());
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProBusinessData
|
||||
public IGProMemberInfoInGame getMemberInfoInGame() {
|
||||
return new GGProMemberInfoInGame(this.mBusinessInfo.getMemberInfoInGame());
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProBusinessData
|
||||
public IGProRobotStateInfo getRobotStateInfo() {
|
||||
return new GGProRobotStateInfo(this.mBusinessInfo.getRobotStateInfo());
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProBusinessData
|
||||
public long getSortKey() {
|
||||
return this.mBusinessInfo.getSortKey();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProBusinessData
|
||||
public String getTipsMsg() {
|
||||
return this.mBusinessInfo.getTipsMsg();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProBusinessData
|
||||
public IGProUserAVData getUserAVInfo() {
|
||||
return new GProUserAVData(this.mBusinessInfo.getUserAVInfo());
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProBusinessData
|
||||
public IGProUserChannelShowState getUserChannelShowState() {
|
||||
return new GGProUserChannelShowState(this.mBusinessInfo.getUserChannelState());
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProBusinessData
|
||||
public IGProUserListGroupInfo getUserListGroupInfo() {
|
||||
return new GGProUserListGroupInfo(this.mBusinessInfo.getUserListGroupInfo());
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProBusinessData
|
||||
public void setSortKey(long j2) {
|
||||
this.mBusinessInfo.setSortKey(j2);
|
||||
}
|
||||
}
|
@ -0,0 +1,499 @@
|
||||
package com.tencent.mobileqq.qqguildsdk.data;
|
||||
|
||||
import android.annotation.SuppressLint;
|
||||
import android.text.TextUtils;
|
||||
|
||||
import androidx.annotation.NonNull;
|
||||
|
||||
import com.tencent.mobileqq.qqguildsdk.data.genc.GGProInviteSpeakCfg;
|
||||
import com.tencent.mobileqq.qqguildsdk.data.genc.GGProMedalInfo;
|
||||
import com.tencent.mobileqq.qqguildsdk.data.genc.GGProVoiceQueueCfg;
|
||||
import com.tencent.mobileqq.qqguildsdk.data.genc.GGProVoiceSpeakModeCfg;
|
||||
import com.tencent.mobileqq.qqguildsdk.data.genc.IGProInviteSpeakCfg;
|
||||
import com.tencent.mobileqq.qqguildsdk.data.genc.IGProMedalInfo;
|
||||
import com.tencent.mobileqq.qqguildsdk.data.genc.IGProVoiceQueueCfg;
|
||||
import com.tencent.mobileqq.qqguildsdk.data.genc.IGProVoiceSpeakModeCfg;
|
||||
import com.tencent.qqnt.kernel.nativeinterface.GProAVChannelExtInfo;
|
||||
import com.tencent.qqnt.kernel.nativeinterface.GProAuthControlStatus;
|
||||
import com.tencent.qqnt.kernel.nativeinterface.GProChannel;
|
||||
import com.tencent.qqnt.kernel.nativeinterface.GProInviteSpeakCfg;
|
||||
import com.tencent.qqnt.kernel.nativeinterface.GProMedalInfo;
|
||||
import com.tencent.qqnt.kernel.nativeinterface.GProSlowModeInfo;
|
||||
import com.tencent.qqnt.kernel.nativeinterface.GProTopMsg;
|
||||
import com.tencent.qqnt.kernel.nativeinterface.GProVisibleTypeInfo;
|
||||
import com.tencent.qqnt.kernel.nativeinterface.GProVoiceQueueCfg;
|
||||
import com.tencent.qqnt.kernel.nativeinterface.GProVoiceSpeakModeCfg;
|
||||
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Iterator;
|
||||
import java.util.List;
|
||||
|
||||
|
||||
public class GProChannelInfo implements IGProChannelInfo {
|
||||
public static final String TAG = "GProChannelInfo";
|
||||
private String channelUin;
|
||||
private long mCategoryId = 0;
|
||||
private String mCategoryName = "";
|
||||
private GProChannel mChannel;
|
||||
|
||||
public GProChannelInfo(GProChannel gProChannel) {
|
||||
|
||||
}
|
||||
|
||||
//public static GProChannel getDefalutGProChannel(f fVar) {
|
||||
// return new GProChannel(com.tencent.mobileqq.qqguildsdk.util.b.L0(fVar.e()), com.tencent.mobileqq.qqguildsdk.util.b.L0(fVar.g()), fVar.l(), fVar.o(), 1L, 1L, fVar.m(), fVar.k(), 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, new byte[0], new byte[0], 1, 0L, 0L, "", 0, fVar.r(), new ArrayList(), fVar.f(), 0L, 0L, 0L, 0, null, 0, 0, 0, 0, new ArrayList(), 0, 0, null, null, 0, new ArrayList(), new GProAVChannelExtInfo(), 0L, 0, 0, "", new GProMedalInfo(), 0, 0, "", "");
|
||||
//}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProChannelInfo
|
||||
@Deprecated
|
||||
public int getAllowOtherRaiseHand() {
|
||||
return this.mChannel.getAvChannelExtInfo().getAllowOtherRaiseHand();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProChannelInfo
|
||||
public String getAppChannelIconUrl() {
|
||||
if (this.mChannel.getAppChannelInfo() == null) {
|
||||
return null;
|
||||
}
|
||||
return this.mChannel.getAppChannelInfo().getAppChannelIcon();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProChannelInfo
|
||||
public int getAppChannelJumpType() {
|
||||
if (this.mChannel.getAppChannelInfo() == null) {
|
||||
return 0;
|
||||
}
|
||||
return this.mChannel.getAppChannelInfo().getAppChannelJumpType();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProChannelInfo
|
||||
public String getAppChannelJumpUrl() {
|
||||
if (this.mChannel.getAppChannelInfo() == null) {
|
||||
return null;
|
||||
}
|
||||
return this.mChannel.getAppChannelInfo().getAppChannelJumpUrl();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProChannelInfo
|
||||
public long getApplicationId() {
|
||||
if (this.mChannel.getAppChannelInfo() == null) {
|
||||
return 0L;
|
||||
}
|
||||
return this.mChannel.getAppChannelInfo().getApplicationId();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProChannelInfo
|
||||
public int getBannedSpeak() {
|
||||
return this.mChannel.getBannedSpeak();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProChannelInfo
|
||||
public long getCategoryId() {
|
||||
return this.mCategoryId;
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProChannelInfo
|
||||
public String getCategoryName() {
|
||||
return this.mCategoryName;
|
||||
}
|
||||
|
||||
public GProChannel getChannel() {
|
||||
return this.mChannel;
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProChannelInfo
|
||||
public int getChannelLiveableType() {
|
||||
return this.mChannel.getChannelLiveableType();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProChannelInfo
|
||||
public int getChannelMemberMax() {
|
||||
if (getType() == 2) {
|
||||
return this.mChannel.getAvChannelExtInfo().getChannelMaxMember();
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProChannelInfo
|
||||
public String getChannelName() {
|
||||
return this.mChannel.getName();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProChannelInfo
|
||||
public String getChannelUin() {
|
||||
return this.channelUin;
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProChannelInfo
|
||||
public ArrayList<Object> getChannelVisibleInfo() {
|
||||
ArrayList<Object> arrayList = new ArrayList<>();
|
||||
Iterator<GProVisibleTypeInfo> it = this.mChannel.getVisibleTypeInfo().iterator();
|
||||
while (it.hasNext()) {
|
||||
arrayList.add(new GProGuildVisibleTypeInfo(it.next()));
|
||||
}
|
||||
return arrayList;
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProChannelInfo
|
||||
public long getCreateTime() {
|
||||
return this.mChannel.getCreateTime();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProChannelInfo
|
||||
public String getCreatorId() {
|
||||
return "com.tencent.mobileqq.qqguildsdk.util.b.U0(this.mChannel.getCreatorTinyId())";
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProChannelInfo
|
||||
public int getFinalMsgNotify() {
|
||||
return this.mChannel.getFinalNotifyType();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProChannelInfo
|
||||
@SuppressLint({"WrongConstant"})
|
||||
public int getForumSortMode() {
|
||||
return this.mChannel.getForumSortMode();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProChannelInfo
|
||||
public ArrayList<ISlowModeInfo> getGProSlowModeInfoList() {
|
||||
ArrayList<ISlowModeInfo> arrayList = new ArrayList<>();
|
||||
if (this.mChannel.getSlowModeInfo() != null) {
|
||||
Iterator<GProSlowModeInfo> it = this.mChannel.getSlowModeInfo().iterator();
|
||||
while (it.hasNext()) {
|
||||
// arrayList.add(new SlowModeInfo(it.next()));
|
||||
}
|
||||
}
|
||||
return arrayList;
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProChannelInfo
|
||||
public long getGotoChannelId() {
|
||||
return this.mChannel.getGotoChannelId();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProChannelInfo
|
||||
public String getGuildId() {
|
||||
return "com.tencent.mobileqq.qqguildsdk.util.b.U0(this.mChannel.getGuildId())";
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProChannelInfo
|
||||
public String getHotIcon() {
|
||||
return this.mChannel.getHotIcon();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProChannelInfo
|
||||
public int getHotIndex() {
|
||||
return this.mChannel.getUint32HotIndex();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProChannelInfo
|
||||
public String getIconUrl() {
|
||||
return "this.mChannel.getIconUrl()";
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProChannelInfo
|
||||
public IGProInviteSpeakCfg getInviteSpeakCfg() {
|
||||
return new GGProInviteSpeakCfg(this.mChannel.getAvChannelExtInfo().getInviteSpeakCfg());
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProChannelInfo
|
||||
public int getIsCategoryAdmin() {
|
||||
return this.mChannel.getIsCategoryAdmin();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProChannelInfo
|
||||
public int getIsChannelAdmin() {
|
||||
return this.mChannel.getIsChannelAdmin();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProChannelInfo
|
||||
public int getJumpSwitch() {
|
||||
return this.mChannel.getJumpSwitch();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProChannelInfo
|
||||
public long getLastCntMsgSeq() {
|
||||
return this.mChannel.getLastCntMsgSeq();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProChannelInfo
|
||||
public long getLastCntMsgTime() {
|
||||
return this.mChannel.getLastCntMsgTime();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProChannelInfo
|
||||
public long getLastMsgSeq() {
|
||||
return this.mChannel.getLastMsgSeq();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProChannelInfo
|
||||
public long getLastMsgTime() {
|
||||
return this.mChannel.getLastMsgTime();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProChannelInfo
|
||||
public long getLiveAnchorTinyId() {
|
||||
return this.mChannel.getAnchorTinyId();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProChannelInfo
|
||||
public long getLiveRoomId() {
|
||||
return this.mChannel.getRoomId();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProChannelInfo
|
||||
public String getLiveRoomName() {
|
||||
return this.mChannel.getRoomName();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProChannelInfo
|
||||
public IGProMedalInfo getMedalInfo() {
|
||||
return new GGProMedalInfo(this.mChannel.getMedalInfo());
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProChannelInfo
|
||||
public byte[] getMsgMeta() {
|
||||
return this.mChannel.getMsgMeta();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProChannelInfo
|
||||
public int getMsgNotify() {
|
||||
return this.mChannel.getMsgNotifyType();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProChannelInfo
|
||||
@SuppressLint({"WrongConstant"})
|
||||
public int getMyForumSortMode() {
|
||||
return this.mChannel.getMyForumSortMode();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProChannelInfo
|
||||
public int getMyTalkPermissionType() {
|
||||
return this.mChannel.getMySpeakPermission();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProChannelInfo
|
||||
public int getNoMemberMaxLimited() {
|
||||
return this.mChannel.getAvChannelExtInfo().getNoMemberMaxLimited();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProChannelInfo
|
||||
public String getOperationTitle() {
|
||||
return "this.mChannel.getOperationTitle()";
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProChannelInfo
|
||||
public int getOperationType() {
|
||||
//"this.mChannel.getOperationType()";
|
||||
return 10;
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProChannelInfo
|
||||
public long getReadCntMsgSeq() {
|
||||
return this.mChannel.getReadCntMsgSeq();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProChannelInfo
|
||||
public long getReadCntMsgTime() {
|
||||
return this.mChannel.getReadCntMsgTime();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProChannelInfo
|
||||
public byte[] getReadMsgMeta() {
|
||||
return this.mChannel.getReadMsgMeta();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProChannelInfo
|
||||
public long getReadMsgSeq() {
|
||||
return this.mChannel.getReadMsgSeq();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProChannelInfo
|
||||
public long getReadMsgTime() {
|
||||
return this.mChannel.getReadMsgTime();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProChannelInfo
|
||||
public int getSlowModeKey() {
|
||||
return this.mChannel.getCurrentSlowModeKey();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProChannelInfo
|
||||
@NotNull
|
||||
public List<Integer> getSpecialType() {
|
||||
return this.mChannel.getSpecialTypes();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProChannelInfo
|
||||
public int getTalkPermission() {
|
||||
return this.mChannel.getTalkPermission();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProChannelInfo
|
||||
public int getTextChannelSubtypeId() {
|
||||
return this.mChannel.getTextChannelSubtypeId();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProChannelInfo
|
||||
public ArrayList<IGProTopMsg> getTopMsgList() {
|
||||
ArrayList<IGProTopMsg> arrayList = new ArrayList<>();
|
||||
Iterator<GProTopMsg> it = this.mChannel.getTopMsgList().iterator();
|
||||
while (it.hasNext()) {
|
||||
arrayList.add(new GProTopMsgInfo(it.next()));
|
||||
}
|
||||
return arrayList;
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProChannelInfo
|
||||
public String getTopMsgOperatorTinyId() {
|
||||
return "com.tencent.mobileqq.qqguildsdk.util.b.U0(this.mChannel.getTopMsgOperatorTinyId())";
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProChannelInfo
|
||||
public long getTopMsgSeq() {
|
||||
return this.mChannel.getTopMsgSeq();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProChannelInfo
|
||||
public long getTopMsgTime() {
|
||||
return this.mChannel.getTopMsgTime();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProChannelInfo
|
||||
public int getType() {
|
||||
return this.mChannel.getType();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProChannelInfo
|
||||
public int getVisibleType() {
|
||||
return this.mChannel.getChannelVisibleType();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProChannelInfo
|
||||
public IGProVoiceQueueCfg getVoiceQueueCfg() {
|
||||
return new GGProVoiceQueueCfg(this.mChannel.getAvChannelExtInfo().getVoiceQueueCfg());
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProChannelInfo
|
||||
public IGProVoiceSpeakModeCfg getVoiceSpeakModeCfg() {
|
||||
return new GGProVoiceSpeakModeCfg(this.mChannel.getAvChannelExtInfo().getVoiceSpeakModeCfg());
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProChannelInfo
|
||||
public boolean isAllowOtherRaiseHand() {
|
||||
return this.mChannel.getAvChannelExtInfo().getAllowOtherRaiseHand() == 1;
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProChannelInfo
|
||||
public boolean isChannelOrCategoryAdmin() {
|
||||
return getIsChannelAdmin() == 1 || getIsCategoryAdmin() == 1;
|
||||
}
|
||||
|
||||
public boolean isEqual(IGProChannelInfo iGProChannelInfo) {
|
||||
return iGProChannelInfo != null && getChannelName().equals(iGProChannelInfo.getChannelName()) && getType() == iGProChannelInfo.getType() && getTalkPermission() == iGProChannelInfo.getTalkPermission() && getMsgNotify() == iGProChannelInfo.getMsgNotify() && getFinalMsgNotify() == iGProChannelInfo.getFinalMsgNotify();
|
||||
}
|
||||
|
||||
public GProChannelInfo reflash(GProChannel gProChannel) {
|
||||
this.mChannel = gProChannel;
|
||||
this.channelUin = "com.tencent.mobileqq.qqguildsdk.util.b.U0(gProChannel.getChannelId())";
|
||||
return this;
|
||||
}
|
||||
|
||||
public void setBannedSpeak(int i2) {
|
||||
this.mChannel.setBannedSpeak(i2);
|
||||
}
|
||||
|
||||
public void setCategory(long j2, String str) {
|
||||
this.mCategoryId = j2;
|
||||
this.mCategoryName = str;
|
||||
}
|
||||
|
||||
public void setChannelLiveableType(int i2) {
|
||||
this.mChannel.setChannelLiveableType(i2);
|
||||
}
|
||||
|
||||
public void setChannelMemberMax(int i2) {
|
||||
if (getType() == 2) {
|
||||
this.mChannel.getAvChannelExtInfo().setChannelMaxMember(i2);
|
||||
}
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProChannelInfo
|
||||
public void setFinalMsgNotify(int i2) {
|
||||
this.mChannel.setFinalNotifyType(i2);
|
||||
}
|
||||
|
||||
public void setForumSortMode(int i2) {
|
||||
this.mChannel.setForumSortMode(i2);
|
||||
}
|
||||
|
||||
public void setLiveAnchorTinyId(long j2) {
|
||||
this.mChannel.setAnchorTinyId(j2);
|
||||
}
|
||||
|
||||
public void setLiveRoomId(long j2) {
|
||||
this.mChannel.setRoomId(j2);
|
||||
}
|
||||
|
||||
public void setLiveRoomName(String str) {
|
||||
this.mChannel.setRoomName(str);
|
||||
}
|
||||
|
||||
public void setMsgNotify(int i2) {
|
||||
this.mChannel.setMsgNotifyType(i2);
|
||||
}
|
||||
|
||||
public void setMyForumSortMode(int i2) {
|
||||
this.mChannel.setMyForumSortMode(i2);
|
||||
}
|
||||
|
||||
public void setName(String str) {
|
||||
this.mChannel.setName(str);
|
||||
}
|
||||
|
||||
public void setSlowModeKey(int i2) {
|
||||
this.mChannel.setCurrentSlowModeKey(i2);
|
||||
}
|
||||
|
||||
public void setTalkPermission(int i2) {
|
||||
this.mChannel.setTalkPermission(i2);
|
||||
}
|
||||
|
||||
public void setTopMsgList(ArrayList<IGProTopMsg> arrayList) {
|
||||
ArrayList<GProTopMsg> arrayList2 = new ArrayList<>();
|
||||
Iterator<IGProTopMsg> it = arrayList.iterator();
|
||||
while (it.hasNext()) {
|
||||
arrayList2.add(((GProTopMsgInfo) it.next()).mInfo);
|
||||
}
|
||||
this.mChannel.setTopMsgList(arrayList2);
|
||||
}
|
||||
|
||||
public void setTopMsgOperatorTinyId(String str) {
|
||||
//this.mChannel.setTopMsgOperatorTinyId(com.tencent.mobileqq.qqguildsdk.util.b.L0(str));
|
||||
}
|
||||
|
||||
public void setTopMsgSeq(long j2) {
|
||||
this.mChannel.setTopMsgSeq(j2);
|
||||
}
|
||||
|
||||
public void setTopMsgTime(long j2) {
|
||||
this.mChannel.setTopMsgTime(j2);
|
||||
}
|
||||
|
||||
public void setType(int i2) {
|
||||
this.mChannel.setType(i2);
|
||||
}
|
||||
|
||||
public void setVisibleType(int i2) {
|
||||
this.mChannel.setVisibleType(i2);
|
||||
this.mChannel.setChannelVisibleType(i2);
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public String toString() {
|
||||
return "GProChannelInfo:ID: GuildId:" + getGuildId() + ", chanUin:" + getChannelUin() + ", name:" + getChannelName() + ", talkPermission:" + getTalkPermission() + ", type:" + getType() + ", visibleType:" + getVisibleType() + ", msgNotifyType:" + getMsgNotify() + ", finalMsgNotifyType:" + getFinalMsgNotify() + ", createTime:" + getCreateTime() + ", channelMemMax:" + getChannelMemberMax() + ", roomId:" + getLiveRoomId() + ", slowModeKey:" + getSlowModeKey() + ", textChannelSubtypeId:" + getTextChannelSubtypeId() + ", applicationId:" + getApplicationId() + ", appChannelIcon:" + getAppChannelIconUrl() + ", appChannelJumpType:" + getAppChannelJumpType() + ", appChannelJumpUrl:" + getAppChannelJumpUrl() + ", getGotoChannelId:" + getGotoChannelId() + ", getJumpSwitch" + getJumpSwitch() + ", avNoMemberMaxLimited:" + getNoMemberMaxLimited() + ", getHotIcon:" + getHotIcon() + ", getMedalInfo:" + getMedalInfo() + ", getOperationType:" + getOperationType() + ", getOperationTitle:" + getOperationTitle() + ", getIconUrl:" + getIconUrl();
|
||||
}
|
||||
}
|
@ -0,0 +1,33 @@
|
||||
package com.tencent.mobileqq.qqguildsdk.data;
|
||||
|
||||
import com.tencent.qqnt.kernel.nativeinterface.GProClientIdentityBytes;
|
||||
import com.tencent.qqnt.kernel.nativeinterface.GProIdentity;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Iterator;
|
||||
import java.util.List;
|
||||
|
||||
public class GProClientIdentityByteInfo implements IGProClientIdentityByteInfo {
|
||||
private final GProClientIdentityBytes mGProClientIdentityBytes;
|
||||
private final List<IGProIdentityInfo> mGProIdentityList = new ArrayList();
|
||||
|
||||
public GProClientIdentityByteInfo(GProClientIdentityBytes gProClientIdentityBytes) {
|
||||
this.mGProClientIdentityBytes = gProClientIdentityBytes;
|
||||
if (gProClientIdentityBytes != null) {
|
||||
Iterator<GProIdentity> it = gProClientIdentityBytes.getIdentityList().iterator();
|
||||
while (it.hasNext()) {
|
||||
this.mGProIdentityList.add(new GProIdentityInfo(it.next()));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProClientIdentityByteInfo
|
||||
public int getClientId() {
|
||||
return this.mGProClientIdentityBytes.getClientId();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProClientIdentityByteInfo
|
||||
public List<IGProIdentityInfo> getIdentityList() {
|
||||
return this.mGProIdentityList;
|
||||
}
|
||||
}
|
@ -0,0 +1,32 @@
|
||||
package com.tencent.mobileqq.qqguildsdk.data;
|
||||
|
||||
import com.tencent.qqnt.kernel.nativeinterface.GProClientIdentity;
|
||||
|
||||
|
||||
public class GProClientIdentityInfo implements IGProClientIdentityInfo {
|
||||
private final GProClientIdentity clientIdentity;
|
||||
|
||||
public GProClientIdentityInfo(GProClientIdentity gProClientIdentity) {
|
||||
this.clientIdentity = gProClientIdentity;
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProClientIdentityInfo
|
||||
public String getClientId() {
|
||||
return null;
|
||||
//return com.tencent.mobileqq.qqguildsdk.util.b.T0(this.clientIdentity.getClientId());
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProClientIdentityInfo
|
||||
public String getDesc() {
|
||||
return this.clientIdentity.getDesc();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProClientIdentityInfo
|
||||
public IGProClientIdentityByteInfo getIdentityBytes() {
|
||||
return new GProClientIdentityByteInfo(this.clientIdentity.getIdentityBytes());
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "GProClientIdentityInfo{clientIdentity=" + this.clientIdentity + '}';
|
||||
}
|
||||
}
|
@ -0,0 +1,78 @@
|
||||
package com.tencent.mobileqq.qqguildsdk.data;
|
||||
|
||||
import com.tencent.qqnt.kernel.nativeinterface.GProClientPresence;
|
||||
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
public class GProClientPresenceInfo implements IGProClientPresenceInfo {
|
||||
private final GProClientPresence presence;
|
||||
|
||||
public GProClientPresenceInfo(GProClientPresence gProClientPresence) {
|
||||
this.presence = gProClientPresence;
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProClientPresenceInfo
|
||||
public String getBigIcon() {
|
||||
return this.presence.getBigIcon();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProClientPresenceInfo
|
||||
public int getClientId() {
|
||||
return this.presence.getClientId();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProClientPresenceInfo
|
||||
public String getClientName() {
|
||||
return this.presence.getClientName();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProClientPresenceInfo
|
||||
public String getDetails() {
|
||||
return this.presence.getDetails();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProClientPresenceInfo
|
||||
public long getEndTimeStamp() {
|
||||
return this.presence.getEndTimeStamp();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProClientPresenceInfo
|
||||
public long getExpireTimeStamp() {
|
||||
return this.presence.getExpireTimeStamp();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProClientPresenceInfo
|
||||
public long getPartyMax() {
|
||||
return this.presence.getPartyMax();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProClientPresenceInfo
|
||||
public long getPartySize() {
|
||||
return this.presence.getPartySize();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProClientPresenceInfo
|
||||
public String getRole() {
|
||||
return this.presence.getRole();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProClientPresenceInfo
|
||||
public String getSmallIcon() {
|
||||
return this.presence.getSmallIcon();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProClientPresenceInfo
|
||||
public long getStartTimeStamp() {
|
||||
return this.presence.getStartTimeStamp();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProClientPresenceInfo
|
||||
public String getState() {
|
||||
return this.presence.getState();
|
||||
}
|
||||
|
||||
@NotNull
|
||||
public String toString() {
|
||||
return "GProClientPresenceInfo{presence=" + this.presence + "}";
|
||||
}
|
||||
}
|
@ -0,0 +1,70 @@
|
||||
package com.tencent.mobileqq.qqguildsdk.data;
|
||||
|
||||
public class GProFetchRecommendChannelRsp implements IGProFetchRecommendChannelRsp {
|
||||
final long channelId;
|
||||
final String channelName;
|
||||
final String guildCoverUrl;
|
||||
final String guildIcon;
|
||||
final long guildId;
|
||||
final String guildName;
|
||||
final String guildProfile;
|
||||
|
||||
public GProFetchRecommendChannelRsp(long j2, String str, String str2, String str3, String str4, long j3, String str5) {
|
||||
this.guildId = j2;
|
||||
this.guildName = str;
|
||||
this.guildProfile = str2;
|
||||
this.guildIcon = str3;
|
||||
this.guildCoverUrl = str4;
|
||||
this.channelId = j3;
|
||||
this.channelName = str5;
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProFetchRecommendChannelRsp
|
||||
public long getChannelId() {
|
||||
return this.channelId;
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProFetchRecommendChannelRsp
|
||||
public String getChannelName() {
|
||||
return this.channelName;
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProFetchRecommendChannelRsp
|
||||
public String getGuildCoverUrl() {
|
||||
return this.guildCoverUrl;
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProFetchRecommendChannelRsp
|
||||
public String getGuildIcon() {
|
||||
return this.guildIcon;
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProFetchRecommendChannelRsp
|
||||
public long getGuildId() {
|
||||
return this.guildId;
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProFetchRecommendChannelRsp
|
||||
public String getGuildName() {
|
||||
return this.guildName;
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProFetchRecommendChannelRsp
|
||||
public String getGuildProfile() {
|
||||
return this.guildProfile;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "GProFetchRecommendChannelRsp{guildId=" + this.guildId + ",guildName=" + this.guildName + ",guildProfile=" + this.guildProfile + ",guildIcon=" + this.guildIcon + ",guildCoverUrl=" + this.guildCoverUrl + ",channelId=" + this.channelId + ",channelName=" + this.channelName + ",}";
|
||||
}
|
||||
|
||||
public GProFetchRecommendChannelRsp(com.tencent.qqnt.kernel.nativeinterface.GProFetchRecommendChannelRsp gProFetchRecommendChannelRsp) {
|
||||
this.guildId = gProFetchRecommendChannelRsp.getGuildId();
|
||||
this.guildName = gProFetchRecommendChannelRsp.getGuildName();
|
||||
this.guildProfile = gProFetchRecommendChannelRsp.getGuildProfile();
|
||||
this.guildIcon = gProFetchRecommendChannelRsp.getGuildIcon();
|
||||
this.guildCoverUrl = gProFetchRecommendChannelRsp.getGuildCoverUrl();
|
||||
this.channelId = gProFetchRecommendChannelRsp.getChannelId();
|
||||
this.channelName = gProFetchRecommendChannelRsp.getChannelName();
|
||||
}
|
||||
}
|
@ -0,0 +1,97 @@
|
||||
package com.tencent.mobileqq.qqguildsdk.data;
|
||||
|
||||
import com.tencent.qqnt.kernel.nativeinterface.GProGameDownloadLink;
|
||||
import com.tencent.qqnt.kernel.nativeinterface.GProGuildBannerGameDownloadInfo;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Iterator;
|
||||
|
||||
public class GProGuildBannerGameDownload implements IGProGuildGameDownloadInfo {
|
||||
private String content;
|
||||
private String gameId;
|
||||
private String jumpText;
|
||||
private ArrayList<Object> links;
|
||||
private ArrayList<String> picUrls;
|
||||
private String tagText;
|
||||
private String title;
|
||||
|
||||
public GProGuildBannerGameDownload(GProGuildBannerGameDownloadInfo gProGuildBannerGameDownloadInfo) {
|
||||
this.gameId = gProGuildBannerGameDownloadInfo.getGameId();
|
||||
this.title = gProGuildBannerGameDownloadInfo.getTitle();
|
||||
this.content = gProGuildBannerGameDownloadInfo.getContent();
|
||||
this.picUrls = gProGuildBannerGameDownloadInfo.getPicUrl();
|
||||
ArrayList<GProGameDownloadLink> links = gProGuildBannerGameDownloadInfo.getLinks();
|
||||
this.links = new ArrayList<>();
|
||||
if (links != null) {
|
||||
Iterator<GProGameDownloadLink> it = links.iterator();
|
||||
while (it.hasNext()) {
|
||||
GProGameDownloadLink next = it.next();
|
||||
//an anVar = new an();
|
||||
//anVar.a(next.getPlatform());
|
||||
//anVar.b(next.getUrl());
|
||||
//this.links.add(anVar);
|
||||
}
|
||||
}
|
||||
this.jumpText = gProGuildBannerGameDownloadInfo.getJumpText();
|
||||
this.tagText = gProGuildBannerGameDownloadInfo.getTagText();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProGuildGameDownloadInfo
|
||||
public String getContent() {
|
||||
return this.content;
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProGuildGameDownloadInfo
|
||||
public String getGameId() {
|
||||
return this.gameId;
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProGuildGameDownloadInfo
|
||||
public String getJumpText() {
|
||||
return this.jumpText;
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProGuildGameDownloadInfo
|
||||
public ArrayList<Object> getLinks() {
|
||||
return this.links;
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProGuildGameDownloadInfo
|
||||
public ArrayList<String> getPicUrls() {
|
||||
return this.picUrls;
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProGuildGameDownloadInfo
|
||||
public String getTagText() {
|
||||
return this.tagText;
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProGuildGameDownloadInfo
|
||||
public String getTitle() {
|
||||
return this.title;
|
||||
}
|
||||
|
||||
public void setContent(String str) {
|
||||
this.content = str;
|
||||
}
|
||||
|
||||
public void setGameId(String str) {
|
||||
this.gameId = str;
|
||||
}
|
||||
|
||||
public void setLinks(ArrayList<Object> arrayList) {
|
||||
this.links = arrayList;
|
||||
}
|
||||
|
||||
public void setPicUrls(ArrayList<String> arrayList) {
|
||||
this.picUrls = arrayList;
|
||||
}
|
||||
|
||||
public void setTitle(String str) {
|
||||
this.title = str;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "GProGuildBannerGameDownload{gameId='" + this.gameId + "', title='" + this.title + "', content='" + this.content + "', picUrls=" + this.picUrls + ", links=" + this.links + ", jumpText='" + this.jumpText + "', tagText='" + this.tagText + "'}";
|
||||
}
|
||||
}
|
@ -0,0 +1,296 @@
|
||||
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 org.jetbrains.annotations.NotNull;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Iterator;
|
||||
|
||||
|
||||
public class GProGuildInfo implements IGProGuildInfo {
|
||||
public static final String TAG = "GProGuildInfo";
|
||||
private String guildId;
|
||||
private GProGuild mGuild;
|
||||
|
||||
public GProGuildInfo(@NotNull GProGuild gProGuild) {
|
||||
this.mGuild = gProGuild;
|
||||
//this.guildId = com.tencent.mobileqq.qqguildsdk.util.b.U0(gProGuild.getGuildId());
|
||||
}
|
||||
|
||||
|
||||
public GProGuildInfo reflash(GProGuild gProGuild) {
|
||||
this.mGuild = gProGuild;
|
||||
//com.tencent.mobileqq.qqguildsdk.util.c.e(TAG, false, "cache", "reflash", "GProGuildInfo reflash", toString());
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean getAllowSearch() {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public long getAvatarSeq() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getAvatarUrl(int i2) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public long getBannedTimeLimit() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@Override
|
||||
public long getChangeNameInterval() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean getChannelListChange() {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getClientId() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getCoverFontColorId() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getCoverUrl(int i2, int i3) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public long getCreateTime() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getCreatorId() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getErrMsg() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public long getGroupId() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean getGuildCanShare() {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getGuildID() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getGuildName() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public long getGuildNameChangeTime() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getGuildNumber() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getGuildType() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getGuildUnNotifyFlag() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean getIsBanned() {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean getIsFrozen() {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean getIsValid() {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public long getJoinTime() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@Override
|
||||
public long getJumpChannelId() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean getJumpChannelSwitch() {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public ArrayList<IGProMedalInfo> getMedalInfoList() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getMedalLevel() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@Override
|
||||
public long getMyShutUpExpireTime() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@Override
|
||||
public ArrayList<IGProNavigationInfo> getNavigationInfoList() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getProfile() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getQRCodePeriod() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getQRCodeSwitch() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getResult() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getSearchJoinSig() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getShowNumber() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public long getShutUpExpireTime() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getTagDesc() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public long getTagId() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean getTopicSquareSwitch() {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public long getU64guildSeq() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getUIData(String str) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getUserNum() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getUserType() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getVisibleChannelMaxNum() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getWeakNotifyDisplay() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isGroupGuild() {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isInteractiveForVisitor() {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isMember() {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isNeedRealNameForVisitor() {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isTop() {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isVisibleForVisitor() {
|
||||
return false;
|
||||
}
|
||||
}
|
@ -0,0 +1,204 @@
|
||||
package com.tencent.mobileqq.qqguildsdk.data;
|
||||
|
||||
import androidx.annotation.NonNull;
|
||||
|
||||
import com.tencent.qqnt.kernel.nativeinterface.GProGuildRole;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Iterator;
|
||||
|
||||
|
||||
public class GProGuildRoleInfo implements IGProGuildRoleInfo {
|
||||
public static final String TAG = "GProGuildRoleInfo";
|
||||
private GProGuildRole mRole;
|
||||
|
||||
public GProGuildRoleInfo(GProGuildRole gProGuildRole) {
|
||||
if (gProGuildRole == null) {
|
||||
//this.mRole = new GProGuildRole(0L, 0L, "", 0L, false, 0, false, 0, 0, new ArrayList(), new ArrayList(), 0, 0, ad.b(new GProRolePermission()), false, "", "", 0, "", 0L, 0L, 0L, "", 0L, 0L, 0, 0L, "", new ArrayList());
|
||||
} else {
|
||||
this.mRole = gProGuildRole;
|
||||
}
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProGuildRoleInfo
|
||||
public ArrayList<String> getApproveSpeakChannels() {
|
||||
ArrayList<String> arrayList = new ArrayList<>();
|
||||
Iterator<Long> it = this.mRole.getApproveSpeakChannels().iterator();
|
||||
while (it.hasNext()) {
|
||||
//arrayList.add(com.tencent.mobileqq.qqguildsdk.util.b.U0(it.next().longValue()));
|
||||
}
|
||||
return arrayList;
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProGuildRoleInfo
|
||||
public ArrayList<String> getApproveVisibleChannels() {
|
||||
ArrayList<String> arrayList = new ArrayList<>();
|
||||
Iterator<Long> it = this.mRole.getApproveVisibleChannels().iterator();
|
||||
while (it.hasNext()) {
|
||||
//arrayList.add(com.tencent.mobileqq.qqguildsdk.util.b.U0(it.next().longValue()));
|
||||
}
|
||||
return arrayList;
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProGuildRoleInfo
|
||||
public int getBackgroudColor1() {
|
||||
return (int) this.mRole.getBackgroudColor1();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProGuildRoleInfo
|
||||
public int getBackgroudColor2() {
|
||||
return (int) this.mRole.getBackgroudColor2();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProGuildRoleInfo
|
||||
public int getCategoryType() {
|
||||
return this.mRole.getType();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProGuildRoleInfo
|
||||
public int getColor() {
|
||||
return (int) this.mRole.getColor();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProGuildRoleInfo
|
||||
public int getCount() {
|
||||
return this.mRole.getCount();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProGuildRoleInfo
|
||||
public String getDisplayTagName() {
|
||||
return this.mRole.getDisplayTagName();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProGuildRoleInfo
|
||||
public int getDisplayType() {
|
||||
return this.mRole.getDisplayType();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProGuildRoleInfo
|
||||
public String getGuildId() {
|
||||
return null;
|
||||
//return com.tencent.mobileqq.qqguildsdk.util.b.U0(this.mRole.getGuildId());
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProGuildRoleInfo
|
||||
public boolean getHoist() {
|
||||
return this.mRole.getBHoist();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProGuildRoleInfo
|
||||
public boolean getIsNotSort() {
|
||||
return this.mRole.getIsNotSort();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProGuildRoleInfo
|
||||
public String getLevelBigIcon() {
|
||||
return this.mRole.getLevelBigIcon();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProGuildRoleInfo
|
||||
public String getLevelDesc() {
|
||||
return this.mRole.getLevelDsc();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProGuildRoleInfo
|
||||
public String getLevelIconUrl() {
|
||||
return this.mRole.getLevelIcon();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProGuildRoleInfo
|
||||
public String getLevelSimpleDsc() {
|
||||
return this.mRole.getLevelSimpleDsc();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProGuildRoleInfo
|
||||
public int getLevelSimpleDscColor() {
|
||||
return (int) this.mRole.getLevelSimpleDscColor();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProGuildRoleInfo
|
||||
public int getLevelSplitLineColor() {
|
||||
return (int) this.mRole.getLevelSplitLineColor();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProGuildRoleInfo
|
||||
public ArrayList<String> getManageCategoryIdList() {
|
||||
ArrayList<String> arrayList = new ArrayList<>();
|
||||
Iterator<Long> it = this.mRole.getManageCategoryIdList().iterator();
|
||||
while (it.hasNext()) {
|
||||
//arrayList.add(com.tencent.mobileqq.qqguildsdk.util.b.U0(it.next().longValue()));
|
||||
}
|
||||
return arrayList;
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProGuildRoleInfo
|
||||
public long getManageTagPendingColor() {
|
||||
return this.mRole.getManageTagPendingColor();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProGuildRoleInfo
|
||||
public int getMemberLimit() {
|
||||
return this.mRole.getMemberLimit();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProGuildRoleInfo
|
||||
public String getName() {
|
||||
return this.mRole.getName();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProGuildRoleInfo
|
||||
public int getNameplate() {
|
||||
return this.mRole.getNameplate();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProGuildRoleInfo
|
||||
public int getOutlineColor() {
|
||||
return (int) this.mRole.getOutlineColor();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProGuildRoleInfo
|
||||
@NonNull
|
||||
public GProRolePermission getPermission() {
|
||||
return null;
|
||||
//return ad.a(this.mRole.getRolePermissions());
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProGuildRoleInfo
|
||||
public String getRoleId() {
|
||||
return null;
|
||||
//return com.tencent.mobileqq.qqguildsdk.util.b.U0(this.mRole.getRoleId());
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProGuildRoleInfo
|
||||
public int getRoleType() {
|
||||
long roleId = this.mRole.getRoleId();
|
||||
if (roleId <= 7) {
|
||||
return (int) roleId;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProGuildRoleInfo
|
||||
public int getSpeakableChannelsCount() {
|
||||
return this.mRole.getSpeakableChannelsCount();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProGuildRoleInfo
|
||||
public int getVisibleChannelsCount() {
|
||||
return this.mRole.getVisibleChannelsCount();
|
||||
}
|
||||
|
||||
public boolean isChannelRole() {
|
||||
return this.mRole.getIsChannelRole();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProGuildRoleInfo
|
||||
public boolean isLevelRole() {
|
||||
return this.mRole.getType() == 100;
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProGuildRoleInfo
|
||||
public String toString() {
|
||||
return "GProGuildRoleInfo{mRole=" + this.mRole + '}';
|
||||
}
|
||||
}
|
@ -0,0 +1,83 @@
|
||||
package com.tencent.mobileqq.qqguildsdk.data;
|
||||
|
||||
import com.tencent.mobileqq.qqguildsdk.data.genc.GGProGuildSearchInfo;
|
||||
import com.tencent.qqnt.kernel.nativeinterface.GProGuildChannelState;
|
||||
import com.tencent.qqnt.kernel.nativeinterface.GProGuildSearchInfo;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Iterator;
|
||||
import java.util.List;
|
||||
|
||||
public class GProGuildSearchDataInfo extends GGProGuildSearchInfo implements IGProSearchGuildInfo {
|
||||
// private List<dl> mGuildChannelStates;
|
||||
private final GProGuildSearchInfo mInfo;
|
||||
private final IRecallInfo mRecallInfo;
|
||||
|
||||
public GProGuildSearchDataInfo(GProGuildSearchInfo gProGuildSearchInfo) {
|
||||
super(gProGuildSearchInfo);
|
||||
//this.mGuildChannelStates = new ArrayList();
|
||||
this.mInfo = gProGuildSearchInfo;
|
||||
if (gProGuildSearchInfo.getGuildStates() != null) {
|
||||
Iterator<GProGuildChannelState> it = gProGuildSearchInfo.getGuildStates().iterator();
|
||||
while (it.hasNext()) {
|
||||
// this.mGuildChannelStates.add(new ar(it.next()));
|
||||
}
|
||||
}
|
||||
this.mRecallInfo = new GProRecallInfoData(gProGuildSearchInfo.getRecallInfo());
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.genc.GGProGuildSearchInfo, com.tencent.mobileqq.qqguildsdk.data.IGProSearchGuildInfo
|
||||
public String getCoverUrl() {
|
||||
return this.mInfo.getCoverUrl();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProSearchGuildInfo
|
||||
public String getGuildId() {
|
||||
return "com.tencent.mobileqq.qqguildsdk.util.b.U0(this.mInfo.getGuildId())";
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.genc.GGProGuildSearchInfo, com.tencent.mobileqq.qqguildsdk.data.IGProSearchGuildInfo
|
||||
public String getGuildNumber() {
|
||||
return this.mInfo.getGuildNumber();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.genc.GGProGuildSearchInfo, com.tencent.mobileqq.qqguildsdk.data.IGProSearchGuildInfo
|
||||
public String getHeadUrl() {
|
||||
return this.mInfo.getHeadUrl();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.genc.GGProGuildSearchInfo, com.tencent.mobileqq.qqguildsdk.data.IGProSearchGuildInfo
|
||||
public String getJoinGuildSig() {
|
||||
return this.mInfo.getJoinGuildSig();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.genc.GGProGuildSearchInfo, com.tencent.mobileqq.qqguildsdk.data.IGProSearchGuildInfo
|
||||
public int getJoinedGuild() {
|
||||
return this.mInfo.getJoinedGuild();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.genc.GGProGuildSearchInfo, com.tencent.mobileqq.qqguildsdk.data.IGProSearchGuildInfo
|
||||
public int getMedalLevel() {
|
||||
return this.mInfo.getMedalLevel();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.genc.GGProGuildSearchInfo, com.tencent.mobileqq.qqguildsdk.data.IGProSearchGuildInfo
|
||||
public String getName() {
|
||||
return this.mInfo.getName();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.genc.GGProGuildSearchInfo, com.tencent.mobileqq.qqguildsdk.data.IGProSearchGuildInfo
|
||||
public String getProfile() {
|
||||
return this.mInfo.getProfile();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.genc.GGProGuildSearchInfo, com.tencent.mobileqq.qqguildsdk.data.IGProSearchGuildInfo
|
||||
public IRecallInfo getRecallInfo() {
|
||||
return this.mRecallInfo;
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.genc.GGProGuildSearchInfo, com.tencent.mobileqq.qqguildsdk.data.IGProSearchGuildInfo
|
||||
public ArrayList<String> getTags() {
|
||||
return this.mInfo.getTags();
|
||||
}
|
||||
}
|
@ -0,0 +1,22 @@
|
||||
package com.tencent.mobileqq.qqguildsdk.data;
|
||||
|
||||
import com.tencent.qqnt.kernel.nativeinterface.GProVisibleTypeInfo;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
|
||||
public class GProGuildVisibleTypeInfo implements Serializable {
|
||||
private final GProVisibleTypeInfo mInfo;
|
||||
|
||||
public GProGuildVisibleTypeInfo(GProVisibleTypeInfo gProVisibleTypeInfo) {
|
||||
this.mInfo = gProVisibleTypeInfo;
|
||||
}
|
||||
|
||||
public int getVisibleType() {
|
||||
return this.mInfo.getVisibleType();
|
||||
}
|
||||
|
||||
public String getVisibleTypeText() {
|
||||
return this.mInfo.getVisibleTypeText();
|
||||
}
|
||||
}
|
@ -0,0 +1,35 @@
|
||||
package com.tencent.mobileqq.qqguildsdk.data;
|
||||
|
||||
import com.tencent.qqnt.kernel.nativeinterface.GProIdentity;
|
||||
|
||||
public class GProIdentityInfo implements IGProIdentityInfo {
|
||||
private final GProIdentity mGProIdentity;
|
||||
|
||||
public GProIdentityInfo(GProIdentity gProIdentity) {
|
||||
this.mGProIdentity = gProIdentity;
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProIdentityInfo
|
||||
public int getIdentityType() {
|
||||
return this.mGProIdentity.getIdentityType();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProIdentityInfo
|
||||
public byte[] getPlateData() {
|
||||
return this.mGProIdentity.getPlateData();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProIdentityInfo
|
||||
public int getType() {
|
||||
return this.mGProIdentity.getType();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProIdentityInfo
|
||||
public String getValue() {
|
||||
return this.mGProIdentity.getValue();
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "GProIdentityInfo{mGProIdentity=" + this.mGProIdentity + '}';
|
||||
}
|
||||
}
|
@ -0,0 +1,8 @@
|
||||
package com.tencent.mobileqq.qqguildsdk.data;
|
||||
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
|
||||
|
||||
public class GProLocationInfo {
|
||||
}
|
@ -0,0 +1,52 @@
|
||||
package com.tencent.mobileqq.qqguildsdk.data;
|
||||
|
||||
import com.tencent.qqnt.kernel.nativeinterface.GProOnlineMemberInfo;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
|
||||
public class GProOnlineMember implements IGProOnlineMember {
|
||||
private final String mGuildId;
|
||||
private final GProOnlineMemberInfo mOnlineMemberInfo;
|
||||
|
||||
public GProOnlineMember(String str, GProOnlineMemberInfo gProOnlineMemberInfo) {
|
||||
this.mGuildId = str;
|
||||
this.mOnlineMemberInfo = gProOnlineMemberInfo;
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProOnlineMember
|
||||
public String getGuildId() {
|
||||
return this.mGuildId;
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProOnlineMember
|
||||
public String getHotIcon() {
|
||||
return null;
|
||||
//return this.mOnlineMemberInfo.getHotIcon();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProOnlineMember
|
||||
public String getMemberCnt() {
|
||||
return "";
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProOnlineMember
|
||||
public String getMemberTitle() {
|
||||
return "";
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProOnlineMember
|
||||
public List<String> getOnlineMemberAvatars() {
|
||||
return this.mOnlineMemberInfo.getOnlineMemberAvatars();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProOnlineMember
|
||||
public String getOnlineMemberCnt() {
|
||||
return this.mOnlineMemberInfo.getOnlineMemberCnt();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProOnlineMember
|
||||
public String toString() {
|
||||
return "GProOnlineMember{mGuildId='" + this.mGuildId + "', mOnlineMemberInfo=" + this.mOnlineMemberInfo + '}';
|
||||
}
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
package com.tencent.mobileqq.qqguildsdk.data;
|
||||
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.annotation.Nullable;
|
||||
|
||||
import com.tencent.qqnt.kernel.nativeinterface.GProProfileRoomState;
|
||||
|
||||
public class GProProfileRoomStateImpl {
|
||||
|
||||
/* renamed from: a reason: collision with root package name */
|
||||
private final GProProfileRoomState f227588a;
|
||||
|
||||
/* JADX INFO: Access modifiers changed from: package-private */
|
||||
public GProProfileRoomStateImpl(@NonNull GProProfileRoomState gProProfileRoomState) {
|
||||
this.f227588a = gProProfileRoomState;
|
||||
}
|
||||
}
|
@ -0,0 +1,43 @@
|
||||
package com.tencent.mobileqq.qqguildsdk.data;
|
||||
|
||||
import com.tencent.mobileqq.qqguildsdk.data.genc.GGProRecallInfo;
|
||||
import com.tencent.qqnt.kernel.nativeinterface.GProRecallInfo;
|
||||
|
||||
public class GProRecallInfoData extends GGProRecallInfo implements IRecallInfo {
|
||||
private GProRecallInfo mRecallInfo;
|
||||
|
||||
public GProRecallInfoData(GProRecallInfo gProRecallInfo) {
|
||||
super(gProRecallInfo);
|
||||
this.mRecallInfo = gProRecallInfo;
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.genc.GGProRecallInfo, com.tencent.mobileqq.qqguildsdk.data.IRecallInfo
|
||||
public float getQualityScore() {
|
||||
return this.mRecallInfo.getQualityScore();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.genc.GGProRecallInfo, com.tencent.mobileqq.qqguildsdk.data.IRecallInfo
|
||||
public String getQuery() {
|
||||
return this.mRecallInfo.getQuery();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.genc.GGProRecallInfo, com.tencent.mobileqq.qqguildsdk.data.IRecallInfo
|
||||
public String getRecallName() {
|
||||
return this.mRecallInfo.getRecallName();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.genc.GGProRecallInfo, com.tencent.mobileqq.qqguildsdk.data.IRecallInfo
|
||||
public float getRelevanceScore() {
|
||||
return this.mRecallInfo.getRelevanceScore();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.genc.GGProRecallInfo, com.tencent.mobileqq.qqguildsdk.data.IRecallInfo
|
||||
public float getScore() {
|
||||
return this.mRecallInfo.getScore();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.genc.GGProRecallInfo, com.tencent.mobileqq.qqguildsdk.data.IRecallInfo
|
||||
public String getTraceId() {
|
||||
return this.mRecallInfo.getTraceId();
|
||||
}
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package com.tencent.mobileqq.qqguildsdk.data;
|
||||
|
||||
import com.tencent.qqnt.kernel.nativeinterface.GProRole;
|
||||
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
|
||||
public class GProRoleInfo {
|
||||
private final GProRole role;
|
||||
|
||||
public GProRoleInfo(GProRole gProRole) {
|
||||
this.role = gProRole;
|
||||
}
|
||||
}
|
@ -0,0 +1,30 @@
|
||||
package com.tencent.mobileqq.qqguildsdk.data;
|
||||
|
||||
import com.tencent.qqnt.kernel.nativeinterface.GProRoleMemberChangeInfo;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
|
||||
public class GProRoleMemberChange implements Serializable {
|
||||
private final GProRoleMemberChangeInfo mChangeInfo;
|
||||
|
||||
public GProRoleMemberChange(GProRoleMemberChangeInfo gProRoleMemberChangeInfo) {
|
||||
this.mChangeInfo = gProRoleMemberChangeInfo;
|
||||
}
|
||||
|
||||
public List<String> getAddMembers() {
|
||||
return null;
|
||||
//return com.tencent.mobileqq.qqguildsdk.util.b.V0(this.mChangeInfo.getAddMembers());
|
||||
}
|
||||
|
||||
public List<String> getRemoveMembers() {
|
||||
return null;
|
||||
//return com.tencent.mobileqq.qqguildsdk.util.b.V0(this.mChangeInfo.getRemoveMembers());
|
||||
}
|
||||
|
||||
public String getRoleId() {
|
||||
return null;
|
||||
// return com.tencent.mobileqq.qqguildsdk.util.b.U0(this.mChangeInfo.getRoleId());
|
||||
}
|
||||
}
|
@ -0,0 +1,36 @@
|
||||
package com.tencent.mobileqq.qqguildsdk.data;
|
||||
|
||||
import com.tencent.qqnt.kernel.nativeinterface.GProGuildRole;
|
||||
import com.tencent.qqnt.kernel.nativeinterface.GProUser;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
|
||||
public class GProRoleMemberListInfo implements IGProRoleMemberListInfo {
|
||||
public static final String TAG = "GProRoleMemberListInfo";
|
||||
private final GProGuildRoleInfo mRole;
|
||||
private final List<IGProUserInfo> mUserList = new ArrayList();
|
||||
|
||||
public GProRoleMemberListInfo(GProGuildRole gProGuildRole, List<GProUser> list) {
|
||||
this.mRole = new GProGuildRoleInfo(gProGuildRole);
|
||||
for (GProUser gProUser : list) {
|
||||
this.mUserList.add(new GProUserInfo(gProUser));
|
||||
}
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProRoleMemberListInfo
|
||||
public List<IGProUserInfo> getMemberList() {
|
||||
return this.mUserList;
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProRoleMemberListInfo
|
||||
public IGProGuildRoleInfo getRoleInfo() {
|
||||
return this.mRole;
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProRoleMemberListInfo
|
||||
public String toString() {
|
||||
return "GProRoleMemberListInfo{mRole=" + this.mRole + ", mUserListSize=" + this.mUserList.size() + '}';
|
||||
}
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package com.tencent.mobileqq.qqguildsdk.data;
|
||||
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collection;
|
||||
import java.util.List;
|
||||
|
||||
import kotlin.collections.CollectionsKt;
|
||||
import kotlin.jvm.functions.Function1;
|
||||
import kotlin.jvm.internal.DefaultConstructorMarker;
|
||||
import kotlin.jvm.internal.Intrinsics;
|
||||
|
||||
|
||||
public final class GProRolePermission {
|
||||
}
|
@ -0,0 +1,79 @@
|
||||
package com.tencent.mobileqq.qqguildsdk.data;
|
||||
|
||||
import com.tencent.mobileqq.qqguildsdk.data.genc.GGProAudienceInfo;
|
||||
import com.tencent.mobileqq.qqguildsdk.data.genc.IGProAudienceInfo;
|
||||
import com.tencent.qqnt.kernel.nativeinterface.GProAudienceInfo;
|
||||
import com.tencent.qqnt.kernel.nativeinterface.GProRoomInfo;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
import java.util.Iterator;
|
||||
|
||||
public class GProRoom implements IGProRoomInfo {
|
||||
public final GProRoomInfo mInfo;
|
||||
|
||||
public GProRoom(GProRoomInfo gProRoomInfo) {
|
||||
this.mInfo = gProRoomInfo;
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProRoomInfo
|
||||
public ArrayList<IGProAudienceInfo> getAudienceInfo() {
|
||||
ArrayList<GProAudienceInfo> audienceInfos = this.mInfo.getAudienceInfos();
|
||||
ArrayList<IGProAudienceInfo> arrayList = new ArrayList<>();
|
||||
Iterator<GProAudienceInfo> it = audienceInfos.iterator();
|
||||
while (it.hasNext()) {
|
||||
arrayList.add(new GGProAudienceInfo(it.next()));
|
||||
}
|
||||
return arrayList;
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProRoomInfo
|
||||
public int getFakeNum() {
|
||||
return this.mInfo.getViewerExt().getFakeNum();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProRoomInfo
|
||||
public String getProgramId() {
|
||||
return this.mInfo.getProgramId();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProRoomInfo
|
||||
public int getRealNum() {
|
||||
return this.mInfo.getViewerExt().getRealNum();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProRoomInfo
|
||||
public int getRobotNum() {
|
||||
return this.mInfo.getViewerExt().getRebotNum();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProRoomInfo
|
||||
public HashMap<String, String> getRoomIcons() {
|
||||
return this.mInfo.getRoomIcons();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProRoomInfo
|
||||
public long getRoomId() {
|
||||
return this.mInfo.getRoomId();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProRoomInfo
|
||||
public String getRoomName() {
|
||||
return this.mInfo.getRoomName();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProRoomInfo
|
||||
public String getRoomPv() {
|
||||
return this.mInfo.getRoomPv();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProRoomInfo
|
||||
public int getRoomState() {
|
||||
return this.mInfo.getRoomState();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProRoomInfo
|
||||
public long getViewer() {
|
||||
return this.mInfo.getViewer();
|
||||
}
|
||||
}
|
@ -0,0 +1,22 @@
|
||||
package com.tencent.mobileqq.qqguildsdk.data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
|
||||
public class GProScreenShareUserData implements Serializable {
|
||||
private int state;
|
||||
private long tinyId;
|
||||
|
||||
public GProScreenShareUserData(long j2, int i2) {
|
||||
this.tinyId = j2;
|
||||
this.state = i2;
|
||||
}
|
||||
|
||||
public int getScreenState() {
|
||||
return this.state;
|
||||
}
|
||||
|
||||
public long getTinyId() {
|
||||
return this.tinyId;
|
||||
}
|
||||
}
|
@ -0,0 +1,47 @@
|
||||
package com.tencent.mobileqq.qqguildsdk.data;
|
||||
|
||||
import androidx.annotation.NonNull;
|
||||
|
||||
import com.tencent.mobileqq.qqguildsdk.data.genc.GGProSecurityResult;
|
||||
import com.tencent.qqnt.kernel.nativeinterface.GProSecurityResult;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
|
||||
public class GProSecurityInfo extends GGProSecurityResult implements IGProSecurityResult, Serializable {
|
||||
private final GProSecurityResult result;
|
||||
|
||||
public GProSecurityInfo(GProSecurityResult gProSecurityResult) {
|
||||
super(gProSecurityResult);
|
||||
this.result = gProSecurityResult;
|
||||
}
|
||||
|
||||
public static GProSecurityInfo createDefault() {
|
||||
return new GProSecurityInfo(new GProSecurityResult(true, 0L, "", ""));
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.genc.GGProSecurityResult, com.tencent.mobileqq.qqguildsdk.data.IGProSecurityResult
|
||||
public long getActionCode() {
|
||||
return this.result.getActionCode();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.genc.GGProSecurityResult, com.tencent.mobileqq.qqguildsdk.data.IGProSecurityResult
|
||||
public String getStrDetail() {
|
||||
return this.result.getStrDetail();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.genc.GGProSecurityResult, com.tencent.mobileqq.qqguildsdk.data.IGProSecurityResult
|
||||
public String getStrPrompt() {
|
||||
return this.result.getStrPrompt();
|
||||
}
|
||||
|
||||
public boolean isValid() {
|
||||
return this.result.getIsValidSecResult();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.genc.GGProSecurityResult
|
||||
@NonNull
|
||||
public String toString() {
|
||||
return "{code=" + getActionCode() + ", prompt=" + getStrPrompt() + ", detail=" + getStrDetail() + "}";
|
||||
}
|
||||
}
|
@ -0,0 +1,33 @@
|
||||
package com.tencent.mobileqq.qqguildsdk.data;
|
||||
|
||||
import com.tencent.qqnt.kernel.nativeinterface.GProTopMsg;
|
||||
|
||||
|
||||
public class GProTopMsgInfo implements IGProTopMsg {
|
||||
public GProTopMsg mInfo;
|
||||
|
||||
public GProTopMsgInfo(GProTopMsg gProTopMsg) {
|
||||
this.mInfo = gProTopMsg;
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProTopMsg
|
||||
public long getTopMsgOperatorTinyId() {
|
||||
return this.mInfo.getTopMsgOperatorTinyId();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProTopMsg
|
||||
public long getTopMsgSeq() {
|
||||
return this.mInfo.getTopMsgSeq();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProTopMsg
|
||||
public long getTopMsgTime() {
|
||||
return this.mInfo.getTopMsgTime();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProTopMsg
|
||||
public int getTopMsgType() {
|
||||
//return this.mInfo.getTopMsgType();
|
||||
return 0;
|
||||
}
|
||||
}
|
@ -0,0 +1,43 @@
|
||||
package com.tencent.mobileqq.qqguildsdk.data;
|
||||
|
||||
import com.tencent.mobileqq.qqguildsdk.data.genc.GGProSpeakTimeCtl;
|
||||
import com.tencent.mobileqq.qqguildsdk.data.genc.IGProSpeakTimeCtl;
|
||||
import com.tencent.qqnt.kernel.nativeinterface.GProUserAVInfo;
|
||||
|
||||
public class GProUserAVData implements IGProUserAVData {
|
||||
private GProUserAVInfo mUserAVInfo;
|
||||
|
||||
public GProUserAVData(GProUserAVInfo gProUserAVInfo) {
|
||||
this.mUserAVInfo = gProUserAVInfo;
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProUserAVData
|
||||
public IGProSpeakTimeCtl getSpeakTimeCtl() {
|
||||
return new GGProSpeakTimeCtl(this.mUserAVInfo.getSpeakTimeCtl());
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProUserAVData
|
||||
public int getUserAVState() {
|
||||
return this.mUserAVInfo.getUserAVState();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProUserAVData
|
||||
public IGProUserDevStateData getUserDevState() {
|
||||
return new GProUserDevStateData(this.mUserAVInfo.getUserDevState());
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProUserAVData
|
||||
public boolean isUserHandUp() {
|
||||
return this.mUserAVInfo.getUserIsHandUp();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProUserAVData
|
||||
public boolean isUserInSpeakQueue() {
|
||||
return this.mUserAVInfo.getUserInSpeakQueue();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProUserAVData
|
||||
public void setUserAVState(int i2) {
|
||||
this.mUserAVInfo.setUserAVState(i2);
|
||||
}
|
||||
}
|
@ -0,0 +1,53 @@
|
||||
package com.tencent.mobileqq.qqguildsdk.data;
|
||||
|
||||
import com.tencent.qqnt.kernel.nativeinterface.GProUserChannelState;
|
||||
|
||||
|
||||
public class GProUserChannelStateInfo implements IGProUserChannelStateInfo {
|
||||
public final GProUserChannelState mInfo;
|
||||
public int mUserState;
|
||||
|
||||
public GProUserChannelStateInfo(GProUserChannelState gProUserChannelState) {
|
||||
gProUserChannelState = gProUserChannelState == null ? new GProUserChannelState(0L, 0L, 0L, 0L, 2, 1) : gProUserChannelState;
|
||||
this.mInfo = gProUserChannelState;
|
||||
this.mUserState = gProUserChannelState.getUserState();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProUserChannelStateInfo
|
||||
public long getChannelId() {
|
||||
return this.mInfo.getChannelId();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProUserChannelStateInfo
|
||||
public long getGuildId() {
|
||||
return this.mInfo.getGuildId();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProUserChannelStateInfo
|
||||
public int getPlatform() {
|
||||
return this.mInfo.getPlatform();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProUserChannelStateInfo
|
||||
public long getTinyId() {
|
||||
return this.mInfo.getTinyId();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProUserChannelStateInfo
|
||||
public int getUserState() {
|
||||
return this.mUserState;
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProUserChannelStateInfo
|
||||
public long getUserStateSeq() {
|
||||
return this.mInfo.getUserStateSeq();
|
||||
}
|
||||
|
||||
public void setUserState(int i2) {
|
||||
this.mUserState = i2;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "GProUserChannelStateInfo{tinyId=" + getTinyId() + "guildId=" + getGuildId() + "channelId=" + getChannelId() + "userStateSeq=" + getUserStateSeq() + "userState=" + getUserState() + "platform=" + getPlatform() + '}';
|
||||
}
|
||||
}
|
@ -0,0 +1,61 @@
|
||||
package com.tencent.mobileqq.qqguildsdk.data;
|
||||
|
||||
import com.tencent.qqnt.kernel.nativeinterface.GProUserDevState;
|
||||
|
||||
public class GProUserDevStateData implements IGProUserDevStateData {
|
||||
private GProUserDevState mUserDevState;
|
||||
|
||||
public GProUserDevStateData(GProUserDevState gProUserDevState) {
|
||||
this.mUserDevState = gProUserDevState;
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProUserDevStateData
|
||||
public int getCameraState() {
|
||||
return this.mUserDevState.getCameraState();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProUserDevStateData
|
||||
public int getMicState() {
|
||||
return this.mUserDevState.getMicState();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProUserDevStateData
|
||||
public int getNetworkQuality() {
|
||||
return this.mUserDevState.getNetworkQuality();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProUserDevStateData
|
||||
public int getScreenState() {
|
||||
return this.mUserDevState.getScreenState();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProUserDevStateData
|
||||
public int getSysMicBusy() {
|
||||
return this.mUserDevState.getSysMicBusy();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProUserDevStateData
|
||||
public void setCameraState(int i2) {
|
||||
this.mUserDevState.setCameraState(i2);
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProUserDevStateData
|
||||
public void setMicState(int i2) {
|
||||
this.mUserDevState.setMicState(i2);
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProUserDevStateData
|
||||
public void setNetworkQuality(int i2) {
|
||||
this.mUserDevState.setNetworkQuality(i2);
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProUserDevStateData
|
||||
public void setScreenState(int i2) {
|
||||
this.mUserDevState.setScreenState(i2);
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProUserDevStateData
|
||||
public void setSysMicBusy(int i2) {
|
||||
this.mUserDevState.setSysMicBusy(i2);
|
||||
}
|
||||
}
|
@ -0,0 +1,255 @@
|
||||
package com.tencent.mobileqq.qqguildsdk.data;
|
||||
|
||||
import android.text.TextUtils;
|
||||
|
||||
import com.tencent.mobileqq.qqguildsdk.data.genc.GGProRoleManagementTag;
|
||||
import com.tencent.mobileqq.qqguildsdk.data.genc.GGProVoiceInfo;
|
||||
import com.tencent.mobileqq.qqguildsdk.data.genc.IGProRoleManagementTag;
|
||||
import com.tencent.mobileqq.qqguildsdk.data.genc.IGProVoiceInfo;
|
||||
import com.tencent.qqnt.kernel.nativeinterface.GProMedal;
|
||||
import com.tencent.qqnt.kernel.nativeinterface.GProRoleManagementTag;
|
||||
import com.tencent.qqnt.kernel.nativeinterface.GProUser;
|
||||
import com.tencent.qqnt.kernel.nativeinterface.GProVoiceInfo;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Iterator;
|
||||
|
||||
|
||||
public class GProUserInfo implements IGProUserInfo {
|
||||
private GProUser mUser;
|
||||
private String tinyId;
|
||||
|
||||
public GProUserInfo(GProUser gProUser) {
|
||||
this.mUser = gProUser;
|
||||
//this.tinyId = com.tencent.mobileqq.qqguildsdk.util.b.U0(gProUser.getTinyId());
|
||||
}
|
||||
|
||||
private void a(String str) {
|
||||
this.mUser.setMemberName(str);
|
||||
}
|
||||
|
||||
private void b(int i2) {
|
||||
this.mUser.setRobotType(i2);
|
||||
}
|
||||
|
||||
private void c(long j2) {
|
||||
this.mUser.setJoinTime(j2);
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProUserInfo
|
||||
public int getAllowScreenShare() {
|
||||
return this.mUser.getAllowScreenShare();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProUserInfo
|
||||
public String getAvatarMeta() {
|
||||
return this.mUser.getAvatarMeta();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProUserInfo
|
||||
public String getAvatarPendant() {
|
||||
return this.mUser.getAvatarPendant();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProUserInfo
|
||||
public IGProBusinessData getBusinessInfo() {
|
||||
return new GProBusinessData(this.mUser.getBusinessInfo());
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProUserInfo
|
||||
public IGProClientIdentityInfo getClientIdentity() {
|
||||
return new GProClientIdentityInfo(this.mUser.getClientIdentity());
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProUserInfo
|
||||
public IGProClientPresenceInfo getClientPresence() {
|
||||
return new GProClientPresenceInfo(this.mUser.getClientPresence());
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProUserInfo
|
||||
public String getDisplayName() {
|
||||
if (!TextUtils.isEmpty(getMemberName())) {
|
||||
return getMemberName();
|
||||
}
|
||||
return getNickName();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProUserInfo
|
||||
public IGProVoiceInfo getGProVoiceInfo() {
|
||||
if (this.mUser.getVoiceInfo() == null) {
|
||||
return new GGProVoiceInfo(new GProVoiceInfo(0, 2, "", 0L, 0L));
|
||||
}
|
||||
return new GGProVoiceInfo(this.mUser.getVoiceInfo());
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProUserInfo
|
||||
public int getGender() {
|
||||
return this.mUser.getGender();
|
||||
}
|
||||
|
||||
public String getGuildId() {
|
||||
//return com.tencent.mobileqq.qqguildsdk.util.b.U0(this.mUser.getGuildId());
|
||||
return "";
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProUserInfo
|
||||
public int getLevelRoleId() {
|
||||
return this.mUser.getLevelRoleId();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProUserInfo
|
||||
public String getMemberName() {
|
||||
return this.mUser.getMemberName();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProUserInfo
|
||||
public ArrayList<Integer> getMyRoles() {
|
||||
return this.mUser.getMyRoles();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProUserInfo
|
||||
public String getNickName() {
|
||||
return this.mUser.getNickName();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProUserInfo
|
||||
public int getPlatform() {
|
||||
return this.mUser.getPlatform();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProUserInfo
|
||||
public int getRobotMuteStatus() {
|
||||
return this.mUser.getRobotMuteStatus();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProUserInfo
|
||||
public int getRobotPunishmentStatus() {
|
||||
return this.mUser.getRobotPunishmentStatus();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProUserInfo
|
||||
public String getRobotTestGuilds() {
|
||||
return this.mUser.getRobotTestGuilds();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProUserInfo
|
||||
public int getRobotType() {
|
||||
return this.mUser.getRobotType();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProUserInfo
|
||||
public IGProRoleManagementTag getRoleManagementTag() {
|
||||
return new GGProRoleManagementTag(this.mUser.getRoleManagementTag());
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProUserInfo
|
||||
public long getShutUpExpireTime() {
|
||||
return this.mUser.getShutUpExpireTime();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProUserInfo
|
||||
public String getTinyId() {
|
||||
return this.tinyId;
|
||||
}
|
||||
|
||||
public GProUser getUser() {
|
||||
return this.mUser;
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProUserInfo
|
||||
public long getUserJoinTime() {
|
||||
return this.mUser.getJoinTime();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProUserInfo
|
||||
public int getUserOnlineState() {
|
||||
return this.mUser.getOnlineState();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProUserInfo
|
||||
public int getUserType() {
|
||||
return this.mUser.getType();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProUserInfo
|
||||
public boolean isMuteSeat() {
|
||||
return this.mUser.getGuildMute();
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProUserInfo
|
||||
public boolean isVisitorRole() {
|
||||
if (this.mUser.getMyRoles() == null || this.mUser.getMyRoles().isEmpty()) {
|
||||
return false;
|
||||
}
|
||||
Iterator<Integer> it = this.mUser.getMyRoles().iterator();
|
||||
while (it.hasNext()) {
|
||||
if (it.next().intValue() == 6) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProUserInfo
|
||||
public boolean isVoiceless() {
|
||||
return this.mUser.getInBlack();
|
||||
}
|
||||
|
||||
public void setGProVoiceInfo(IGProVoiceInfo iGProVoiceInfo) {
|
||||
GProVoiceInfo gProVoiceInfo;
|
||||
if (iGProVoiceInfo == null) {
|
||||
gProVoiceInfo = new GProVoiceInfo(0, 2, "", 0L, 0L);
|
||||
} else {
|
||||
gProVoiceInfo = new GProVoiceInfo(iGProVoiceInfo.getVoiceState(), iGProVoiceInfo.getScreenState(), iGProVoiceInfo.getScreenPic(), iGProVoiceInfo.getScreenUpdateTime(), iGProVoiceInfo.getScreenShareTinyId());
|
||||
}
|
||||
this.mUser.setVoiceInfo(gProVoiceInfo);
|
||||
}
|
||||
|
||||
public void setNickName(String str) {
|
||||
this.mUser.setNickName(str);
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProUserInfo
|
||||
public void setRoleManagementTag(long j2, String str, long j3) {
|
||||
this.mUser.setRoleManagementTag(new GProRoleManagementTag(j2, str, j3));
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProUserInfo
|
||||
public void setShutUpExpireTime(long j2) {
|
||||
this.mUser.setShutUpExpireTime(j2);
|
||||
}
|
||||
|
||||
@Override // com.tencent.mobileqq.qqguildsdk.data.IGProUserInfo
|
||||
public void setUserType(int i2) {
|
||||
this.mUser.setType(i2);
|
||||
}
|
||||
|
||||
public void setVoiceless(boolean z) {
|
||||
this.mUser.setInBlack(z);
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
StringBuffer stringBuffer = new StringBuffer("GProUserInfo{");
|
||||
stringBuffer.append("mUser=");
|
||||
stringBuffer.append(this.mUser);
|
||||
stringBuffer.append(", tinyId='");
|
||||
stringBuffer.append(this.tinyId);
|
||||
stringBuffer.append('\'');
|
||||
stringBuffer.append('}');
|
||||
return stringBuffer.toString();
|
||||
}
|
||||
|
||||
public GProUserInfo reflash(IGProUserInfo iGProUserInfo) {
|
||||
setNickName(iGProUserInfo.getNickName());
|
||||
a(iGProUserInfo.getMemberName());
|
||||
b(iGProUserInfo.getRobotType());
|
||||
c(iGProUserInfo.getUserJoinTime());
|
||||
setUserType(iGProUserInfo.getUserType());
|
||||
return this;
|
||||
}
|
||||
|
||||
public GProUserInfo reflash(GProUser gProUser) {
|
||||
this.mUser = gProUser;
|
||||
return this;
|
||||
}
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user